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 44841 - Exception on startup
Summary: Exception on startup
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2004-06-14 17:16 UTC by _ tboudreau
Modified: 2004-08-19 11:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2004-06-14 17:16:18 UTC
I updated and did a clean build and started NetBeans against a 
userdir that had openide open as a project.  There was a long 
delay before the main window was fully laid out, and the 
following exception eventually appeared:


Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
        at 
org.netbeans.modules.clazz.SourceElementImpl.getClass(Source
ElementImpl.java:159)
        at 
org.openide.src.SourceElement.getClass(SourceElement.java:
235)
        at 
org.netbeans.modules.java.ClassElementFinder.findInSource(Clas
sElementFinder.java:112)
        at 
org.netbeans.modules.java.ClassElementFinder.findClassInFile(Cl
assElementFinder.java:227)
        at 
org.netbeans.modules.java.ClassElementFinder.find(ClassElemen
tFinder.java:186)
        at 
org.openide.src.ClassElement.forName(ClassElement.java:925)
        at 
org.netbeans.modules.beans.PatternAnalyser.findClassElement(P
atternAnalyser.java:598)
        at 
org.netbeans.modules.beans.PatternAnalyser.resolveMethods(Pa
tternAnalyser.java:207)
        at 
org.netbeans.modules.beans.PatternAnalyser.analyzeAll(Pattern
Analyser.java:101)
        at 
org.netbeans.modules.beans.PatternChildren.refreshKeys(Patter
nChildren.java:146)
        at 
org.netbeans.modules.beans.PatternChildren$Listener.run(Patter
nChildren.java:308)
        at org.openide.util.Task.run(Task.java:136)
        at 
org.openide.util.RequestProcessor$Task.run(RequestProcessor.ja
va:330)
[catch] at 
org.openide.util.RequestProcessor$Processor.run(RequestProces
sor.java:686)
Warning: org.netbeans.core.NbSheet should override 
preferredId()
Comment 1 Martin Matula 2004-07-28 12:38:36 UTC
Reassigning to Dan.
Comment 2 Tomas Hurka 2004-08-19 11:15:55 UTC
Fixed in trunk.

User: dprusa  
  Date: 04/06/17 08:26:46

  Modified:    src/org/netbeans/modules/clazz ClassElementImpl.java
  Log:
  createName method fixed
  
  Revision  Changes    Path
  1.42      +1 -1      clazz/src/org/netbeans/modules/clazz/ClassElementImpl.java