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


Permlink Replies: 6 - Pages: 1 - Last Post: 11-Jan-2016 17:29 Last Post By: jGromit
FabioM

Posts: 19
Registered: 27-Dec-2008
Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 27-Dec-2015 10:57
 
  Click to reply to this thread Reply
I have the following error with jAlbum 13.0.8 and Chamaleon 4.6.7, any help?

Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7:

javax.script.ScriptException: bsh.TargetError: Sourced file: inline evaluation of: `` if((counter%cols) == 0) out.print("<tr>"); out.print("<td style=\"vertical- . . . '' : Method Invocation chameleon.makeThumb : at Line: 5 : in file: inline evaluation of: `` if((counter%cols) == 0) out.print("<tr>"); out.print("<td style=\"vertical- . . . '' : chameleon .makeThumb ( )

Target exception: java.lang.RuntimeException: Error processing E:\Users\Fabio New\Pictures\Instagram 2015\035.jpg
in inline evaluation of: `` if((counter%cols) == 0) out.print("<tr>"); out.print("<td style=\"vertical- . . . '' at line number 5
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:97)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:61)
at javax.script.AbstractScriptEngine.eval(Unknown Source)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:2149)
at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:720)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:667)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:189)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:402)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleIteration(TemplateParser.java:327)
at se.datadosen.jalbum.TemplateParser.handleFileIterator(TemplateParser.java:310)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:197)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:674)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:189)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:415)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:415)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleInclude(TemplateParser.java:534)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:185)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:408)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleInclude(TemplateParser.java:534)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:185)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:413)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:179)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleExpressionLanguage(TemplateParser.java:648)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:191)
at se.datadosen.jalbum.TemplateParser.handleScriptlet(TemplateParser.java:674)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:189)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:156)
at se.datadosen.jalbum.TemplateParser.parseElements(TemplateParser.java:147)
at se.datadosen.jalbum.AlbumBean.makeIndexPages(AlbumBean.java:2786)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:1139)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2370)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:2295)
at se.datadosen.jalbum.JAlbumFrame$12.run(JAlbumFrame.java:1021)
Caused by: java.lang.RuntimeException: Error processing E:\Users\Fabio New\Pictures\Instagram 2015\035.jpg
at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:2001)
at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:1825)
at Chameleon.copyFolderThumb(Chameleon.java:2463)
at Chameleon.initThumb(Chameleon.java:2544)
at Chameleon.makeThumb(Chameleon.java:2704)
at sun.reflect.GeneratedMethodAccessor45.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at 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:89)
... 60 more
Caused by: java.lang.ClassCastException: [B cannot be cast to java.lang.String
at se.datadosen.jalbum.AlbumBean.readComment(AlbumBean.java:1696)
at se.datadosen.jalbum.AlbumObjectImpl.getComment(AlbumObjectImpl.java:842)
at se.datadosen.jalbum.AlbumBean.registerVariables(AlbumBean.java:1859)
... 77 more
RobM

Posts: 4,386
Registered: 4-Aug-2006
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 27-Dec-2015 12:27   in response to: FabioM in response to: FabioM
 
  Click to reply to this thread Reply
Try excluding the image 035.jpg from Pictures/Instagram 2015, does it then build without error?
If it does check the title, comments and embedded metadata for single/double quotes etc.

You might also want to update to the latest version of jAlbum and then do a core update, see
http://jalbum.net/forum/thread.jspa?threadID=50649&start=0&tstart=0 for other issues with Chameleon and jAlbum 13.
FabioM

Posts: 19
Registered: 27-Dec-2008
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 27-Dec-2015 12:44   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I have excluded that image, but it repeats the error, it is due to any image I select to be the image of the folder.
RobM

Posts: 4,386
Registered: 4-Aug-2006
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 27-Dec-2015 13:03   in response to: FabioM in response to: FabioM
 
  Click to reply to this thread Reply
Update jAlbum and then do the core update and try it again.
Bear in mind though Chameleon has not been updated since January 2012 and no further updates are expected. Sooner or later you may need to change to a modern skin (or revert to an earlier version of jAlbum.

If it still fails and you want to stick with this skin someone else may have an idea, but it might be take a few days.
jGromit

Posts: 33,206
Registered: 31-Jan-2006
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 27-Dec-2015 13:59   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Attachment chamError.txt (2,5 KB)
I get various types of error dumps with Chameleon, even with a simple album without folders, and with default settings. (Typical console dump attached.)

There's some fundamental incompatibility between Chameleon and jAlbum 13.0.13. It's buried in the compiled part of Chameleon, so debugging will have to wait for Laza and David.
FabioM

Posts: 19
Registered: 27-Dec-2008
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 27-Dec-2015 23:18   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
A new error:

bsh.TargetError: Sourced file: inline evaluation of: `` chameleon.updateVars(); chameleon.initIndex(); ;'' : Method Invocation chameleon.initIndex : at Line: 3 : in file: inline evaluation of: `` chameleon.updateVars(); chameleon.initIndex(); ;'' : chameleon .initIndex ( )

Target exception: java.lang.ArrayIndexOutOfBoundsException: 26
in inline evaluation of: `` chameleon.updateVars(); chameleon.initIndex(); ;'' at line number 3
jGromit

Posts: 33,206
Registered: 31-Jan-2006
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7
Posted: 11-Jan-2016 17:29   in response to: FabioM in response to: FabioM
Helpful
  Click to reply to this thread Reply
Try doing another core update, to jAlbum 13.0.14. There was a bug in earlier versions that was causing problems with Chameleon. Please post back if you're still getting errors.
Legend
Forum admins
Helpful Answer
Correct Answer

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