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 61553 - NullPointerException on application startup
Summary: NullPointerException on application startup
Status: RESOLVED WONTFIX
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jan Chalupa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 17:54 UTC by nuttycombe
Modified: 2005-08-01 16:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Log file containing initial error (308.18 KB, text/plain)
2005-07-29 17:55 UTC, nuttycombe
Details
Log file from subsequent restart attempt (67.09 KB, text/plain)
2005-07-29 17:55 UTC, nuttycombe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nuttycombe 2005-07-29 17:54:32 UTC
While editing Java source code, I found that the "find usages" option seemed to
have stopped working. After being unable to find a workaround, I decided to
close and restart NetBeans to see if that would fix the problem. Upon restart, I
received a NullPointerException:

A java.lang.NullPointerException exception has occurred.
Please report this at http://www.netbeans.org/issues.html,
including a copy of your messages.log file as an attachment.
The messages.log file is located in your /home/kjn/.netbeans/4.1/var/log folder.

After clicking "OK" in response to this message, NetBeans remained in an
unusable state. Subsequent restart attempts have also failed.
Comment 1 nuttycombe 2005-07-29 17:55:36 UTC
Created attachment 23369 [details]
Log file containing initial error
Comment 2 nuttycombe 2005-07-29 17:55:59 UTC
Created attachment 23370 [details]
Log file from subsequent restart attempt
Comment 3 nuttycombe 2005-07-29 18:07:15 UTC
Deleting and re-installing the mevenide plugin appears to have corrected the
problem.
Comment 4 nuttycombe 2005-07-29 18:13:48 UTC
The error with "find usages" appears to be persisting. Stack trace:

Annotation: Exception occurred in Request Processor
IO error scanning directory /home/lost+found
	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:642)
	at org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:703)
	at org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:572)
	at
org.mevenide.netbeans.project.SubprojectProviderImpl.getSubprojects(SubprojectProviderImpl.java:74)
	at org.netbeans.modules.refactoring.classpath.Util.getSubprojects(Util.java:68)
	at org.netbeans.modules.refactoring.classpath.Util.getSuperprojects(Util.java:87)
	at
org.netbeans.modules.refactoring.classpath.RefactoringClassPathImplementation.getRelevantProjects(RefactoringClassPathImplementation.java:161)
	at
org.netbeans.modules.refactoring.classpath.RefactoringClassPathImplementation.computeDependencies(RefactoringClassPathImplementation.java:134)
	at
org.netbeans.modules.refactoring.classpath.RefactoringClassPathImplementation.createResources(RefactoringClassPathImplementation.java:97)
	at
org.netbeans.modules.refactoring.classpath.RefactoringClassPathImplementation.getResources(RefactoringClassPathImplementation.java:64)
	at org.netbeans.api.java.classpath.ClassPath.entries(ClassPath.java:209)
	at org.netbeans.api.java.classpath.ClassPath.toString(ClassPath.java:455)
	at java.lang.String.valueOf(String.java:2577)
	at java.lang.StringBuffer.append(StringBuffer.java:220)
	at
org.netbeans.modules.javacore.classpath.FilterClassPathImplementation.getKey(FilterClassPathImplementation.java:191)
	at
org.netbeans.modules.javacore.classpath.FilterClassPathImplementation.createClassPath(FilterClassPathImplementation.java:199)
	at
org.netbeans.modules.javacore.ExclusiveMutex.setClassPath(ExclusiveMutex.java:418)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:380)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:375)
	at org.netbeans.modules.javacore.JMManager.setClassPath(JMManager.java:384)
	at org.netbeans.modules.javacore.api.JavaModel.setClassPath(JavaModel.java:44)
	at org.netbeans.modules.refactoring.classpath.Util.setClassPath(Util.java:164)
	at org.netbeans.modules.refactoring.classpath.Util.setClassPath(Util.java:132)
	at
org.netbeans.modules.refactoring.api.WhereUsedQuery.setClassPath(WhereUsedQuery.java:117)
	at
org.netbeans.modules.refactoring.api.AbstractRefactoring.setCP(AbstractRefactoring.java:187)
	at
org.netbeans.modules.refactoring.api.AbstractRefactoring.preCheck(AbstractRefactoring.java:109)
	at
org.netbeans.modules.refactoring.spi.ui.ParametersPanel$8.run(ParametersPanel.java:419)
	at org.openide.util.Task.run(Task.java:189)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:721)

What on earth is this looking in lost+found for???
Comment 5 _ lcincura 2005-08-01 16:27:31 UTC
Please report the issue against mevenide component.