This question is answered.


Permlink Replies: 2 - Pages: 1 - Last Post: 23 Oct 20, 14:55 Last Post By: JeffTucker Threads: [ Previous | Next ]
JeffTucker

Posts: 8,088
Registered: 31-Jan-2006
Projector crash
Posted: 23 Oct 20, 14:25
 
  Click to reply to this thread Reply
In the latest version of Projector, using default settings on a simple album (just a few images, no folders) yields this:
Stack trace for jAlbum 22.2b2 using skin Projector 2.2.1:
 
se.datadosen.util.ScriptException: <eval>:16 ReferenceError: "breadcrumbPath" is not defined in hero.inc at line number 6
	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:3345)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1581)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2904)
	at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2816)
	at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1128)
Caused by: javax.script.ScriptException: ReferenceError: "breadcrumbPath" is not defined in <eval> at line number 16
	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>:16 ReferenceError: "breadcrumbPath" 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$178$\^eval\_.:program(<eval>:16)
	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
If I check the Projector > Site > Header > Use breadcrumb path box, the error goes away.
Laza

Posts: 1,871
Registered: 6-Sep-2005
Re: Projector crash
Posted: 23 Oct 20, 14:50   in response to: JeffTucker in response to: JeffTucker
Correct
  Click to reply to this thread Reply
Thanks, I made silent update - hopefully it was only you who have downloaded it. :)
JeffTucker

Posts: 8,088
Registered: 31-Jan-2006
Re: Projector crash
Posted: 23 Oct 20, 14:55   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I'll leave this thread here for a day or so, in case someone else stumbles on it. If not, I'll make the thread go away. ;)
Legend
Forum admins
Helpful Answer
Correct Answer

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