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


Permlink Replies: 4 - Pages: 1 - Last Post: 19-Oct-2016 17:41 Last Post By: dlindensmith Threads: [ Previous | Next ]
dlindensmith

Posts: 12
Registered: 27-Sep-2010
Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7: javax.script.Scr
Posted: 18-Oct-2016 22:47
 
  Click to reply to this thread Reply
I don't know if this is the right place to post this, but jAlbum just generated this error report and automatically directed me here to post it. Thanks in advance for any help... :)

Dustin LindenSmith

Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7:

javax.script.ScriptException: bsh.EvalError: Sourced file: inline evaluation of: `` !splashVertical && mapOnIndex && locationCount > 0 ;'' : illegal use of undefined object or 'void' literal : at Line: 1 : in file: inline evaluation of: `` !splashVertical && mapOnIndex && locationCount > 0 ;'' : && mapOnIndex && locationCount > 0 ;
in inline evaluation of: `` !splashVertical && mapOnIndex && locationCount > 0 ;'' at line number 1
at bsh.BshScriptEngine.evalSource(BshScriptEngine.java:102)
at bsh.BshScriptEngine.eval(BshScriptEngine.java:61)
at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
at se.datadosen.jalbum.AlbumBean.doProcessExpression(AlbumBean.java:2149)
at se.datadosen.jalbum.TemplateParser.eval(TemplateParser.java:720)
at se.datadosen.jalbum.TemplateParser.parseAttributeValue(TemplateParser.java:700)
at se.datadosen.jalbum.TemplateParser.handleIfElse(TemplateParser.java:401)
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:416)
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.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.makeAlbumForFolder(AlbumBean.java:1232)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2370)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:2288)
at se.datadosen.jalbum.JAlbumFrame$12.run(JAlbumFrame.java:1019)
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7: javax.script.Scr
Posted: 18-Oct-2016 23:03   in response to: dlindensmith in response to: dlindensmith
Helpful
  Click to reply to this thread Reply
That's a surprising one - Chameleon hasn't been changed in years, and there's nothing in there that should "break" with jAlbum 13.

Even stranger, it's complaining about variables that don't exist in Chameleon - those variables are from Turtle, not Chameleon.

I would suggest closing the album project without saving it (unless it's already too late for that), shutting down jAlbum, launching jAlbum again, and re-opening the project.

(Edit - BTW, you have a license, so there's no reason to stick with jAlbum 13.0.8. You might as well go ahead and install the latest version.)
dlindensmith

Posts: 12
Registered: 27-Sep-2010
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7: javax.script.Scr
Posted: 19-Oct-2016 14:08   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Many thanks, that worked just fine. Thanks for the reminder to bring my jAlbum back up to date, too.
jGromit

Posts: 33,207
Registered: 31-Jan-2006
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7: javax.script.Scr
Posted: 19-Oct-2016 15:51   in response to: dlindensmith in response to: dlindensmith
 
  Click to reply to this thread Reply
As a general rule, any time you install a skin or update a skin, you shouldn't have an album project open. Things tend to get very confused if you do. It can generally be cured by shutting everything down and restarting.
dlindensmith

Posts: 12
Registered: 27-Sep-2010
Re: Stack trace for jAlbum 13.0.8 using skin Chameleon 4.6.7: javax.script.Scr
Posted: 19-Oct-2016 17:41   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Also a good tip, thank you.

In this case, I think it was actually my own computer that mucked this up. I was switching between two different projects that were using Chameleon and Turtle respectively, and the computer sort of hung temporarily during the switch and I didn't realize what was happening and tried to reopen the first one before the second one had been fully closed. Sort of a weird thing that I could probably never replicate, but it resulted in that strange error.

Thanks again!
Legend
Forum admins
Helpful Answer
Correct Answer

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