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 174273 - NullPointerException at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.updateResourceAttributes
Summary: NullPointerException at org.netbeans.modules.j2ee.sun.api.restricted.Resource...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-10 04:56 UTC by roger_nak
Modified: 2009-10-22 23:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 145413


Attachments
stacktrace (1.83 KB, text/plain)
2009-10-10 04:56 UTC, roger_nak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description roger_nak 2009-10-10 04:56:09 UTC
Build: NetBeans IDE 6.7.1 (Build 200907230233)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.updateResourceAttributes(ResourceUtils.java:298)
        at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.isResourceUpdated(ResourceUtils.java:264)
        at org.netbeans.modules.j2ee.sun.api.restricted.ResourceUtils.register(ResourceUtils.java:162)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.Utils.registerIndvResources(Utils.java:242)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.Utils.registerSunResources(Utils.java:221)
        at org.netbeans.modules.j2ee.sun.ide.j2ee.Utils.registerResources(Utils.java:194)
Comment 1 roger_nak 2009-10-10 04:56:13 UTC
Created attachment 89244 [details]
stacktrace
Comment 2 Exceptions Reporter 2009-10-10 04:56:18 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=145413
Comment 3 Nitya Doraisamy 2009-10-10 05:19:31 UTC
Could you provide the steps that resulted in this exception. Also, could you attach the sun-resources.xml in the
associated project?
Comment 4 Nitya Doraisamy 2009-10-22 02:19:48 UTC
Fixed
http://hg.netbeans.org/web-main/rev/551e101d1bf8
Comment 5 Quality Engineering 2009-10-22 23:49:26 UTC
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/551e101d1bf8
User: nityad@netbeans.org
Log: #174273 : check for null value while getting attributes from server