Problem opening plot

Use this forum to post questions about using LXFree Java and LXSeries software for Windows.
Post Reply
danblack
Posts: 5
Joined: Fri Sep 26, 2014 11:08 am
Location: Brisbane, Australia
Contact:

Problem opening plot

Post by danblack »

Hi, I recently started a plot on LXFree for Java, swapped computers and continued working on it with LXFree (mac). I now am trying to open the file on the Java version again and when opening it doesn't continue past the Finishing box. I can actually click on the blank LXFree screen in the background and use all the functions so the program may not have crashed, just not finally loading it or something. Both the Windows and Mac versions of the software are the most recent. Any help would be great. Thanks.
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post by admin »

If you go to the help window and in the lower left corner, click the console log link, it will showy what the error is. There's probably an exception being thrown that prevents the plot from fully opening. The trace n the console log will help pinpoint the problem. You can also e-mail a copy of the plot. There's likely something specific to that plot like a font or an imported graphic that is causing the exception.
danblack
Posts: 5
Joined: Fri Sep 26, 2014 11:08 am
Location: Brisbane, Australia
Contact:

Post by danblack »

Hello

Here is my log file. Thank you


LXFree for Java 1.5.1 (7815.1)
JRE: 1.7.0_25
Thu Jul 02 14:57:34 EST 2015
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.Vector.elementData(Unknown Source)
at java.util.Vector.elementAt(Unknown Source)
at jlx.LXLayerManager.layerAtIndex(LXLayerManager.java:189)
at jlx.LXUserView.resolveLayerStateIndicesWithLayerManager(LXUserView.java:524)
at jlx.LXUserView.resolveAfterUnarchivingWithDocument(LXUserView.java:459)
at jlx.LXUserViewManager.resolveAfterUnarchiving(LXUserViewManager.java:107)
at jlx.LXDocument.<init>(LXDocument.java:113)
at jlx.JLXFrame.doOpenFile(JLXFrame.java:1048)
at CJT.StdFileMenuHandler.openAFile(StdFileMenuHandler.java:435)
at CJT.StdFileMenuHandler.doRecent(StdFileMenuHandler.java:321)
at CJT.StdFileMenuHandler$recentActionClass.actionPerformed(StdFileMenuHandler.java:783)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: -1
at java.util.Vector.elementData(Unknown Source)
at java.util.Vector.elementAt(Unknown Source)
at jlx.LXLayerManager.layerAtIndex(LXLayerManager.java:189)
at jlx.LXUserView.resolveLayerStateIndicesWithLayerManager(LXUserView.java:524)
at jlx.LXUserView.resolveAfterUnarchivingWithDocument(LXUserView.java:459)
at jlx.LXUserViewManager.resolveAfterUnarchiving(LXUserViewManager.java:107)
at jlx.LXDocument.<init>(LXDocument.java:113)
at jlx.JLXFrame.doOpenFile(JLXFrame.java:1048)
at CJT.StdFileMenuHandler.openAFile(StdFileMenuHandler.java:435)
at CJT.StdFileMenuHandler.doRecent(StdFileMenuHandler.java:321)
at CJT.StdFileMenuHandler$recentActionClass.actionPerformed(StdFileMenuHandler.java:783)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post by admin »

This is a problem with opening a file with a saved view that did not have a current layer selected. This would probably only happen in a small number of instances. One possibility is that the last visible layer was hidden while it was the current layer, leaving no current layer.

This was on caught by the Java version which caused the exception. This is fixed in LXFree for Java version 1.5.3.
Post Reply