Thread Locked This thread is locked - replies are not allowed.


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


Permlink Replies: 3 - Pages: 1 - Last Post: 29 Nov 23, 16:39 Last Post By: Adda
Adda

Posts: 6
Registered: 21-Feb-2006
Error when creating
Posted: 28 Nov 23, 09:20
 
When creating a page www.dfotos.de with the plain skin, I get the following error message. Note: There are many images that need to be processed and integrated. I have had error messages before. As a result, I had JPG files created instead of WebP files. Then the creation worked. And now I'm getting an error message again.

Stack trace for jAlbum 33.1 using skin Plain 2.5.1:

se.datadosen.util.ScriptException: <eval>:170 TypeError: Cannot read property "length" from undefined in Newimages.inc at line number 1
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:99)
at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
at se.datadosen.jalbum.ast.IncludeNode.doEval(IncludeNode.java:89)
at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.ast.GroupNode.doEval(GroupNode.java:78)
at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.AST.eval(AST.java:75)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1667)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1660)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1942)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3745)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3583)
at se.datadosen.jalbum.JAlbumFrame$7.run(JAlbumFrame.java:1190)
Caused by: javax.script.ScriptException: TypeError: Cannot read property "length" from undefined in <eval> at line number 170
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:463)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:447)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine$1.eval(NashornScriptEngine.java:503)
at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:67)
... 13 more
Caused by: <eval>:170 TypeError: Cannot read property "length" from undefined
at org.openjdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:212)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:184)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:171)
at org.openjdk.nashorn.internal.runtime.Undefined.get(Undefined.java:161)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$72$1964D$\^eval\_.writeOutThumbnails#getThumbnails(<eval>:170)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$71$1815$\^eval\_.writeOutThumbnails(<eval>:185)
at org.openjdk.nashorn.internal.scripts.Script$69$\^eval\_.:program(<eval>:270)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:513)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:520)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:442)
... 16 more
Adda

Posts: 6
Registered: 21-Feb-2006
Re: Error when creating
Posted: 28 Nov 23, 09:39   in response to: Adda in response to: Adda
 
After I deleted the files "albumfiles.txt" and ".info " in the last added picture folder, the album could be created again. Is there an explanation for this?
With best regards
Andreas

PS: The Plain skin is the one that works best on smartphones so far. I love it!
Laza

Posts: 1,403
Registered: 6-Sep-2005
Re: Error when creating
Posted: 28 Nov 23, 10:38   in response to: Adda in response to: Adda
 
Thanks for reporting! It seems I screwed the Newimages page lately. The fix is on the way.
Adda

Posts: 6
Registered: 21-Feb-2006
Re: Error when creating
Posted: 29 Nov 23, 16:39   in response to: Laza in response to: Laza
 
Thank you for the correction!
I no longer have an error message and the NewPictures page works.
Thank you very much for the quick correction. Now the navigation works again!
Legend
Forum admins
Helpful Answer
Correct Answer

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