954,228 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Ubuntu 11.10 upgrade, java error

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[INDENT]Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at org.freehep.graphicsio.gif.GIFImageWriteParam.(GIFImageWriteParam.java:2
at org.freehep.graphicsio.gif.GIFImageWriter.getDefau ltWriteParam(GIFImageWriter.java:73)
at org.freehep.graphicsio.exportchooser.ImageExportFi leType.(ImageExportFileType.java:71)
at org.freehep.graphicsio.gif.GIFExportFileType.(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.(Export Dialog.java:130)
at org.freehep.util.export.ExportDialog.(Export Dialog.java:90)
at org.freehep.util.export.ExportDialog.(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.(Pi xelGraphics2D.java:101)
... 59 more
[/INDENT]

dnyansagar
Newbie Poster
7 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

Did you try to backtrack the upgrade from 11.10 to lower version? It happen a lot during upgrade. I would suggest to reinstall Ubuntu but this time fresh install 11.10 instead of installing 11.04 and upgrade to 11.10...

Might hear from other linux users since they may have solution for you...

flagstar
Practically a Master Poster
618 posts since Oct 2009
Reputation Points: 126
Solved Threads: 59
 

Hi
Thank you
Currently I have lot of data on my computer and my hard drive is not partitioned.
I am trying to back up everything now.
Is there any option to go back without reinstalling?

Did you try to backtrack the upgrade from 11.10 to lower version? It happen a lot during upgrade. I would suggest to reinstall Ubuntu but this time fresh install 11.10 instead of installing 11.04 and upgrade to 11.10...

Might hear from other linux users since they may have solution for you...

dnyansagar
Newbie Poster
7 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

Read HERE

and also HERE for references to downgrade.

but the best option would be just clean install ubuntu anyway. Just format the partition where the ubuntu located and leave the rest of data on another backup partition.

flagstar
Practically a Master Poster
618 posts since Oct 2009
Reputation Points: 126
Solved Threads: 59
 

Thank you flagstar,
It works fine now.'
cheers
dnyansagar

dnyansagar
Newbie Poster
7 posts since Sep 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: