Page 1 of 1

Opening lxxplot files from another user

Posted: Mon Nov 09, 2015 1:30 pm
by spinhorn
Hi - I am very new to this program and am finding that I cannot open the example plot a friend kindly sent to me. It seems to read the file, but never gets past 'finishing'.
Please can you advise me how to open this, as it the base template for a venue and would be a real nuisance to redraw.

Hopeful!
:?

Posted: Mon Nov 09, 2015 1:40 pm
by admin
There's most likely an exception being thrown during the opening process.

You'll see the trace of the error if you open the help window and click the console log link in the lower left corner.

There are many possible ways an exception can get thrown. So, without the trace and possibly the file that causes the exception, its impossible to guess what the problem could be.

You can e-mail the file to lx at claudeheintzdesign.com along with the contents of the trace from the help window and we can see if it can be fixed.

Its also useful to know the version of LXFree for Java and the operating system.

Cant open an lxxplot from LXBeams

Posted: Tue Nov 10, 2015 10:59 pm
by gilesnova4
I have the very same problem as the user above.

I usually use LXBeams on Mac for my design work but am trying to help someone to use LXFree Java to design a rig.

I have installed the latest LXFree Java (1.5.4) and all files I try to open fail at "Finishing". The Console Log output is as follows:

LXFree for Java 1.5.4 (8020.1)
JRE: 1.7.0_51
Tue Nov 10 22:53:55 GMT 2015
Exception in thread "AWT-EventQueue-1" java.lang.NullPointerException
at jlx.LXTextArea.undoableEditHappened(LXTextArea.java:697)
at javax.swing.text.AbstractDocument.fireUndoableEditUpdate(Unknown Source)
at javax.swing.text.DefaultStyledDocument.setParagraphAttributes(Unknown Source)
at jlx.LXTextArea.setRTFString(LXTextArea.java:347)
at jlx.LXTextArea.<init>(LXTextArea.java:47)
at jlx.LXShape.shapeWithXMLObject(LXShape.java:179)
at jlx.LXSectionLayer.<init>(LXSectionLayer.java:106)
at jlx.LXLayerManager.<init>(LXLayerManager.java:54)
at jlx.LXDocument.<init>(LXDocument.java:98)
at jlx.JLXFrame.doOpenFile(JLXFrame.java:1048)
at CJT.StdFileMenuHandler.openAFile(StdFileMenuHandler.java:435)
at CJT.StdFileMenuHandler.openFile(StdFileMenuHandler.java:383)
at CJT.StdFileMenuHandler$openActionClass.actionPerformed(StdFileMenuHandler.java:743)
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)


Thanks

Posted: Wed Nov 11, 2015 4:43 pm
by admin
Thanks for posting the stack trace. This made it possible to track the issue down to a problem with loading a styled text area in a section view. This is now fixed in LXFree for Java 1.5.8. (8311.1).

This may or may not resolve the issue that started this thread. It is impossible to know what causes an exception when opening a file without either the stack trace or the file itself (so that the error can be reproduced). Some times the trace is enough--as with this issue. On other occasions there is something unique to the file that causes a problem. Without some way of seeing the error, all that can really be said is what is already known: something isn't working.