This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Pages: 1 - Last Post: 14-Nov-2020 13:43 Last Post By: PhilippeCharles Threads: [ Previous | Next ]
PhilippeCharles

Posts: 94
Registered: 8-Dec-2012
Projector - Bug report - Exception when saving the project
Posted: 13-Nov-2020 22:19
 
  Click to reply to this thread Reply
Hello Laza,
Here is the detail of the exception when saving, after having edited the "contact" page:

Stack trace for jAlbum 22 using skin Projector 2.2.1:

se.datadosen.util.ScriptException: C:\Users\Admin\AppData\Roaming\JAlbum\skins\Projector\finally.js:8 ReferenceError: "removeSitemap" is not defined in finally.js at line number 8
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2570)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2874)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2766)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1127)
Caused by: javax.script.ScriptException: ReferenceError: "removeSitemap" is not defined in C:\Users\Admin\AppData\Roaming\JAlbum\skins\Projector\finally.js at line number 8
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.eval(Unknown Source)
at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:2627)
at se.datadosen.jalbum.AlbumBean.processExpression(AlbumBean.java:2612)
at se.datadosen.jalbum.AlbumBean.processScript(AlbumBean.java:2568)
... 3 more
Caused by: C:\Users\Admin\AppData\Roaming\JAlbum\skins\Projector\finally.js:8 ReferenceError: "removeSitemap" is not defined
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.error(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.referenceError(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ECMAErrors.referenceError(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.objects.Global.__noSuchProperty__(Unknown Source)
at jdk.scripting.nashorn.scripts/jdk.nashorn.internal.scripts.Script$115$finally/0x0000000800ff5c40.:program(C:\Users\Admin\AppData\Roaming\JAlbum\skins\Projector\finally.js:8)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunctionData.invoke(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptFunction.invoke(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.ScriptRuntime.apply(Unknown Source)
... 11 more
Laza

Posts: 2,546
Registered: 6-Sep-2005
Re: Projector - Exception when saving the project
Posted: 14-Nov-2020 10:03   in response to: PhilippeCharles in response to: PhilippeCharles
 
  Click to reply to this thread Reply
Did you try making the album again?

This error seems to me a memory overrun, when jAlbum dumps a code component (util.js) which was present in an earlier stage of Make.
PhilippeCharles

Posts: 94
Registered: 8-Dec-2012
Re: Projector - Exception when saving the project
Posted: 14-Nov-2020 10:07   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
Thanks Laza for the quick response.
Yes indeed I could rebuild the album after exiting, without loosing data.
But this is the first time I get this type of exception when using jAlbum since 8 years ;-).
Legend
Forum admins
Helpful Answer
Correct Answer

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