[Bluej-discuss] Failure to launch BlueJ

Poul Henriksen p.henriksen at kent.ac.uk
Fri Mar 31 10:35:47 BST 2006


Hi Marion,

We have had similar errors reported before. It seems that some systems 
have problems with the Windows look and feel. As you already guessed, it 
will almost certainly be resolved if you change the look & feel to 
crossplatform.

Poul

M.Edwards wrote:
> I have a student who is unable to launch BlueJ on a Windows XP 
> Professional machine. The splash screen appears and then vanishes and 
> nothing further happens. The bluej-debuglog.txt file is shown below. 
> Does anyone have any ideas/suggestions as to what the problem is and how 
> it might be resolved? (I'm wondering if it is to do with the look and 
> feel and if bluej.lookAndFeel=crossplatform in bluej.defs might help?)
> 
> Thank you.
> 
> Marion Edwards
> Interactive Media Developer
> The Open University, UK.
> 
> BlueJ run started: Thu Mar 30 22:41:31 BST 2006
> BlueJ version 2.1.2    Java version 1.5.0_06
> Virtual machine: Java HotSpot(TM) Client VM 1.5.0_06-b05 (Sun 
> Microsystems Inc.)
> Running on: Windows XP 5.1 (x86)
> Java Home: c:\program files\java\jdk1.5.0_06\jre
> ----
> java.lang.NullPointerException
>         at 
> com.sun.java.swing.plaf.windows.XPStyle.getString(XPStyle.java:132)
>         at 
> com.sun.java.swing.plaf.windows.XPStyle.getString(XPStyle.java:115)
>         at com.sun.java.swing.plaf.windows.XPStyle.<init>(XPStyle.java:811)
>         at com.sun.java.swing.plaf.windows.XPStyle.getXP(XPStyle.java:82)
>         at 
> com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.<init>(WindowsTreeUI.java:103) 
> 
>         at 
> com.sun.java.swing.plaf.windows.WindowsTreeUI$ExpandedIcon.createExpandedIcon(WindowsTreeUI.java:107) 
> 
>         at 
> com.sun.java.swing.plaf.windows.WindowsLookAndFeel.initComponentDefaults(WindowsLookAndFeel.java:313) 
> 
>         at 
> javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:97) 
> 
>         at javax.swing.UIManager.setLookAndFeel(UIManager.java:441)
>         at javax.swing.UIManager.setLookAndFeel(UIManager.java:481)
>         at bluej.Config.setLookAndFeel(Config.java:1061)
>         at bluej.Config.initialise(Config.java:186)
>         at bluej.Main.<init>(Main.java:39)
>         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 java.lang.Class.newInstance0(Class.java:350)
>         at java.lang.Class.newInstance(Class.java:303)
>         at bluej.Boot.bootBluej(Unknown Source)
>         at bluej.Boot.main(Unknown Source)
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss



More information about the bluej-discuss mailing list