Page 1 of 1

Not Saving in XP or 7 with Java v7u60

Posted: Thu Jun 19, 2014 3:56 pm
by thespophile
I've tried two different machines and each time I go to save a .lxxplot I get stuck with the Win equivalent of the spinning wheel of death. I'm still able to continue to modify my plot, but the file never saves. Updated Java, to no improvement. Any tricks or tips would be appreciated.

Thanks!

Posted: Thu Jun 19, 2014 5:23 pm
by admin
Look at the help window and click on Console Log. This will probably display what is causing the error. Copy and paste the exception and either post it or e-mail it.

Also, what version of LXFree for Java are you using? Does this happen with the new v1.2.0 ?

Posted: Fri Jun 20, 2014 1:40 am
by thespophile
Using current version (1.2.0) on both machines. I had an earlier version on the XP machine that also wouldn't save. I think it was 1.1.8? I will post the Console Log info when I am back in the office on Monday.

Posted: Fri Jun 20, 2014 2:47 am
by admin
It sounds like an issue with the particular plot. You can also e-mail the plot itself and its likely that we will be able to reproduce the problem and fix it.

Posted: Mon Jun 23, 2014 2:44 pm
by thespophile
I think you were right about it being plot-specific. I opened the same plot at home on Friday in LXFree for Mac (v3.5.0) and edited, saved, and now it saves fine on my PC at the office. The file was originally created in LXBeams for iPad, so there is probably a compatibility issue there.

Console Log shows the following info for another file created on the iPad when I ask it to save on the PC:
LXFree for Java 1.2.0 (6617A)
JRE: 1.7.0_60
Mon Jun 23 10:40:12 EDT 2014
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at jlx.LXTextField.xmlobject(LXTextField.java:95)
at jlx.LXInfoTextField.xmlobject(LXInfoTextField.java:86)
at jlx.LXInfoTextFields.xmlobject(LXInfoTextFields.java:52)
at jlx.LXPosition.xmlobject(LXPosition.java:75)
at jlx.LXLayer.xmlobject(LXLayer.java:77)
at jlx.LXLayerManager.xmlobject(LXLayerManager.java:75)
at jlx.LXDocument.xmlobject(LXDocument.java:146)
at jlx.JLXFrame.doSaveFile(JLXFrame.java:1142)
at CJT.StdFileMenuHandler.saveFile(StdFileMenuHandler.java:452)
at CJT.StdFileMenuHandler.saveFileAs(StdFileMenuHandler.java:496)
at CJT.StdFileMenuHandler$saveAsActionClass.actionPerformed(StdFileMenuHandler.java:762)
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)

Posted: Mon Jun 23, 2014 9:47 pm
by admin
It looks like there is a problem with a font associated with one of the text fields in the drawing. There's a new version , 1.2.1 (6623A) that should trap the error and not let it prevent the file from saving.

It should work that a file that is opened and has an object with a font that is not present on the new system should just default to a basic font. If this didn't work, it may be the reason for the exception.