This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 35876 - Setting -ui at command line causes wizards to throw exceptions
Summary: Setting -ui at command line causes wizards to throw exceptions
Status: VERIFIED DUPLICATE of bug 35335
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 3.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-02 21:00 UTC by dgreen99
Modified: 2008-12-22 22:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dgreen99 2003-09-02 21:00:16 UTC
If -ui is specified for an IDE look and feel, 
wizards throw an exception when the "next" 
button is pressed.  There are two workarounds:

1. If -ui is specified, -fontsize must also be 
specified.

or 

2. Don't specify -ui on the command line.

After looking in the code, the defect appears to 
be in the class org.netbeans.core.Main where the 
uiFontSize is not set to a default value when -
ui is specified.
Comment 1 mslama 2003-09-12 13:09:04 UTC
What ui did you used? What OS and JDK? What NB build? I tried current
dev build on Linux JD 1.4.2 with GTK L&F and could not even start IDE.
I filed issue #36063. Could you attach exception log?
Comment 2 dgreen99 2003-09-12 16:12:00 UTC
Platform:

Netbeans 3.5.1
JSDK 1.4.2
Windows XP

Note that I get the same exception no matter what wizard is used.

Stack trace:

java.lang.NullPointerException
	at org.openide.WizardDescriptor.goToNextStep
(WizardDescriptor.java:598)
	at org.openide.WizardDescriptor.access$300
(WizardDescriptor.java:55)
	at org.openide.WizardDescriptor$Listener.actionPerformed
(WizardDescriptor.java:1110)
	at javax.swing.AbstractButton.fireActionPerformed
(AbstractButton.java:1786)
	at 
javax.swing.AbstractButton$ForwardActionEvents.actionPerformed
(AbstractButton.java:1839)
	at javax.swing.DefaultButtonModel.fireActionPerformed
(DefaultButtonModel.java:420)
	at javax.swing.DefaultButtonModel.setPressed
(DefaultButtonModel.java:258)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased
(BasicButtonListener.java:245)
	at java.awt.Component.processMouseEvent(Component.java:5099)
	at java.awt.Component.processEvent(Component.java:4896)
	at java.awt.Container.processEvent(Container.java:1569)
	at java.awt.Component.dispatchEventImpl(Component.java:3614)
	at java.awt.Container.dispatchEventImpl(Container.java:1627)
	at java.awt.Component.dispatchEvent(Component.java:3476)
	at java.awt.LightweightDispatcher.retargetMouseEvent
(Container.java:3483)
	at java.awt.LightweightDispatcher.processMouseEvent
(Container.java:3198)
	at java.awt.LightweightDispatcher.dispatchEvent
(Container.java:3128)
	at java.awt.Container.dispatchEventImpl(Container.java:1613)
	at java.awt.Window.dispatchEventImpl(Window.java:1606)
	at java.awt.Component.dispatchEvent(Component.java:3476)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy
(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy
(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents
(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run
(EventDispatchThread.java:100)
Comment 3 dgreen99 2003-09-12 16:13:06 UTC
UI used was com.incors.plaf.kunststoff.KunststoffLookAndFeel
Comment 4 mslama 2003-10-13 12:47:24 UTC
It is known isseu of wizard.
Comment 5 Jiri Rechtacek 2003-10-13 12:49:34 UTC

*** This issue has been marked as a duplicate of 35335 ***
Comment 6 Marian Mirilovic 2004-03-19 13:24:56 UTC
verified duplicate

BTW
it's fixed for incoming NB 3.6