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

NullPointerException crash on startup #6

Open
alexchandel opened this issue Nov 4, 2017 · 1 comment
Open

NullPointerException crash on startup #6

alexchandel opened this issue Nov 4, 2017 · 1 comment

Comments

@alexchandel
Copy link

Seems like it's caused by getDate() in getLegendsXML().

00:00  INFO: Uristmaps 0.3.3
Exception in thread "main" java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.simontuffs.onejar.Boot.run(Boot.java:342)
	at com.simontuffs.onejar.Boot.main(Boot.java:168)
Caused by: java.lang.NullPointerException
	at org.uristmaps.util.ExportFiles.getDate(ExportFiles.java:48)
	at org.uristmaps.util.ExportFiles.getLegendsXML(ExportFiles.java:70)
	at org.uristmaps.Uristmaps.main(Uristmaps.java:81)
	... 6 more
@7ff04da4aa6ac37197e249299066ac30
Copy link

7ff04da4aa6ac37197e249299066ac30 commented Apr 20, 2023

You ever got this to work? Facing this right now

EDIT: nevermind, it was just a formatting error on my part (though I do think it's stupid). On the "export" line in the config.cfg, I passed the path as "foo/bar" instead of "foo/bar/". Reporting this here in case someone else comes across this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants