back to forum.

Topic: Java issue with dictionaries?

Topic by
chiaochi

2011-03-23
20:49

Java issue with dictionaries?

I'm getting the following error every time I run a saved analysis job after closing and reopening DataCleaner 2.0.2. To fix it, I had to "edit" each of my dictionaries and click on "save dictionary". An idea how to fix this?

Thanks,

George

----

--- DataCleaner progress information user-log ---
INFO: Job begin (4:36:10 PM EDT)
ERROR: An error occurred in the analysis job!
java.lang.IllegalStateException: Could not invoke initializing method public void org.eobjects.analyzer.reference.DatastoreDictionary.init()
at org.eobjects.analyzer.descriptors.InitializeMethodDescriptorImpl.initialize(InitializeMethodDescriptorImpl.java:47)
at org.eobjects.analyzer.lifecycle.InitializeCallback.onEvent(InitializeCallback.java:35)
at org.eobjects.analyzer.job.tasks.InitializeReferenceDataTask.execute(InitializeReferenceDataTask.java:48)
at org.eobjects.analyzer.job.concurrent.TaskRunnable.run(TaskRunnable.java:63)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eobjects.analyzer.descriptors.InitializeMethodDescriptorImpl.initialize(InitializeMethodDescriptorImpl.java:45)
... 6 more
Caused by: java.lang.NullPointerException
at org.eobjects.analyzer.reference.DatastoreDictionary.getDatastore(DatastoreDictionary.java:102)
at org.eobjects.analyzer.reference.DatastoreDictionary.init(DatastoreDictionary.java:83)
... 11 more

Reply by
kasper

2011-03-24
07:52
Hi George,

Thanks for noticing this and telling us about it. I just checked what was going on and I'm afraid you've discovered a bug for us here. For now I can only say that you have the right workaround, although it might be a bit ackward: To edit and save the dictionary.

I've posted a an issue with the highest priority, so it is definately something that we will look into fixing for the next release.

But thank you for posting, that's very valuable!

Reply by
chiaochi

2011-04-01
00:33
Hi Kasper,

I see that this issue is closed! Just want to know when is the next release coming out. Sorry I don't mean to sound pushy, it's just that I'm using DataCleaner for a system migration and I think that bug is affecting some of my larger dataset's check.

Alternatively is there a quick fix I can use to just fix that error (like changing the code)? I really appreciate your help and would love to help out with documentation after my project is done.

Thank you,

George

Reply by
kasper

2011-04-01
06:09
Hi George,

I understand how you feel and I also believe in short release cycles so that we don't hold anything from the users that is already done!

I expect a release in the beginning of next week. Currently only some finalizing checks and release announcements is to be done.

Reply by
chiaochi

2011-04-01
15:03
That's great news, Kasper. I will keep an eye on the new release. Have a great weekend! George

Reply by
kasper

2011-04-04
07:34
It is out now! :-)

Reply by
chiaochi

2011-04-04
13:32
Hooray! Thank you so much, Kasper. I can't wait to test it.

You need to be logged in to participate

In order to post your own comments on this topic, you need to be logged in.

Username:

Log in by clicking the login link at the top of the screen

 

Go back to forum.