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 236562

Summary: NullPointerException at org.netbeans.modules.groovy.editor.api.Methods.getMethodParams
Product: groovy Reporter: vkhashin
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 204282
Attachments: stacktrace

Description vkhashin 2013-09-30 16:55:05 UTC
This issue was reported manually by vkhashin.
It already has 1 duplicates 


Build: NetBeans IDE 7.4 RC1 (Build 201309162201)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Linux

User Comments:
vkhashin: Try to find usages of groovy class method




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.groovy.editor.api.Methods.getMethodParams(Methods.java:213)
   at org.netbeans.modules.groovy.editor.api.Methods.hasSameParameters(Methods.java:189)
   at org.netbeans.modules.groovy.refactoring.findusages.impl.FindMethodUsagesVisitor.visitConstructorOrMethod(FindMethodUsagesVisitor.java:113)
   at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitMethod(ClassCodeVisitorSupport.java:123)
   at org.codehaus.groovy.ast.ClassNode.visitContents(ClassNode.java:1056)
   at org.codehaus.groovy.ast.ClassCodeVisitorSupport.visitClass(ClassCodeVisitorSupport.java:50)
Comment 1 vkhashin 2013-09-30 16:55:06 UTC
Created attachment 140667 [details]
stacktrace
Comment 2 vkhashin 2013-09-30 17:25:39 UTC
*** Bug 236564 has been marked as a duplicate of this bug. ***
Comment 3 vkhashin 2013-09-30 17:26:31 UTC
*** Bug 236563 has been marked as a duplicate of this bug. ***
Comment 4 Martin Janicek 2013-10-01 08:52:17 UTC
Fixed by change-set: web-main #dbc75319c7ab