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


Permlink Replies: 36 - Pages: 3 [ Previous | 1 2 3 ] - Last Post: 5 Jun 26, 15:35 Last Post By: davidekholm Threads: [ Previous | Next ]
davidekholm

Posts: 3,975
Registered: 18-Oct-2002
Re: Slow performance
Posted: 4 Jun 26, 23:31   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
It's a mystery that happens for you Jeff. I can't reproduce, and it shouldn't really be possible. Please do another core update now (rev 15), it tries to recover better and print debug info to the system console if this happens. Please pass me the debug info.
JeffTucker

Posts: 8,358
Registered: 31-Jan-2006
Re: Slow performance
Posted: 4 Jun 26, 23:37   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Same problem. I've also tried removing things like my defaults.jap, so that it retreats to "out of the box" settings. No difference.

Here's the initial launch error:
jAlbum 39.5.15 system console running Groovy (Groovy Scripting Engine)
This section captures debug prints sent to System.out and System.err
The top section evaluates expressions.
Press Ctrl+E to evaluate an expression. (Evaluates selected text if selection is active)
You have access to the basic jAlbum implicit objects such as engine and window
 
Sample expressions:
4*(3+2); // Basic calculations
engine.getSkin(); // Use of implicit object
for (AlbumObject ao : selectedObjects) println ao; // Iterate over selected objects
window.messageBox("You can interact with any Java object");
Profiler.instance // Print profiling data for last album build
Ignoring properties: java.lang.IllegalStateException: Null parent for non folder: /. Class: class se.datadosen.jalbum.FileAlbumObject. File: 
java.lang.Exception: Stack trace
	at java.base/java.lang.Thread.dumpStack(Unknown Source)
	at se.datadosen.jalbum.AlbumObjectProperties.load(AlbumObjectProperties.java:554)
	at se.datadosen.jalbum.AlbumObjectProperties.init(AlbumObjectProperties.java:291)
	at se.datadosen.jalbum.AlbumObjectProperties.<init>(AlbumObjectProperties.java:196)
	at se.datadosen.jalbum.AlbumObjectProperties.getInstance(AlbumObjectProperties.java:176)
	at se.datadosen.jalbum.AlbumObjectImpl.getProperties(AlbumObjectImpl.java:1738)
	at se.datadosen.explorer.JAlbumExplorer.setRootFolder(JAlbumExplorer.java:4283)
	at se.datadosen.jalbum.JAlbumFrame.initView(JAlbumFrame.java:2432)
	at se.datadosen.jalbum.JAlbumFrame.newProject(JAlbumFrame.java:1558)
	at se.datadosen.jalbum.JAlbumFrame.lambda$new$1(JAlbumFrame.java:329)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Ignoring properties: java.lang.IllegalStateException: Null parent for non folder: /. Class: class se.datadosen.jalbum.FileAlbumObject. File: 
java.lang.Exception: Stack trace
	at java.base/java.lang.Thread.dumpStack(Unknown Source)
	at se.datadosen.jalbum.AlbumObjectProperties.load(AlbumObjectProperties.java:554)
	at se.datadosen.jalbum.AlbumObjectProperties.init(AlbumObjectProperties.java:291)
	at se.datadosen.jalbum.AlbumObjectProperties.<init>(AlbumObjectProperties.java:196)
	at se.datadosen.jalbum.AlbumObjectProperties.getInstance(AlbumObjectProperties.java:176)
	at se.datadosen.jalbum.AlbumObjectImpl.getProperties(AlbumObjectImpl.java:1738)
	at se.datadosen.jalbum.AlbumBean.addGlobals(AlbumBean.java:3071)
	at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:4124)
	at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:4072)
	at se.datadosen.jalbum.AlbumBean.init(AlbumBean.java:3748)
	at se.datadosen.jalbum.JAlbumFrame.executeScript(JAlbumFrame.java:1360)
	at se.datadosen.jalbum.JAlbum.lambda$new$0(JAlbum.java:198)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Unknown Source)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
 
Startup: 3.994s
Ignoring properties: java.lang.IllegalStateException: Null parent for non folder: /. Class: class se.datadosen.jalbum.FileAlbumObject. File: 
java.lang.Exception: Stack trace
	at java.base/java.lang.Thread.dumpStack(Unknown Source)
	at se.datadosen.jalbum.AlbumObjectProperties.load(AlbumObjectProperties.java:554)
	at se.datadosen.jalbum.AlbumObjectProperties.init(AlbumObjectProperties.java:291)
	at se.datadosen.jalbum.AlbumObjectProperties.<init>(AlbumObjectProperties.java:196)
	at se.datadosen.jalbum.AlbumObjectProperties.getInstance(AlbumObjectProperties.java:176)
	at se.datadosen.jalbum.AlbumObjectImpl.getProperties(AlbumObjectImpl.java:1738)
	at se.datadosen.jalbum.AlbumBean.addGlobals(AlbumBean.java:3071)
	at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:4124)
	at se.datadosen.jalbum.AlbumBean.prepareMakeAlbum(AlbumBean.java:4072)
	at se.datadosen.jalbum.AlbumBean.init(AlbumBean.java:3748)
	at se.datadosen.jalbum.JAlbumFrame.executeScript(JAlbumFrame.java:1360)
	at se.datadosen.jalbum.JMainSettingsPanel$5$1.run(JMainSettingsPanel.java:369)
Skin loading: 1.12s
But now, unlike before, I can add images and make an album without any further errors. But as soon as I close the project, I'm getting the initial error again.

No error when opening an existing project - it's showing up only for "empty project."
RobM

Posts: 3,991
Registered: 4-Aug-2006
Re: Slow performance
Posted: 5 Jun 26, 00:23   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I get the same error on startup and when selecting the empty project.
JeffTucker

Posts: 8,358
Registered: 31-Jan-2006
Re: Slow performance
Posted: 5 Jun 26, 00:39   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
I get the same error on startup and when selecting the empty project.

Thanks for the confirmation. Either I'm not ready to be shipped off to The Home yet, or we're both ready for it.
davidekholm

Posts: 3,975
Registered: 18-Oct-2002
Re: Slow performance
Posted: 5 Jun 26, 11:00   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Ok, I was finally able to reproduce and fix this. Enjoy r16 (core update)

(In 39.5 I've been reworking the internal structure of the AlbumObject API to reduce RAM and IO requirements, it has some side effects until it's solid again, but it's better for the long term.)
JeffTucker

Posts: 8,358
Registered: 31-Jan-2006
Re: Slow performance
Posted: 5 Jun 26, 13:59   in response to: davidekholm in response to: davidekholm
 
  Click to reply to this thread Reply
Yes, that has gotten rid of the mysterious console error upon loading or opening an empty project. :)
davidekholm

Posts: 3,975
Registered: 18-Oct-2002
Re: Slow performance
Posted: 5 Jun 26, 15:35   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Good. See if you can break this version in some other way. If not, I'll package a new service release
Legend
Forum admins
Helpful Answer
Correct Answer

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