Hi everyone.
I have been using ubuntu for a while now.
But this recent upgrade of ubuntu from 11.04 to 11.10 has caused me some problems.
Mainly that some java applications are not running properly.
I was using Figtree(phylogenetic tree app.) which was working fine until this upgrade.
Now everytime I try to export from the application I get following error.
My java is not very good so I have hard time understanding the error.
I have reinstalled java JDK6 and also tried JDK7 but same error occurs.
Please help....
./dnyansagar
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at org.freehep.graphicsio.gif.GIFImageWriteParam.<ini t>(GIFImageWriteParam.java:2
at org.freehep.graphicsio.gif.GIFImageWriter.getDefau ltWriteParam(GIFImageWriter.java:73)
at org.freehep.graphicsio.exportchooser.ImageExportFi leType.<init>(ImageExportFileType.java:71)
at org.freehep.graphicsio.gif.GIFExportFileType.<init >(GIFExportFileType.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newI nstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Construc tor.java:532)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at org.freehep.util.Service.providers(Service.java:71 )
at org.freehep.util.export.ExportFileTypeRegistry.add ApplicationClasspathExportFileTypes(ExportFileType Registry.java:11
at org.freehep.util.export.ExportFileTypeRegistry.get DefaultInstance(ExportFileTypeRegistry.java:50)
at org.freehep.util.export.ExportFileType.getExportFi leTypes(ExportFileType.java:181)
at org.freehep.util.export.ExportFileType.getExportFi leTypes(ExportFileType.java:173)
at org.freehep.util.export.ExportDialog.addAllExportF ileTypes(ExportDialog.java:64)
at org.freehep.util.export.ExportDialog.<init>(Export Dialog.java:130)
at org.freehep.util.export.ExportDialog.<init>(Export Dialog.java:90)
at org.freehep.util.export.ExportDialog.<init>(Export Dialog.java:82)
at figtree.application.FigTreeFrame.doExportGraphic(U nknown Source)
at figtree.application.FigTreeFrame$22.actionPerforme d(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Abs tractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed (AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed (DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultB uttonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton. java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Bas icMenuItemUI.java:829)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mou seReleased(BasicMenuItemUI.java:873)
at java.awt.Component.processMouseEvent(Component.jav a:626
at javax.swing.JComponent.processMouseEvent(JComponen t.java:3267)
at java.awt.Component.processEvent(Component.java:603 3)
at java.awt.Container.processEvent(Container.java:204 5)
at java.awt.Component.dispatchEventImpl(Component.jav a:4629)
at java.awt.Container.dispatchEventImpl(Container.jav a:2103)
at java.awt.Component.dispatchEvent(Component.java:44 55)
at java.awt.LightweightDispatcher.retargetMouseEvent( Container.java:4633)
at java.awt.LightweightDispatcher.processMouseEvent(C ontainer.java:4297)
at java.awt.LightweightDispatcher.dispatchEvent(Conta iner.java:4227)
at java.awt.Container.dispatchEventImpl(Container.jav a:2089)
at java.awt.Window.dispatchEventImpl(Window.java:2517 )
at java.awt.Component.dispatchEvent(Component.java:44 55)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava:649)
at java.awt.EventQueue.access$000(EventQueue.java:96)
at java.awt.EventQueue$1.run(EventQueue.java:60
at java.awt.EventQueue$1.run(EventQueue.java:606)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:105)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:116)
at java.awt.EventQueue$2.run(EventQueue.java:622)
at java.awt.EventQueue$2.run(EventQueue.java:620)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(AccessControlContext.java:105)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 619)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.java:13
Caused by: java.lang.NullPointerException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.freehep.graphics2d.PixelGraphics2D.<clinit>(Pi xelGraphics2D.java:101)
... 59 more
dnyansagar 0 Newbie Poster
flagstar 111 Practically a Master Poster
dnyansagar 0 Newbie Poster
flagstar 111 Practically a Master Poster
dnyansagar 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.