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 87046 - NPE from ServicesFileListener.getHandler
Summary: NPE from ServicesFileListener.getHandler
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: pzajac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-13 00:11 UTC by Jesse Glick
Modified: 2006-11-03 19:38 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Stack trace (2.93 KB, text/plain)
2006-10-13 00:12 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2006-10-13 00:11:41 UTC
Dev 061012 build. Had just deleted META-INF/services dir from an NBM project.
Comment 1 Jesse Glick 2006-10-13 00:12:11 UTC
Created attachment 35170 [details]
Stack trace
Comment 2 pzajac 2006-10-13 09:31:00 UTC
Strange, FileObject.getParent()  returned null either on service folder or
service file. I cannot reproduce it. I added testing on NPE. 

Checking in
src/org/netbeans/modules/apisupport/project/metainf/ServicesFileListener.java;
/cvs/apisupport/project/src/org/netbeans/modules/apisupport/project/metainf/ServicesFileListener.java,v
 <--  ServicesFileListener.java
new revision: 1.3; previous revision: 1.2
done
Checking in
test/unit/src/org/netbeans/modules/apisupport/project/metainf/ServiceNodeHandlerTest.java;
/cvs/apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/metainf/ServiceNodeHandlerTest.java,v
 <--  ServiceNodeHandlerTest.java
new revision: 1.3; previous revision: 1.2
done
Comment 3 pzajac 2006-10-13 09:49:29 UTC
Target Milestone ->DEV