This question is answered.


Permlink Replies: 2 - Pages: 1 - Last Post: 24-Oct-2017 18:10 Last Post By: jGromit Threads: [ Previous | Next ]
jGromit

Posts: 33,206
Registered: 31-Jan-2006
Lifeboat creation in command line mode
Posted: 24-Oct-2017 00:57
 
  Click to reply to this thread Reply
With the ability to create a lifeboat.zip file upon album creation (jAlbum 14.2b5), I'm getting an error when using command line mode:
java.lang.NullPointerException
        at se.datadosen.jalbum.RecoveryTool.createLifeboat(RecoveryTool.java:32)
        at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2652)
        at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2566)
        at se.datadosen.jalbum.JAlbumConsole.<init>(JAlbumConsole.java:98)
        at se.datadosen.jalbum.JAlbum.main(JAlbum.java:319)
        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 se.datadosen.jalbum.Main.main(Main.java:44)
The lifeboat.zip file is empty.

No console error from within the app.
davidekholm

Posts: 21,489
Registered: 18-Oct-2002
Re: Lifeboat creation in command line mode
Posted: 24-Oct-2017 16:42   in response to: jGromit in response to: jGromit
Correct
  Click to reply to this thread Reply
Good that you spotted that error jGromit. Now fixed.
jGromit

Posts: 33,206
Registered: 31-Jan-2006
Re: Lifeboat creation in command line mode
Posted: 24-Oct-2017 16:48   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Purely a lucky accident. I was checking command line mode to make sure it was correctly handling the JDraggableList stuff from the headless settings (it does). This error just happened to pop up!

Edit: Confirmed fixed in 14.2b6.
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums