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


Permlink Replies: 8 - Pages: 1 - Last Post: 25 Feb 21, 17:05 Last Post By: JeffTucker
FotoRab

Posts: 1
Registered: 23-Oct-2020
error by creating album
Posted: 23 Feb 21, 22:01
 
  Click to reply to this thread Reply
Stack trace for jAlbum 23.2.4 using skin PhotoBlogger 3.12.3:

se.datadosen.util.ScriptException: <eval>:87 ReferenceError: "defaultFolderIcon" is not defined in content.inc at line number 5
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.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.IncludeNode.doEval(IncludeNode.java:92)
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.EnterNode.doEval(EnterNode.java:23)
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.makeIndexPages(AlbumBean.java:3360)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1593)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2919)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2831)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1130)
Caused by: javax.script.ScriptException: ReferenceError: "defaultFolderIcon" is not defined in <eval> at line number 87
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$3.eval(Unknown Source)
at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:60)
... 15 more
Caused by: <eval>:87 ReferenceError: "defaultFolderIcon" 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$107$\^eval\_.:program(<eval>:87)
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)
... 19 more
RobM

Posts: 3,430
Registered: 4-Aug-2006
Re: error by creating album
Posted: 23 Feb 21, 22:28   in response to: FotoRab in response to: FotoRab
 
  Click to reply to this thread Reply
Moved to the Bugs forum as it is a core problem, not a skin issue. Until an update is made, probably soon, you could change Settings/Advanced/Use thumbnail for folder icon to enabled.
JeffTucker

Posts: 7,563
Registered: 31-Jan-2006
Re: error by creating album
Posted: 23 Feb 21, 22:48   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
No, this error occurs only in Photoblogger. Moving the thread back to that section.

ETA: It doesn't happen in Photoblogger 3.12. It happens only in versions beyond that. It happens only if no representing image is chosen for folders.
RobM

Posts: 3,430
Registered: 4-Aug-2006
Re: error by creating album
Posted: 24 Feb 21, 00:14   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
JeffTucker wrote:
No, this error occurs only in Photoblogger. Moving the thread back to that section.
Ah, I thought this was just another missing icon issue, should have tried it with another skin. Getting lazy as well as old!
JeffTucker

Posts: 7,563
Registered: 31-Jan-2006
Re: error by creating album
Posted: 24 Feb 21, 00:22   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I usually use the Uncle Leo Defense: "I'm an old man! I'm confused!!"
JeffTucker

Posts: 7,563
Registered: 31-Jan-2006
Re: error by creating album
Posted: 25 Feb 21, 14:28   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
This is still occurring in Photoblogger 3.13.
Laza

Posts: 2,817
Registered: 6-Sep-2005
Re: error by creating album
Posted: 25 Feb 21, 16:34   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
You might need to update the custom page to get rid of this error.
JeffTucker

Posts: 7,563
Registered: 31-Jan-2006
Re: error by creating album
Posted: 25 Feb 21, 17:01   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I get this error when I create an album with two folders, a couple of images in each, but no representing thumbnail for the folders. No other pages at all.

ETA: But now, not! Got it about two hours ago. I'll need to explore a bit more....
JeffTucker

Posts: 7,563
Registered: 31-Jan-2006
Re: error by creating album
Posted: 25 Feb 21, 17:05   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Perhaps I just needed to reload the skin before testing.

Let's see what the OP has to say about it.
Legend
Forum admins
Helpful Answer
Correct Answer

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