#53 Exception thrown at startup on Ubuntu Linux

closed-fixed
None
5
2006-11-15
2006-11-05
Robert Futrell
No

Stack trace:

java.lang.NullPointerException
at
org.fife.rtext.plugins.heapindicator.HeapIndicatorPlugin.getName(HeapIndicatorPlugin.java
:184)
at
com.sun.java.swing.plaf.gtk.GTKStyleFactory.getMatchingStyles(GTKStyleFactory.java:441)
at
com.sun.java.swing.plaf.gtk.GTKStyleFactory._getStyle(GTKStyleFactory.java:412)
at
com.sun.java.swing.plaf.gtk.GTKStyleFactory.getStyle
(GTKStyleFactory.java:400)
at
javax.swing.plaf.synth.SynthLookAndFeel.getStyle(SynthLookAndFeel.java:200)
at
javax.swing.plaf.synth.SynthLookAndFeel.updateStyle(SynthLookAndFeel.java:232)
at
javax.swing.plaf.synth.SynthPanelUI.updateStyle(SynthPanelUI.java:70)
at
javax.swing.plaf.synth.SynthPanelUI.installDefaults(SynthPanelUI.java:57)
at
javax.swing.plaf.basic.BasicPanelUI.installUI(BasicPanelUI.java
:39)
at
javax.swing.plaf.synth.SynthPanelUI.installUI(SynthPanelUI.java:37)
at
javax.swing.JComponent.setUI(JComponent.java:652)
at javax.swing.JPanel.setUI(JPanel.java:131)
at javax.swing.JPanel.updateUI(JPanel.java:104)
at javax.swing.JPanel.<init>(JPanel.java:64)
at javax.swing.JPanel.<init>(JPanel.java:87)
at javax.swing.JPanel.<init>(JPanel.java :95)
at
org.fife.ui.StatusBarPanel.<init>(StatusBarPanel.java:61)
at
org.fife.ui.app.StatusBarPlugin.<init>(StatusBarPlugin.java:37)
at
org.fife.rtext.plugins.heapindicator.HeapIndicatorPlugin
.<init>(HeapIndicatorPlugin.java:82)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java
:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.fife.ui.app.PluginClassLoader.loadPlugins
(PluginClassLoader.java:187)
at
org.fife.ui.app.PluginClassLoader.<init>(PluginClassLoader.java:107)
at
org.fife.ui.app.AbstractPluggableGUIApplication.preMenuBarInit(AbstractPluggableGUIApplication.java
:169)
at
org.fife.rtext.RText.preMenuBarInit(RText.java:879)
at
org.fife.ui.app.AbstractGUIApplication.initialize(AbstractGUIApplication.java:384)
at org.fife.ui.app.AbstractGUIApplication
.<init>(AbstractGUIApplication.java:227)
at
org.fife.ui.app.AbstractPluggableGUIApplication.<init>(AbstractPluggableGUIApplication.java:84)
at org.fife.rtext.RText.<init>(RText.java :143)
at org.fife.rtext.RText.main(RText.java:1419)

RText still starts up okay, but whatever is causing
this error should be corrected.

Discussion

  • Robert Futrell
    Robert Futrell
    2006-11-05

    Logged In: YES
    user_id=911646

    This is unfortunately called because the RText Plugin
    interface includes a method named "getName()" which
    overrides an AWT Component's "getName()" method for
    GUIPlugins. The easiest solution is to change the Plugin
    interface "getName()" method to "getPluginName()".

    This will be fixed in the upcoming 0.9.8.0.

     
  • Robert Futrell
    Robert Futrell
    2006-11-06

    • assigned_to: nobody --> robert_futrell
     
  • Robert Futrell
    Robert Futrell
    2006-11-15

    Logged In: YES
    user_id=911646
    Originator: YES

    Fixed at 0.9.8.0.

     
  • Robert Futrell
    Robert Futrell
    2006-11-15

    • status: open --> closed-fixed