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


Permlink Replies: 2 - Pages: 1 - Last Post: 22-Dec-2019 12:06 Last Post By: hmesman
hmesman

Posts: 2
Registered: 5-Feb-2009
Error during migration from Turtle to Tiger
Posted: 21-Dec-2019 18:01
 
  Click to reply to this thread Reply
Hello,

I'm getting an unexpected error during the skin migration from Turtle to Tiger.

Stack trace for jAlbum 19.2 using skin Tiger 2.9.5:

se.datadosen.util.ScriptException: jdk.nashorn.internal.runtime.ParserException: <eval>:1:23 Expected an operand but found &&
(custom_link1 != void && custom_link1 != null) || (custom_link2 != void && custom_link2 != null) || (custom_link3 != void && custom_link3 != null)
^ in Contact.htt at line number 1
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:75)
at se.datadosen.jalbum.ast.ASTNode.eval(ASTNode.java:50)
at se.datadosen.jalbum.ast.ASTNode.evalToString(ASTNode.java:59)
at se.datadosen.jalbum.ast.ElementNode$Attributes.get(ElementNode.java:74)
at se.datadosen.jalbum.ast.IfElseNode.doEval(IfElseNode.java:55)
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:1277)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1270)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1486)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2755)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2667)
at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1123)
Caused by: javax.script.ScriptException: <eval>:1:23 Expected an operand but found &&
(custom_link1 != void && custom_link1 != null) || (custom_link2 != void && custom_link2 != null) || (custom_link3 != void && custom_link3 != null)
^ in <eval> at line number 1 at column number 23
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.asCompiledScript(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.api.scripting.NashornScriptEngine.compile(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:47)
... 14 more
Caused by: jdk.nashorn.internal.runtime.ParserException: <eval>:1:23 Expected an operand but found &&
(custom_link1 != void && custom_link1 != null) || (custom_link2 != void && custom_link2 != null) || (custom_link3 != void && custom_link3 != null)
^
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.AbstractParser.error(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.AbstractParser.error(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.unaryExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.unaryExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.conditionalExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.assignmentExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.primaryExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.memberExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.leftHandSideExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.unaryExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.conditionalExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.assignmentExpression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expression(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.expressionStatement(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.statement(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.sourceElements(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.program(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.parse(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.parser.Parser.parse(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.Context.compile(Unknown Source)
at jdk.scripting.nashorn/jdk.nashorn.internal.runtime.Context.compileScript(Unknown Source)
... 17 more

jGromit

Posts: 7,804
Registered: 31-Jan-2006
Re: Error during migration from Turtle to Tiger
Posted: 21-Dec-2019 18:25   in response to: hmesman in response to: hmesman
Helpful
  Click to reply to this thread Reply
See this sticky thread at the top of this forum section: https://jalbum.net/forum/ann.jspa?annID=174
hmesman

Posts: 2
Registered: 5-Feb-2009
Re: Error during migration from Turtle to Tiger
Posted: 22-Dec-2019 12:06   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Thanks, the problem has been solved!
Legend
Forum admins
Helpful Answer
Correct Answer

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