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 83423

Summary: NullPointerException: Attempted to pass a null filename to resolveFile
Product: javaee Reporter: davidkayak <davidkayak>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: messages.log file for Null Pointer on Resolve

Description davidkayak 2006-08-24 19:02:42 UTC
I was editing the private.properties file in the nbproject/private directory
under my project.  I deleted 3 reference entries and saved the file. Two of the
entries did not show up in my libraries listing and no reslove issue was noted
on the project. The third existed but I wanted to clean it up and try again to
add the library.

java.lang.NullPointerException: Attempted to pass a null filename to resolveFile
	at
org.netbeans.spi.project.support.ant.AntProjectHelper.resolveFile(AntProjectHelper.java:1074)
	at
org.netbeans.modules.web.project.ui.LibrariesNode$LibrariesChildren.getKeys(LibrariesNode.java:394)
	at
org.netbeans.modules.web.project.ui.LibrariesNode$LibrariesChildren.getKeys(LibrariesNode.java:308)
	at
org.netbeans.modules.web.project.ui.LibrariesNode$LibrariesChildren.access$000(LibrariesNode.java:191)
	at
org.netbeans.modules.web.project.ui.LibrariesNode$LibrariesChildren$1.run(LibrariesNode.java:252)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 davidkayak 2006-08-24 19:03:36 UTC
Created attachment 33260 [details]
messages.log file for Null Pointer on Resolve
Comment 2 Jiri Kovalsky 2006-08-31 13:37:48 UTC
Okay, reassigning to web component for further investigation. Thanks for your
bug report!
Comment 3 Jiri Kovalsky 2006-08-31 13:38:29 UTC
This belongs to project subcomponent.
Comment 4 Radko Najman 2006-09-11 20:20:01 UTC
Accepted, reproduced.

It is not a preferred way to directly edit project properties files. You should
use properties dialog or Remove action on nodes under Libraries node.
Comment 5 Jiri Prox 2008-04-11 01:14:53 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 6 Quality Engineering 2009-12-21 05:28:04 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team