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 56268 - NPE synchronizing anonymous inner class
Summary: NPE synchronizing anonymous inner class
Status: RESOLVED DUPLICATE of bug 56343
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-11 13:14 UTC by vtec
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
NPE StackTrace (2.61 KB, text/plain)
2005-03-11 13:19 UTC, vtec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description vtec 2005-03-11 13:14:50 UTC
I have invoked "Synchronize" tool to add a method into method-scoped inner class
in situation like this:

public void testValidStatusListener() {
//  ... some code
    class TestListener implements ValidStatusListener {
                
    }
}

After confirming the "Synchronize" dialog I got NPE
Comment 1 vtec 2005-03-11 13:19:21 UTC
Created attachment 20782 [details]
NPE StackTrace
Comment 2 vtec 2005-03-11 13:21:15 UTC
My build number is 200503061900 running JDK1.5.0
Comment 3 Martin Matula 2005-03-16 22:11:41 UTC

*** This issue has been marked as a duplicate of 56343 ***
Comment 4 Quality Engineering 2007-09-20 12:49:15 UTC
Reorganization of java component