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


Permlink Replies: 3 - Pages: 1 - Last Post: 3 Aug 26, 14:50 Last Post By: Beau497 Threads: [ Previous | Next ]
Beau497

Posts: 15
Registered: 16-Jan-2016
Error during Make..
Posted: 2 Aug 26, 17:41
 
  Click to reply to this thread Reply
Attached, Screen shot of Error Message:

Cannot get to Upload
++++++++++++++++++++++++++++

Stack trace for jAlbum 39.6 using skin PhotoBlogger 7.5.1:

se.datadosen.util.ScriptException: C:\Users\brian\AppData\Roaming\JAlbum\skins\PhotoBlogger\lib\util.js:3535 TypeError: null has no such function "iterator" in content.inc at line number 5
at se.datadosen.util.ScriptException.of(ScriptException.java:59)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:99)
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.IncludeNode.doEval(IncludeNode.java:89)
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.EnterNode.doEval(EnterNode.java:23)
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.makeIndexPages(AlbumBean.java:4483)
at se.datadosen.jalbum.AlbumBean.makeAlbumForFolder(AlbumBean.java:2001)
at se.datadosen.jalbum.AlbumBean.makeAlbum(AlbumBean.java:3952)
at se.datadosen.jalbum.AlbumBean.smartMakeAlbum(AlbumBean.java:3788)
at se.datadosen.jalbum.MakeAlbumTask.doInBackground(MakeAlbumTask.java:185)
at se.datadosen.jalbum.TaskManager$BackgroundTask.call(TaskManager.java:111)
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: javax.script.ScriptException: TypeError: null has no such function "iterator" in C:\Users\brian\AppData\Roaming\JAlbum\skins\PhotoBlogger\lib\util.js at line number 3535
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.throwAsScriptException(NashornScriptEngine.java:436)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:420)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine$1.eval(NashornScriptEngine.java:476)
at java.scripting/javax.script.CompiledScript.eval(Unknown Source)
at se.datadosen.jalbum.ast.ScriptletNode.doEval(ScriptletNode.java:67)
... 20 more
Caused by: C:\Users\brian\AppData\Roaming\JAlbum\skins\PhotoBlogger\lib\util.js:3535 TypeError: null has no such function "iterator"
at org.openjdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:212)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:184)
at org.openjdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:171)
at org.openjdk.nashorn.internal.runtime.linker.NashornBottomLinker.linkNull(NashornBottomLinker.java:258)
at org.openjdk.nashorn.internal.runtime.linker.NashornBottomLinker.getGuardedInvocation(NashornBottomLinker.java:69)
at jdk.dynalink/jdk.dynalink.linker.support.CompositeGuardingDynamicLinker.getGuardedInvocation(Unknown Source)
at jdk.dynalink/jdk.dynalink.LinkerServicesImpl.lambda$getGuardedInvocation$0(Unknown Source)
at jdk.dynalink/jdk.dynalink.LinkerServicesImpl.getWithLookupInternal(Unknown Source)
at jdk.dynalink/jdk.dynalink.LinkerServicesImpl.getGuardedInvocation(Unknown Source)
at jdk.dynalink/jdk.dynalink.DynamicLinker.relink(Unknown Source)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$442$87427AAIZA$util.getChildrenOfType(C:\Users\brian\AppData\Roaming\JAlbum\skins\PhotoBlogger\lib\util.js:3535)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$441$112625AIAZAA$util.getRandomChildren(C:\Users\brian\AppData\Roaming\JAlbum\skins\PhotoBlogger\lib\util.js:4576)
at org.openjdk.nashorn.internal.scripts.Script$Recompilation$440$1179AA$\^eval\_.getMosaic(<eval>:42)
at org.openjdk.nashorn.internal.scripts.Script$437$\^eval\_.:program(<eval>:170)
at org.openjdk.nashorn.internal.runtime.ScriptFunctionData.invoke(ScriptFunctionData.java:646)
at org.openjdk.nashorn.internal.runtime.ScriptFunction.invoke(ScriptFunction.java:506)
at org.openjdk.nashorn.internal.runtime.ScriptRuntime.apply(ScriptRuntime.java:519)
at org.openjdk.nashorn.api.scripting.NashornScriptEngine.evalImpl(NashornScriptEngine.java:415)
... 23 more
Laza

Posts: 1,559
Registered: 6-Sep-2005
Re: Error during Make..
Posted: 3 Aug 26, 11:22   in response to: Beau497 in response to: Beau497
 
  Click to reply to this thread Reply
There's no such line in util.js. (No iterator is used in any nearby functions) Perhaps the skin update was broken? Can you please reinstall Photoblogger?
https://jalbum.net/en/skins/skin/Photoblogger

Also, it might be worth updating the custom page templates. Here's the tool to use:
https://jalbum.net/forum/thread.jspa?messageID=315727&#315727
Laza

Posts: 1,559
Registered: 6-Sep-2005
Re: Error during Make..
Posted: 3 Aug 26, 11:28   in response to: Beau497 in response to: Beau497
Helpful
  Click to reply to this thread Reply
One more thing. It might be the contents custom page that triggers the error. It is supposed to work, but there could be corner cases. For example, a folder that contains only an external link or something similar, where jAlbum returns an invalid response when the skin asks for the folder's contents.
Beau497

Posts: 15
Registered: 16-Jan-2016
Re: Error during Make..
Posted: 3 Aug 26, 14:50   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I tried everything you suggested and no change at all.

As I have a dozen PhotoBlogger Projects, I tried reMaking 2 of them - No problem!

In desperation, I created a new Project and copied the whole of the contents of the failing project into it. I then performed a re Make, and absolutely no problem. The only thing I can think of is a corrupt file (due to a power outage).

The work-around behaves perfectly, but the original project (now abandoned) will not Make.

Thank you once again for your timely assistance.

Beau NESTOR
Legend
Forum admins
Helpful Answer
Correct Answer

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