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 188151 - NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.SunDescriptorDataObject.validateDocument
Summary: NullPointerException at org.netbeans.modules.j2ee.sun.ddloaders.SunDescriptor...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Vince Kraemer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 12:01 UTC by fsoares
Modified: 2010-06-30 15:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 171034


Attachments
stacktrace (875 bytes, text/plain)
2010-06-28 12:01 UTC, fsoares
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fsoares 2010-06-28 12:01:18 UTC
Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Linux

User Comments:
fsoares: Every buid or run gives me this exception




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.j2ee.sun.ddloaders.SunDescriptorDataObject.validateDocument(SunDescriptorDataObject.java:509)
   at org.netbeans.modules.j2ee.sun.ddloaders.DDMultiViewDataObject$ModelSynchronizer.updateData(DDMultiViewDataObject.java:258)
   at org.netbeans.modules.j2ee.sun.ddloaders.DDMultiViewDataObject.writeModel(DDMultiViewDataObject.java:139)
   at org.netbeans.modules.j2ee.sun.ddloaders.DDMultiViewDataObject.writeModel(DDMultiViewDataObject.java:128)
   at org.netbeans.modules.j2ee.sun.dd.impl.web.SunWebAppProxy.write(SunWebAppProxy.java:766)
   at org.netbeans.modules.glassfish.eecommon.api.config.GlassfishConfiguration$1.run(GlassfishConfiguration.java:624)
Comment 1 fsoares 2010-06-28 12:01:23 UTC
Created attachment 100452 [details]
stacktrace
Comment 2 Vince Kraemer 2010-06-28 13:43:08 UTC
what kind of project are you building/running?

What is the target server... if the project has a target server?

Is the project ant or maven based?
Comment 3 fsoares 2010-06-28 17:19:20 UTC
(In reply to comment #2)
> what kind of project are you building/running?
maven web project
> 
> What is the target server... if the project has a target server?
glassfish 3.0.1 (from the netbeans 6.9)
> 
> Is the project ant or maven based?
maven
Comment 4 Vince Kraemer 2010-06-28 19:38:42 UTC
I haven't been able to reproduce the issue... but there is an easy fix for this particular NPE...

Once the fix in in the dev build, please let me know if there are other issues that you encounter.
Comment 5 fsoares 2010-06-29 08:29:20 UTC
(In reply to comment #4)
> I haven't been able to reproduce the issue... but there is an easy fix for this
> particular NPE...
> 
> Once the fix in in the dev build, please let me know if there are other issues
> that you encounter.

Thanks.
It's only a annoying exception. I can build, deploy and run the project.
Comment 6 Quality Engineering 2010-06-30 03:18:48 UTC
Integrated into 'main-golden', will be available in build *201006300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/403384a308cf
User: vince kraemer <vkraemer@netbeans.org>
Log: #188151: NPE
Comment 7 Vince Kraemer 2010-06-30 15:40:53 UTC
in the dev build