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.
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)
Created attachment 100452 [details] stacktrace
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?
(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
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.
(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.
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
in the dev build