back to forum.

Topic: Error on start up DC

Topic by
timoshinm

2012-01-23
12:21

Error on start up DC

Hello.

I set chekbox in field "Enable HTTP Proxy?", but I did not fill other proxy-related fields. And now DC can't start up, since it causes an error.

Help me, please.

Thank you.

Reply by
kasper

2012-01-23
13:43
Hi,

Can you let us know what error message you get?

To reset your settings, you can delete (or rename) the userpreferences.dat file which resides in your DataCleaner directory. Then your settings will be reset to defaults.

Reply by
timoshinm

2012-01-23
14:40
Kasper,

thank you for quickly response. So, here is exception description:

com.google.inject.ProvisionException: Guice provision errors:

1) Error in custom provider, java.lang.IllegalArgumentException: Host name may not be null
at org.eobjects.datacleaner.guice.DCModule.getHttpClient(DCModule.java:305)
while locating org.apache.http.client.HttpClient

1 error
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
at org.eobjects.datacleaner.bootstrap.Bootstrap.run(Bootstrap.java:178)
at org.eobjects.datacleaner.Main.main(Main.java:47)
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 com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalArgumentException: Host name may not be null



I got you method of solution before, but it is bad method. Because I lose all string patterns, datastore's and dictionary's connections, etc..
In general, in my opinion, using proprietary binary file for save user's pref..s in OSS is not good idea.

Regards,
Michael.

Reply by
kasper

2012-01-23
15:13
Well technically speaking it is not a proprietary format, but Java's serialized object format. I will check your exception, 2 mins.

Reply by
kasper

2012-01-23
15:20
OK I've identified the issue and fixed it. But unfortunately you are out of luck timing-wise, because we are right now doing a release, so the fix cannot make it in there. So for now I guess you need to live with the workaround. Or build an unreleased version from the source code and modify your userpreferences using that version.

Reply by
timoshinm

2012-01-23
15:48
Thank you, Kasper.

I saw you roadmap in trac, but I did not find deadline of next release (probably 2.4.2).

Reply by
timoshinm

2012-01-23
16:10
Kasper,

you already post newest realese. It so quickly!

High regards.

Reply by
kasper

2012-01-23
17:01
ah well, unless a lot of third party contributors are involved, we tend to just post maintenance releases whenever they are ready. Since 2.4.2 did not contain groundbreaking news, but mostly bugfixes, we release as soon as it's passed QA and is ready.

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.