Not opening file

Use this forum for reporting bugs and requesting new features.
Post Reply
steveu
Posts: 3
Joined: Wed Apr 15, 2015 3:24 pm

Not opening file

Post by steveu »

When I go to open the file I was working on yesterday I get a white box centre screen with 'Finishing' text inside it and the mouse busy circle.

If I then go to load the example plot and a pop up says Save Changes Before Closing - even though it hasn't loaded my plot. Select Don't Save

The example plot then loads.

If I chose to save the unloaded plot it saves the blank page plot.

So looks like I cannot now open the plot I spent days working on :-(

Love the software only started Monday so maybe I have done something?

Steve
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post by admin »

Hi,

Please e-mail the damaged file to lx @ claudeheintzdesign.com. It sounds like this involves LXFree for Java. It may be helpful to know what version you are using as well as what operating system its running on.

When you try to open the file and it stops with the white box and "Finishing" it is likely that some error has occurred. If you open the help window, there's a link in the lower left corner called console log. This will probably show a trace of exactly where the exception happened. You can post that here or send it along with the damaged file.
steveu
Posts: 3
Joined: Wed Apr 15, 2015 3:24 pm

Post by steveu »

Here is the log file - I will email the file - thanks

Win 7 64 bit - same on laptop and desktop PC.


LXFree for Java 1.4.5 (7604.2)
JRE: 1.8.0_45
Wed Apr 15 23:00:47 BST 2015
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0 >= 0
at java.util.Vector.elementAt(Unknown Source)
at jlx.LXDeviceChannels.channelAtIndex(LXDeviceChannels.java:90)
at jlx.LXDeviceInfo.useStringForIndex(LXDeviceInfo.java:230)
at jlx.LXLight.addToMasterChannels(LXLight.java:1422)
at jlx.LXChannelSummaryReport.reloadReport(LXChannelSummaryReport.java:51)
at jlx.LXReportFrame.setReport(LXReportFrame.java:461)
at jlx.LXReportFrame.<init>(LXReportFrame.java:63)
at jlx.LXDocumentReportsManager.setReportsWithXMLObject(LXDocumentReportsManager.java:68)
at jlx.LXDocument.<init>(LXDocument.java:126)
at jlx.JLXFrame.doOpenFile(JLXFrame.java:1008)
at CJT.StdFileMenuHandler.openAFile(StdFileMenuHandler.java:435)
at CJT.StdFileMenuHandler.openFile(StdFileMenuHandler.java:383)
at CJT.StdFileMenuHandler$openActionClass.actionPerformed(StdFileMenuHandler.java:732)
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$500(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)
steveu
Posts: 3
Joined: Wed Apr 15, 2015 3:24 pm

Post by steveu »

Repaired file works fine thank you very much.

Have made a small donation as thanks for the support and the great software.

Cheers

Steve
admin
Site Admin
Posts: 1643
Joined: Mon Nov 05, 2007 1:26 am
Contact:

Post by admin »

Thanks, I'm glad the file opens for you.

This all was the result of a device type fixture that did not have any addresses defined. This caused the arrayIndexOutOfBoundsException to be thrown.

LXFree for Java v1.4.6 includes a trap for this exception so a device without addresses will no longer cause an exception (halting whatever operation is going on such as opening a file). Instead of throwing an error, the condition is now noted in the log. This might occur when you've just created a new device type fixture for the key and haven't yet assigned its DMX configuration. Otherwise, it is expected that a device will have at least one and probably more addresses associated with it. Which is probably why this bug is rare (and now will not cause any harm).
Post Reply