Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPDATEWorker does not initialize #174

Closed
liss-h opened this issue Sep 12, 2022 · 0 comments · Fixed by #184
Closed

UPDATEWorker does not initialize #174

liss-h opened this issue Sep 12, 2022 · 0 comments · Fixed by #184
Labels

Comments

@liss-h
Copy link

liss-h commented Sep 12, 2022

The UPDATEWorker does not initialize properly.

Error message:

[main] INFO [org.aksw.iguana.cc.config.IguanaConfig] - <Executing Task [1/null: swdf, tentris, Stresstest]>
[main] INFO [org.aksw.iguana.cc.query.impl.InstancesQueryHandler] - <[QueryHandler: {org.aksw.iguana.cc.query.impl.InstancesQueryHandler}] Uses UPDATE file as Updates Per Line file.>
[main] INFO [org.aksw.iguana.cc.query.impl.InstancesQueryHandler] - <[QueryHandler: {org.aksw.iguana.cc.query.impl.InstancesQueryHandler}] Queries will now be instantiated>
[main] INFO [org.aksw.iguana.cc.query.impl.InstancesQueryHandler] - <[QueryHandler: {org.aksw.iguana.cc.query.impl.InstancesQueryHandler}] Finished instantiation of queries>
Exception in thread "main" java.lang.NullPointerException: Cannot read the array length because "<local3>" is null
	at org.aksw.iguana.cc.query.impl.InstancesQueryHandler.generateTripleStats(InstancesQueryHandler.java:178)
	at org.aksw.iguana.cc.tasks.impl.Stresstest.init(Stresstest.java:190)
	at org.aksw.iguana.cc.tasks.TaskManager.startTask(TaskManager.java:36)
	at org.aksw.iguana.cc.controller.TaskController.startTask(TaskController.java:40)
	at org.aksw.iguana.cc.config.IguanaConfig.start(IguanaConfig.java:99)
	at org.aksw.iguana.cc.config.ConfigManager.startConfig(ConfigManager.java:45)
	at org.aksw.iguana.cc.config.ConfigManager.receiveData(ConfigManager.java:35)
	at org.aksw.iguana.cc.controller.MainController.start(MainController.java:61)
	at org.aksw.iguana.cc.controller.MainController.main(MainController.java:45)

example suite to reproduce (irrelevant parts are replaced by ... and the same suite does not fail to initialize with HttpPostWorker):

...
tasks:
  - className: "Stresstest"
    configuration:
      noOfQueryMixes: 1
      queryHandler:
        className: "InstancesQueryHandler"
      workers:
        - threads: 1
          className: "UPDATEWorker"
          queriesFile: ./queries.txt
...
@liss-h liss-h added the bug label Sep 12, 2022
@bigerl bigerl linked a pull request Mar 8, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants