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 180533

Summary: NullPointerException at org.openide.filesystems.FileUtil.toFile
Product: contrib Reporter: marcosjunqueira <marcosjunqueira>
Component: PortalpackAssignee: Satyaranjan D <satyaranjan>
Status: NEW ---    
Severity: normal CC: adben, braiam, handy79, jglick, roti
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 147557
Attachments: stacktrace

Description marcosjunqueira 2010-02-10 05:02:11 UTC
Build: NetBeans IDE 6.8 (Build 200912041610)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04
OS: Windows 7

User Comments:
GUEST: Opening a Maven project followed by Properties -> Frameworks.

GUEST: In the properties windows of a project, I'm trying to select the Frameworks option for adding a framework to a Maven Webproject.

marcosjunqueira: Click on Framework tab on project properties window in a Maven Web Project.




Stacktrace: 
java.lang.NullPointerException
   at org.openide.filesystems.FileUtil.toFile(FileUtil.java:921)
   at org.netbeans.modules.portalpack.portlets.genericportlets.frameworks.jsr168.JSR168WebFrameworkProvider.isInWebModule(JSR168WebFrameworkProvider.java:140)
   at org.netbeans.modules.maven.webframeworks.WebFrameworksPanel.initFrameworksList(WebFrameworksPanel.java:153)
   at org.netbeans.modules.maven.webframeworks.WebFrameworksPanel.<init>(WebFrameworksPanel.java:103)
   at org.netbeans.modules.maven.webframeworks.WebFrameworksPanelProvider.createComponent(WebFrameworksPanelProvider.java:77)
   at org.netbeans.spi.project.ui.support.ProjectCustomizer$DelegateCategoryProvider.create(ProjectCustomizer.java:682)
Comment 1 marcosjunqueira 2010-02-10 05:02:18 UTC
Created attachment 94034 [details]
stacktrace
Comment 2 roti 2010-10-08 12:06:46 UTC
still in 6.9.1
Comment 3 Jesse Glick 2010-10-08 16:13:41 UTC
Please do not move Version fields forward. Bugs are assumed to exist in all later versions until fixed.