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 55657

Summary: Add method action does not work
Product: java Reporter: Pavel Buzek <pbuzek>
Component: UnsupportedAssignee: Martin Matula <mmatula>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P3    
Version: 4.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Attachments: exceptions

Description Pavel Buzek 2005-03-01 06:27:47 UTC
I am trying to add a method to an interface, using
Add Method action on Methods node. I change just
the name of method (foo) and hit Ok. first, it
takes forever...

once I got an NPE from java.ui.nodes.element..,
second time it did nothing.

Ok, trying it on another interface - I got an
exception from jmi....

I am back to typing :-)
Comment 1 Pavel Buzek 2005-03-01 06:28:33 UTC
Created attachment 20567 [details]
exceptions
Comment 2 Martin Matula 2005-03-01 09:52:43 UTC
Seems to be related to issue 55412.
Comment 3 Martin Matula 2005-03-01 14:00:40 UTC
Fixed together with issue 55412.

Checking in
src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v
 <--  ResourceImpl.java
new revision: 1.70; previous revision: 1.69
done