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

JSON issue when repopulating name storage during startup #74

Closed
catbref opened this issue Dec 8, 2017 · 2 comments
Closed

JSON issue when repopulating name storage during startup #74

catbref opened this issue Dec 8, 2017 · 2 comments

Comments

@catbref
Copy link
Collaborator

catbref commented Dec 8, 2017

On a second start, the program would not visibly run (it would run in a background for a few minutes (and be seen in a program manager) and would dissapear completely after that)

The log file: "STARTUP ERROR: org.json.simple.JSONObject cannot be cast to java.lang.String
... ERROR Start:37 - log4j.properties not found, search path is C:\Program Files\Qora\log4j.properties using default!"
Starting Qora / version: 0.26.2.1 / build date: 2017-11-06 / ...
...INFO  NTP:30 - Adjusting time with 860 milliseconds.
...ERROR Start:114 - org.json.simple.JSONObject cannot be cast to java.lang.String
java.lang.ClassCastException: org.json.simple.JSONObject cannot be cast to java.lang.String
   at utils.StorageUtils.getKeys(StorageUtils.java:288)
   at utils.StorageUtils.getAllKeysForOrphanSaving(StorageUtils.java:276)
   at utils.StorageUtils.processUpdate(StorageUtils.java:136)
   at utils.UpdateUtil.repopulateNameStorage(UpdateUtil.java:42)
   at controller.Controller.start(Controller.java:342)
   at Start.main(Start.java:99)
   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.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:58)"
@catbref
Copy link
Collaborator Author

catbref commented Dec 15, 2017

Still occasionally happens even after upgrade from v0.26.2.1 to v0.26.3.
Looking for a copy of broken database to find out why.

catbref added a commit that referenced this issue Dec 17, 2017
@catbref
Copy link
Collaborator Author

catbref commented Jan 9, 2018

fixed with commit referenced above

@catbref catbref closed this as completed Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant