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 135766

Summary: NullPointerException at org.netbeans.api.java.source.GeneratorUtilities.insertClassMember
Product: java Reporter: boustanihani <boustanihani>
Component: RefactoringAssignee: issues@java <issues>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=39688
Issue Type: DEFECT Exception Reporter: 39688
Attachments: stacktrace
stacktrace
stacktrace

Description boustanihani 2008-05-25 18:18:13 UTC
Build: NetBeans IDE 6.1 (Build 200804211638)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.24-16-generic, i386

User Comments:
Comment 1 boustanihani 2008-05-25 18:18:20 UTC
Created attachment 61885 [details]
stacktrace
Comment 2 javalive 2008-05-30 22:03:33 UTC
Created attachment 62192 [details]
stacktrace
Comment 3 Jan Lahoda 2008-06-09 12:07:07 UTC
Seems that null "clazz" was passed to GeneratorUtilities.insertClassMember
Comment 4 Exceptions Reporter 2008-06-12 06:52:10 UTC
This issue has already 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=39688
Comment 5 byteme 2008-06-23 14:20:40 UTC
Created attachment 63261 [details]
stacktrace
Comment 6 Jan Pokorsky 2008-07-10 14:44:24 UTC
Already fixed and published in NetBeans 6.1 patch 2. See http://wiki.netbeans.org/NetBeans61Patch2Plan for more details
about the patch.

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