WordRider Home
Welcome! Log In Create A New Profile

Advanced

BUG - File list and settings doesn't saving changes after upgrade to Java 7

Posted by Necro 
BUG - File list and settings doesn't saving changes after upgrade to Java 7
July 30, 2011 08:50AM
Hi,
yesterday I updated my Java to version
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)

After this update FRD began throwing exceptions after quit:

Language: Java
org.jdesktop.application.LocalStorage$LSException: save failed "filesList.xml" at org.jdesktop.application.LocalStorage.save(LocalStorage.java:160) at cz.vity.freerapid.gui.managers.FileListMaintainer.saveToFile(Unknown Source) at cz.vity.freerapid.gui.managers.DataManager.saveListToBeanImmediately(Unknown Source) at cz.vity.freerapid.gui.managers.DataManager.access$100(Unknown Source) at cz.vity.freerapid.gui.managers.DataManager$1.willExit(Unknown Source) at org.jdesktop.application.Application$2.run(Application.java:488) at org.jdesktop.application.Application.exit(Application.java:503) at org.jdesktop.application.SingleFrameApplication$MainFrameListener.windowClosing(SingleFrameApplication.java:373) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:350) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349) at java.awt.AWTEventMulticaster.windowClosing(AWTEventMulticaster.java:349) at java.awt.Window.processWindowEvent(Window.java:2045) at javax.swing.JFrame.processWindowEvent(JFrame.java:296) at java.awt.Window.processEvent(Window.java:2003) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4686) at com.jtattoo.plaf.BaseTitlePane.close(Unknown Source) at com.jtattoo.plaf.BaseTitlePane$CloseAction.actionPerformed(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at com.jtattoo.plaf.BaseButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Component.java:6504) at javax.swing.JComponent.processMouseEvent(JComponent.java:3321) at java.awt.Component.processEvent(Component.java:6269) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4860) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2713) at java.awt.Component.dispatchEvent(Component.java:4686) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:707) at java.awt.EventQueue.access$000(EventQueue.java:101) at java.awt.EventQueue$3.run(EventQueue.java:666) at java.awt.EventQueue$3.run(EventQueue.java:664) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:680) at java.awt.EventQueue$4.run(EventQueue.java:678) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:677) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105) at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) Caused by: java.lang.InstantiationException: java.net.URL at java.lang.Class.newInstance0(Class.java:357) at java.lang.Class.newInstance(Class.java:325) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:55) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:263) at java.beans.Statement.invokeInternal(Statement.java:292) at java.beans.Statement.access$000(Statement.java:58) at java.beans.Statement$2.run(Statement.java:185) at java.security.AccessController.doPrivileged(Native Method) at java.beans.Statement.invoke(Statement.java:182) at java.beans.Expression.getValue(Expression.java:153) at java.beans.Encoder.getValue(Encoder.java:105) at java.beans.Encoder.get(Encoder.java:246) at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:112) at java.beans.Encoder.writeObject(Encoder.java:74) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327) at java.beans.Encoder.writeExpression(Encoder.java:324) at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454) at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:115) at java.beans.Encoder.writeObject(Encoder.java:74) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327) at java.beans.Encoder.writeExpression(Encoder.java:324) at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454) at java.beans.DefaultPersistenceDelegate.doProperty(DefaultPersistenceDelegate.java:194) at java.beans.DefaultPersistenceDelegate.initBean(DefaultPersistenceDelegate.java:253) at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:400) at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:118) at java.beans.Encoder.writeObject(Encoder.java:74) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327) at java.beans.Encoder.writeExpression(Encoder.java:324) at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454) at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:115) at java.beans.Encoder.writeObject(Encoder.java:74) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327) at java.beans.Encoder.writeObject1(Encoder.java:252) at java.beans.Encoder.cloneStatement(Encoder.java:265) at java.beans.Encoder.writeStatement(Encoder.java:295) at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:400) at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:217) at java.beans.java_util_List_PersistenceDelegate.initialize(MetaData.java:649) at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:212) at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:398) at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:212) at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:398) at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:118) at java.beans.Encoder.writeObject(Encoder.java:74) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327) at java.beans.Encoder.writeExpression(Encoder.java:324) at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:454) at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:115) at java.beans.Encoder.writeObject(Encoder.java:74) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:327) at java.beans.Encoder.writeObject1(Encoder.java:252) at java.beans.Encoder.cloneStatement(Encoder.java:265) at java.beans.Encoder.writeStatement(Encoder.java:295) at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:400) at java.beans.XMLEncoder.writeObject(XMLEncoder.java:330) at org.jdesktop.application.LocalStorage.save(LocalStorage.java:153) ... 56 more

File list and settings doesn't saving changes anymore.
Re: BUG - File list and settings doesn't saving changes after upgrade to Java 7
July 30, 2011 10:42AM
We know about this problem. It's in progress...
At this time use JDK 6 to solve the problem.

-------------------------------------





Edited 1 time(s). Last edit at 07/30/2011 10:43AM by Vity.
Re: BUG - File list and settings doesn't saving changes after upgrade to Java 7
July 30, 2011 01:52PM
It's broken due to an incompatibility between a library we use and Java 7. Some undocumented changes were made which broke next to every Java application utilizing XMLEncoder.
Sorry, only registered users may post in this forum.

Click here to login