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


Permlink Replies: 1 - Pages: 1 - Last Post: 05-Feb-2019 01:24 Last Post By: ctwist Threads: [ Previous | Next ]
jimvaughan

Posts: 1
Registered: 10-Dec-2008
BluPlusPlus: Error when creating album
Posted: 09-Dec-2018 22:10
 
  Click to reply to this thread Reply
Any idea what might cause this

Stack trace for jAlbum 17 using skin BluPlusPlus 5:

se.datadosen.util.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: `` slideModel.updateVars(); commonModel.updateVars(); slideModel.setupOrigi . . . '' : Method Invocation slideModel.setupOriginalSlide : at Line: 4 : in file: inline evaluation of: `` slideModel.updateVars(); commonModel.updateVars(); slideModel.setupOrigi . . . '' : slideModel .setupOriginalSlide ( )

Target exception: java.io.FileNotFoundException: D:\www\Photos\Dads Slides\1968\slides\1968_1_0019-orig.html (The system cannot find the file specified)
in slide.htt at line number 8
at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:897)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:819)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:222)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:809)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:222)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:183)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:137)
at se.datadosen.jalbum.AlbumBean.makeSlide(AlbumBean.java:3647)
at se.datadosen.jalbum.AlbumBean$StandardImageProcessor.processImages(AlbumBean.java:5698)
at se.datadosen.jalbum.AlbumBean$ImageProcessingTask.call(AlbumBean.java:5630)
at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Caused by: java.io.FileNotFoundException: D:\www\Photos\Dads Slides\1968\slides\1968_1_0019-orig.html (The system cannot find the file specified)
at java.base/java.io.FileOutputStream.open0(Native Method)
at java.base/java.io.FileOutputStream.open(Unknown Source)
at java.base/java.io.FileOutputStream.<init>(Unknown Source)
at java.base/java.io.FileOutputStream.<init>(Unknown Source)
at se.datadosen.util.IO.writeTextFile(IO.java:210)
at se.datadosen.util.IO.writeChangedTextFile(IO.java:245)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1245)
at se.datadosen.jalbum.AlbumBean.processTemplateFile(AlbumBean.java:1237)
at Slide.setupOriginalSlide(Slide.java:433)
at jdk.internal.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at bsh.Reflect.invokeMethod(Reflect.java:146)
at bsh.Reflect.invokeObjectMethod(Reflect.java:79)
at bsh.Name.invokeMethod(Name.java:859)
at bsh.BSHMethodInvocation.eval(BSHMethodInvocation.java:75)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:102)
at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47)
at bsh.Interpreter.eval(Interpreter.java:672)
at bsh.Interpreter.eval(Interpreter.java:766)
at bsh.Interpreter.eval(Interpreter.java:755)
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:82)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:57)
at java.scripting/javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:2544)
at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:886)
... 13 more

Edited by: jGromit for thread title
ctwist

Posts: 550
Registered: 27-Sep-2003
Re: BluPlusPlus: Error when creating album
Posted: 05-Feb-2019 01:24   in response to: jimvaughan in response to: jimvaughan
 
  Click to reply to this thread Reply
I overlooked this message, because I did not update my forum watches after the BluPlusPlus forum was merged with the Other Skins forum.

The statement that fails is
engine.processTemplateFile(template, new File(outputDirectory, engine.getSlideDirectory() + "/" + originalPage), current);
This calls the jAlbum skin template parser, which was completely rewritten in jAlbum 17.1.

This looks like a jAlbum bug, but I cannot replicate the error in jAlbum 17.1.5.

Please clarify exactly which version of jAlbum produces this error.
  • If you used jAlbum 17.0, maybe the bug was fixed in 17.1; upgrade to 17.1 and make the album. Did this fix it?
  • If you used jAlbum 17.1, maybe a bug was introduced in 17.1; downgrade to 17.0 and make the album. Did this fix it?
Legend
Forum admins
Helpful Answer
Correct Answer

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