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 193441 - [70cat] NullPointerException at org.netbeans.modules.j2ee.common.project.ui.J2EEProjectProperties.setServerProperties
Summary: [70cat] NullPointerException at org.netbeans.modules.j2ee.common.project.ui.J...
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 202334 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-12-15 14:25 UTC by gholmer
Modified: 2011-09-30 11:19 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171867


Attachments
stacktrace (1.58 KB, text/plain)
2010-12-15 14:25 UTC, gholmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gholmer 2010-12-15 14:25:41 UTC
Build: NetBeans IDE Dev (Build 201012150001)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Linux

User Comments:
GUEST: I was opening old netbeans project and got message that build.xml has been changed - if I want to regenerate. I clicked cancel and after this operation I got NPE and no project is open.

gholmer: Restarted NetBeans after uninstalling two plugins.

GUEST: open seam-gen project

gholmer: Restarted NetBeans after applying an update patch.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.common.project.ui.J2EEProjectProperties.setServerProperties(J2EEProjectProperties.java:157)
   at org.netbeans.modules.j2ee.common.project.ui.J2EEProjectProperties.updateServerProperties(J2EEProjectProperties.java:255)
   at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties$7.run(WebProjectProperties.java:919)
   at org.openide.util.Mutex.postRequest(Mutex.java:1256)
   at org.openide.util.Mutex.postWriteRequest(Mutex.java:585)
   at org.netbeans.modules.web.project.ui.customizer.WebProjectProperties.setServerInstance(WebProjectProperties.java:913)
Comment 1 gholmer 2010-12-15 14:25:44 UTC
Created attachment 104124 [details]
stacktrace
Comment 2 Martin Janicek 2011-09-07 15:16:25 UTC
http://hg.netbeans.org/web-main/rev/c4e6be627fdc
Comment 3 David Konecny 2011-09-07 22:19:37 UTC
Thanks Martin. This looks good. When you are closing issue as fixed set "Target Milestone" field to a version in which that fix will be available. In this case it is "7.1".
Comment 4 Martin Janicek 2011-09-30 11:19:37 UTC
*** Bug 202334 has been marked as a duplicate of this bug. ***