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 22636 - NullPointerException at org.openide.src.ConstructorElement$Key.hashCode(ConstructorElement.java:258)
Summary: NullPointerException at org.openide.src.ConstructorElement$Key.hashCode(Const...
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: _ ttran
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-19 17:19 UTC by Martin Schovanek
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

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 Martin Schovanek 2002-04-19 17:19:37 UTC
[Nb Build 200204190100, jdk 1.4.0]

Steps to reproduce:
-------------------
1) type somwhere in Java Editor:
        FileObject fo;
        fo.getC
2) press Ctrl-Space

IDE throws:

Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
        at
org.openide.src.ConstructorElement$Key.hashCode(ConstructorElement.java:258)
        at
org.openide.src.MethodElement$Key.hashCode(MethodElement.java:205)
        at java.util.HashMap.hash(HashMap.java:250)
        at java.util.HashMap.get(HashMap.java:301)
        at
org.netbeans.modules.clazz.ClassElementImpl.getMethod(ClassElementImpl.java:190)
        at
org.openide.src.ClassElement.getMethod(ClassElement.java:499)
        at
org.netbeans.modules.editor.java.NbCompletionJavaDoc.parseLink(NbCompletionJavaDoc.java:320)
        at
org.netbeans.editor.ext.CompletionJavaDoc.createAnchor(CompletionJavaDoc.java:437)
        at
org.netbeans.editor.ext.CompletionJavaDoc.prepareJavaDocContent(CompletionJavaDoc.java:556)
        at
org.netbeans.modules.editor.java.NbCompletionJavaDoc$ParsingThread.setMethod(NbCompletionJavaDoc.java:441)
        at
org.netbeans.modules.editor.java.NbCompletionJavaDoc$ParsingThread.run(NbCompletionJavaDoc.java:510)
        at org.openide.util.Task.run(Task.java:138)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 1 Jan Zajicek 2002-05-07 14:06:41 UTC
Correcting Version field.
Comment 2 _ ttran 2002-07-01 16:38:25 UTC
fixed for 3.4
Comment 3 Martin Schovanek 2003-07-16 15:45:57 UTC
VERIFIED
Comment 4 Quality Engineering 2007-09-20 09:58:00 UTC
Reorganization of java component