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 219642 - NullPointerException: The fo parameter cannot be null
Summary: NullPointerException: The fo parameter cannot be null
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-06 18:05 UTC by Jesse Glick
Modified: 2012-10-09 02:06 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 193168


Attachments
stacktrace (8.04 KB, text/plain)
2012-10-06 18:05 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-10-06 18:05:49 UTC
Build: NetBeans IDE Dev (Build 20121002-931556ce6d80)
VM: Java HotSpot(TM) Client VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

User Comments:
jglick: No src/main/resources in module project.




Stacktrace: 
java.lang.NullPointerException: The fo parameter cannot be null
   at org.openide.util.Parameters.notNull(Parameters.java:89)
   at org.openide.filesystems.FileUtil.isParentOf(FileUtil.java:1601)
   at org.netbeans.modules.maven.apisupport.MavenNbModuleImpl.getResourceDirectoryPath(MavenNbModuleImpl.java:273)
   at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles$LayerModifications.getCreatedPaths(CreatedModifiedFiles.java:951)
   at org.netbeans.modules.apisupport.project.ui.wizard.common.CreatedModifiedFiles.add(CreatedModifiedFiles.java:318)
   at org.netbeans.modules.apisupport.project.ui.wizard.layer.NewLayerIterator.createPanels(NewLayerIterator.java:63)
Comment 1 Jesse Glick 2012-10-06 18:05:53 UTC
Created attachment 125514 [details]
stacktrace
Comment 2 Milos Kleint 2012-10-08 11:09:44 UTC
http://hg.netbeans.org/core-main/rev/595efd6b6fbd
Comment 3 Quality Engineering 2012-10-09 02:06:13 UTC
Integrated into 'main-golden', will be available in build *201210090002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/595efd6b6fbd
User: Milos Kleint <mkleint@netbeans.org>
Log: #219642 resource path FileObject can be null