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 56343 - [41cat] Override methods throws NPE
Summary: [41cat] Override methods throws NPE
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: Other Linux
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 56268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-03-14 03:19 UTC by johnzoet
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (150.58 KB, text/plain)
2005-03-14 03:20 UTC, johnzoet
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johnzoet 2005-03-14 03:19:57 UTC
[ JDK VERSION : 1.5.0_01 ]

I add a anonymous class for ParentListener. 
ParentListener has not been imported yet. 
When I click on Ctrl-i lots of methods are 
shown. 
I realize this is due to the IDE now recognizing 
ParentLister. 
I import class ParentListener by aLT-sHIFT-F 
Thereafter ctrl-i , select 1 method and click on 
ok. 
Thereafter editor throws NullPointerException.
Comment 1 johnzoet 2005-03-14 03:20:44 UTC
Created attachment 20808 [details]
messages.log
Comment 2 Martin Roskanin 2005-03-14 09:17:47 UTC
Reassigning to java module
Comment 3 Martin Matula 2005-03-16 22:09:31 UTC
Dan, I fixed MDR bug related to this (causing errors when commiting the
transaction). Now you should be able to fix it.

Checking in src/org/netbeans/mdr/storagemodel/StorableObject.java;
/cvs/mdr/src/org/netbeans/mdr/storagemodel/StorableObject.java,v  <-- 
StorableObject.java
new revision: 1.42; previous revision: 1.41
done
Comment 4 Martin Matula 2005-03-16 22:11:40 UTC
*** Issue 56268 has been marked as a duplicate of this issue. ***
Comment 5 Daniel Prusa 2005-03-17 08:54:23 UTC
/cvs/java/src/org/netbeans/modules/java/tools/OverrideAction.java,v  <-- 
OverrideAction.java
new revision: 1.24; previous revision: 1.23
Comment 6 Quality Engineering 2007-09-20 10:55:34 UTC
Reorganization of java component