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 50931 - NPE from ClassDependencyImpl.java:531
Summary: NPE from ClassDependencyImpl.java:531
Status: RESOLVED DUPLICATE of bug 49845
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-27 22:15 UTC by isullivan
Modified: 2007-09-26 09:14 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 isullivan 2004-10-27 22:15:47 UTC
I know this is pretty vauge, but it happened as
soon as I started typing and I didn't see an issue
like this one already entered.

I'm using:
Product Version: Netbeans IDE Dev 4.0 Beta 2
(Build 200409220845)
Java: 1.5.0 

I finally got my 3.6 project into 4.0 and when I
compiled with -Xlint:unchecked I found all my
collections that needed to be typed. I clicked on
the first [unchecked] output line. Then I went to
the List declaration and typed < to start adding
the type information. That's when I got this
exception.


Annotation: Exception occurred in Request Processor
java.lang.NullPointerException
	at
org.netbeans.modules.java.codesync.ClassDependencyImpl.getMethodElement(ClassDependencyImpl.java:531)
	at
org.netbeans.modules.java.codesync.ClassDependencyImpl.synchronizeMethods(ClassDependencyImpl.java:940)
	at
org.netbeans.modules.java.codesync.ClassDependencyImpl.implementFromSuper(ClassDependencyImpl.java:1148)
	at
org.netbeans.modules.java.codesync.ClassDependencyImpl.access$000(ClassDependencyImpl.java:65)
	at
org.netbeans.modules.java.codesync.ClassDependencyImpl$Synchronizer.collectSupertypeMethods(ClassDependencyImpl.java:220)
	at
org.netbeans.modules.java.codesync.ClassDependencyImpl$Synchronizer.run(ClassDependencyImpl.java:210)
	at org.openide.util.Task.run(Task.java:136)
	at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:686)
Comment 1 Jaromir Uhrik 2004-11-01 16:31:26 UTC
Reassign to java|code.
Comment 2 Martin Matula 2004-11-02 17:25:41 UTC
Line numbers are different, but it is the same bug as the duplicate.

*** This issue has been marked as a duplicate of 49845 ***