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 267977

Summary: AssertionError at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods.generateAllAbstractMethodImplementations
Product: java Reporter: markiewb
Component: HintsAssignee: Svata Dedic <sdedic>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226192
Attachments: stacktrace

Description markiewb 2016-09-12 12:40:07 UTC
Build: NetBeans IDE Dev (Build 201609050002)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.92-b14, Java(TM) SE Runtime Environment, 1.8.0_92-b14
OS: Windows 7

User Comments:
markiewb: Implement abstract methods




Stacktrace: 
java.lang.AssertionError
   at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods.generateAllAbstractMethodImplementations(ImplementAllAbstractMethods.java:584)
   at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods$ImplementFixBase.generateImplementation(ImplementAllAbstractMethods.java:424)
   at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods$ImplementAbstractMethodsFix.executeRound(ImplementAllAbstractMethods.java:570)
   at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods$ImplementFixBase.run(ImplementAllAbstractMethods.java:385)
   at org.netbeans.modules.java.hints.errors.ImplementAllAbstractMethods$ImplementFixBase.run(ImplementAllAbstractMethods.java:307)
   at org.netbeans.api.java.source.JavaSource$1.run(JavaSource.java:636)
Comment 1 markiewb 2016-09-12 12:40:09 UTC
Created attachment 162013 [details]
stacktrace
Comment 2 Svata Dedic 2016-09-17 08:33:50 UTC
Any clues on source which provoked the defect ? You activated Implement all abstract methods on a class decl; was it an anonymous class - or some other special case?
Comment 3 Svata Dedic 2016-11-11 11:58:21 UTC
Waiting for further info/similar reports.