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


Permlink Replies: 5 - Pages: 1 - Last Post: 22 Jan 21, 18:24 Last Post By: Laza
hodihu

Posts: 5
Registered: 28-Jun-2016
Fehler bei "Album Erstellen"
Posted: 4 Apr 19, 19:14
 
  Click to reply to this thread Reply
Hallo!

Ich habe wegen laufender Fehlermeldungen gerade das Update gekauft, nur um folgende, neue Fehlermeldung beim Erstellen eines Albums zu bekommen:
Stack trace for jAlbum 18.1.2 using skin PhotoBlogger 2.1.2:
 
se.datadosen.util.ScriptException: <eval>:1:23 Expected an operand but found &&
 (custom_link1 != void && !util.isEmpty(custom_link1)) || (custom_link2 != void && !util.isEmpty(custom_link2)) || (custom_link3 != void && !util.isEmpty(custom_link3)) 
                       ^ in Kontakt.htt at line number 160
	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:1254)
	at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1247)
	at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1463)
	at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2746)
	at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2658)
	at se.datadosen.jalbum.JAlbumFrame$6.run(JAlbumFrame.java:1101)
Caused by: javax.script.ScriptException: <eval>:1:23 Expected an operand but found &&
 (custom_link1 != void && !util.isEmpty(custom_link1)) || (custom_link2 != void && !util.isEmpty(custom_link2)) || (custom_link3 != void && !util.isEmpty(custom_link3)) 
                       ^ 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 && !util.isEmpty(custom_link1)) || (custom_link2 != void && !util.isEmpty(custom_link2)) || (custom_link3 != void && !util.isEmpty(custom_link3)) 
                       ^
	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

Bitte um Hilfe :-)
Holger
JeffTucker

Posts: 7,917
Registered: 31-Jan-2006
Re: Fehler bei "Album Erstellen"
Posted: 4 Apr 19, 19:16   in response to: hodihu in response to: hodihu
Helpful
  Click to reply to this thread Reply
Delete Kontakt.htt, and add it again. New version.
hodihu

Posts: 5
Registered: 28-Jun-2016
Re: Fehler bei "Album Erstellen"
Posted: 4 Apr 19, 19:36   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thank you!
VirtualW

Posts: 1
Registered: 11-May-2013
Re: Fehler bei "Album Erstellen"
Posted: 22 Jan 21, 16:48   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I have the same Problem. What or where is Kontakt,htt?

Thank you
JeffTucker

Posts: 7,917
Registered: 31-Jan-2006
Re: Fehler bei "Album Erstellen"
Posted: 22 Jan 21, 17:21   in response to: VirtualW in response to: VirtualW
 
  Click to reply to this thread Reply
This would be a "contact" page that you added to the project, so it would appear in the Explore view, along with your images. The name would be Contact.htt if you're running jAlbum in English.
Laza

Posts: 2,362
Registered: 6-Sep-2005
Re: Fehler bei "Album Erstellen"
Posted: 22 Jan 21, 18:24   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Must be Kontakt.htt. In the future it's better to keep the custom page's original name and using the Title to translate to "Kontakt". Unfortunately, renamed custom pages cannot be updated (with skin updates) or carried over to another skin.
Legend
Forum admins
Helpful Answer
Correct Answer

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