dekely - 2006-12-04

Hi,

When I call the method

PlatformUI.getWorkbench().restart();

I get the following fatal error

Restarting Eclipse...
Invoking starter...
Eclipse exited with error: 13
UIDefaults.getUI() failed: no ComponentUI class for: javax.swing.JOptionPane[,0,0,0x0,invalid,alignmentX=null,alignmentY=null,border=,flags=0,maximumSize=,minimumSize=,preferredSize=,icon=,initialValue=,message=Eclipse starter returned exit code: 13
More informations are in the log file,messageType=ERROR_MESSAGE,optionType=DEFAULT_OPTION,wantsInput=false]
java.lang.Error
    at javax.swing.UIDefaults.getUIError(UIDefaults.java:691)
    at javax.swing.UIDefaults.getUI(UIDefaults.java:721)
    at javax.swing.UIManager.getUI(UIManager.java:784)
    at javax.swing.JOptionPane.updateUI(JOptionPane.java:1715)
    at javax.swing.JOptionPane.<init>(JOptionPane.java:1678)
    at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:828)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:642)
    at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:613)
    at de.imedic.webrcp.WebRCP.fatalError(Unknown Source)
    at de.imedic.webrcp.WebRCP.launchEclipse(Unknown Source)
    at de.imedic.webrcp.WebRCP.run(Unknown Source)
    at de.imedic.webrcp.WebRCP.main(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:324)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:534)

anyone ?