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 158956 - Null pointer exception in 7.0M1 build when adding Tomcat 5.5 server
Summary: Null pointer exception in 7.0M1 build when adding Tomcat 5.5 server
Status: RESOLVED DUPLICATE of bug 157827
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: Other All
: P3 blocker (vote)
Assignee: issues@serverplugins
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-22 22:44 UTC by martingillen
Modified: 2009-02-23 08:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
.netbeans\7.0m1\var\log\messages.log (69.53 KB, text/plain)
2009-02-22 22:45 UTC, martingillen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description martingillen 2009-02-22 22:44:30 UTC
Null pointer exception in 7.0M1 build when adding Tomcat 5.5 server.

Windows / JRE 1.6.13

Tools -> Servers -> Add Server -> Tomcat 5.5 -> Next

SEVERE [global]
java.lang.NullPointerException
	at org.netbeans.modules.tomcat5.wizard.InstallPanelVisual.isHomeValid(InstallPanelVisual.java:462)
	at org.netbeans.modules.tomcat5.wizard.InstallPanelVisual.isValid(InstallPanelVisual.java:608)
	at java.awt.Component.invalidateIfValid(Component.java:2740)
	at java.awt.Component.setLocale(Component.java:1810)
	at javax.swing.JComponent.<init>(JComponent.java:595)
	at javax.swing.JPanel.<init>(JPanel.java:65)
	at javax.swing.JPanel.<init>(JPanel.java:92)
	at javax.swing.JPanel.<init>(JPanel.java:100)
	at org.netbeans.modules.tomcat5.wizard.InstallPanelVisual.<init>(InstallPanelVisual.java:94)
	at org.netbeans.modules.tomcat5.wizard.InstallPanel.getComponent(InstallPanel.java:100)
	at org.netbeans.modules.tomcat5.wizard.AddInstanceIterator.current(AddInstanceIterator.java:184)
	at
org.netbeans.modules.j2ee.deployment.impl.bridge.BridgingServerWizardProvider$InstantiatingIteratorBridge.current(BridgingServerWizardProvider.java:147)
	at
org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard$AddServerInstanceWizardIterator.current(AddServerInstanceWizard.java:240)
	at org.openide.WizardDescriptor.updateStateOpen(WizardDescriptor.java:857)
	at org.openide.WizardDescriptor.updateState(WizardDescriptor.java:831)
	at org.netbeans.modules.server.ui.wizard.AddServerInstanceWizard.updateState(AddServerInstanceWizard.java:167)
	...
Comment 1 martingillen 2009-02-22 22:45:28 UTC
Created attachment 77232 [details]
.netbeans\7.0m1\var\log\messages.log
Comment 2 Petr Blaha 2009-02-23 08:43:50 UTC
The bug is fixed in the latest daily build.

*** This issue has been marked as a duplicate of 157827 ***