WordRider Home
Welcome! Log In Create A New Profile

Advanced

Java exception under Linux.

Posted by kyku 
Java exception under Linux.
February 21, 2010 10:41AM
Hello, I'm running FRD under Arch Linux with KDE 4.4. The program works well but doesn't save the items being downloaded and regularly complains with the following backtrace. Is it a problem with FRD or with the local installcation on my computer?

11:35:22 SEVERE: 
org.jdesktop.application.LocalStorage$LSException: save failed "history.xml"
	at org.jdesktop.application.LocalStorage.save(LocalStorage.java:108)
	at cz.vity.freerapid.gui.managers.FileHistoryManager.saveToFile(Unknown Source)
	at cz.vity.freerapid.gui.managers.FileHistoryManager.access$100(Unknown Source)
	at cz.vity.freerapid.gui.managers.FileHistoryManager$2.doInBackground(Unknown Source)
	at javax.swing.SwingWorker$1.call(SwingWorker.java:291)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at javax.swing.SwingWorker.run(SwingWorker.java:330)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:636)
Caused by: java.lang.InstantiationException: java.io.File
	at java.lang.Class.newInstance0(Class.java:357)
	at java.lang.Class.newInstance(Class.java:325)
	at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	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:616)
	at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:262)
	at java.beans.Statement.invoke(Statement.java:231)
	at java.beans.Expression.getValue(Expression.java:115)
	at java.beans.Encoder.getValue(Encoder.java:105)
	at java.beans.Encoder.get(Encoder.java:225)
	at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:110)
	at java.beans.Encoder.writeObject(Encoder.java:74)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:274)
	at java.beans.Encoder.writeExpression(Encoder.java:304)
	at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:389)
	at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:113)
	at java.beans.Encoder.writeObject(Encoder.java:74)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:274)
	at java.beans.Encoder.writeExpression(Encoder.java:304)
	at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:389)
	at java.beans.DefaultPersistenceDelegate.doProperty(DefaultPersistenceDelegate.java:229)
	at java.beans.DefaultPersistenceDelegate.initBean(DefaultPersistenceDelegate.java:264)
	at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:408)
	at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:116)
	at java.beans.Encoder.writeObject(Encoder.java:74)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:274)
	at java.beans.Encoder.writeExpression(Encoder.java:304)
	at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:389)
	at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:113)
	at java.beans.Encoder.writeObject(Encoder.java:74)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:274)
	at java.beans.Encoder.writeObject1(Encoder.java:231)
	at java.beans.Encoder.cloneStatement(Encoder.java:244)
	at java.beans.Encoder.writeStatement(Encoder.java:275)
	at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:348)
	at java.beans.DefaultPersistenceDelegate.invokeStatement(DefaultPersistenceDelegate.java:252)
	at java.beans.java_util_List_PersistenceDelegate.initialize(MetaData.java:613)
	at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:206)
	at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:406)
	at java.beans.PersistenceDelegate.initialize(PersistenceDelegate.java:206)
	at java.beans.DefaultPersistenceDelegate.initialize(DefaultPersistenceDelegate.java:406)
	at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:116)
	at java.beans.Encoder.writeObject(Encoder.java:74)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:274)
	at java.beans.Encoder.writeExpression(Encoder.java:304)
	at java.beans.XMLEncoder.writeExpression(XMLEncoder.java:389)
	at java.beans.PersistenceDelegate.writeObject(PersistenceDelegate.java:113)
	at java.beans.Encoder.writeObject(Encoder.java:74)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:274)
	at java.beans.Encoder.writeObject1(Encoder.java:231)
	at java.beans.Encoder.cloneStatement(Encoder.java:244)
	at java.beans.Encoder.writeStatement(Encoder.java:275)
	at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:348)
	at java.beans.XMLEncoder.writeObject(XMLEncoder.java:277)
	at org.jdesktop.application.LocalStorage.save(LocalStorage.java:100)
	... 10 more
Re: Java exception under Linux.
February 21, 2010 10:48AM
what's your Java version
java --version

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

Re: Java exception under Linux.
February 21, 2010 08:12PM
Thanks for the hint, I was using openjdk. When I switched to jre the problem was solved.
Sorry, only registered users may post in this forum.

Click here to login