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 196458 - [70cat] NullPointerException at org.netbeans.modules.groovy.support.debug.DebugUtils.getJspPath
Summary: [70cat] NullPointerException at org.netbeans.modules.groovy.support.debug.Deb...
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
: 188065 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-08 22:38 UTC by narve
Modified: 2011-12-07 12:13 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 147166


Attachments
stacktrace (3.82 KB, text/plain)
2011-03-08 22:38 UTC, narve
Details
stacktrace (716 bytes, text/plain)
2011-04-04 19:06 UTC, rohitbrai
Details
stacktrace (716 bytes, text/plain)
2011-04-04 19:09 UTC, rohitbrai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description narve 2011-03-08 22:38:55 UTC
Build: NetBeans IDE Dev (Build 201103080000)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
GUEST: Trying to set a breakpoint

GUEST: Created a new Groovy class and a constructor. Then clicked in the grey bar in the left margin.

GUEST: Trying to set a breakpoint

GUEST: trying to see why NetBeans thought an import was a problem, right clicked the import in question.

GUEST: Issued grails command from IDE to generate templates for Grails app.  Under Files tab, opened DomainClass.groovy under templates/artifacts.  Set a breakpoint in code and received error.

GUEST: I was working on a Grails project and tried to attach the debugger to soon (grails app wasn't run yet). Later I tried to set a breakpoint and the exception occurred.

narve: tried to set a breakpoint in a groovy file (in a maven java project). this wasn't slow - an immediate slowitemexception :)

GUEST: Opening a project ... all it does it sit there and say 'Scanning projects'

GUEST: editing a templete

GUEST: Cutting and pasting in a groovy file

GUEST: Wow it crashes all the time on OS X

GUEST: omg omg omg omg

GUEST: omg




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.groovy.support.debug.DebugUtils.getJspPath(DebugUtils.java:110)
   at org.netbeans.modules.groovy.support.debug.GroovyLineBreakpoint.<init>(GroovyLineBreakpoint.java:108)
   at org.netbeans.modules.groovy.support.debug.GroovyLineBreakpoint.create(GroovyLineBreakpoint.java:132)
   at org.netbeans.modules.groovy.support.debug.GroovyToggleBreakpointActionProvider.doAction(GroovyToggleBreakpointActionProvider.java:118)
   at org.netbeans.spi.debugger.ActionsProvider$1.run(ActionsProvider.java:128)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
Comment 1 narve 2011-03-08 22:38:58 UTC
Created attachment 106834 [details]
stacktrace
Comment 2 rohitbrai 2011-04-04 19:06:43 UTC
Created attachment 107485 [details]
stacktrace
Comment 3 rohitbrai 2011-04-04 19:09:43 UTC
Created attachment 107486 [details]
stacktrace
Comment 4 Martin Janicek 2011-12-02 14:00:25 UTC
*** Bug 188065 has been marked as a duplicate of this bug. ***
Comment 5 Martin Janicek 2011-12-02 14:01:33 UTC
Setting TM = 7.2 .. it has a lot of duplicates, I'll take a look at this later.
Comment 6 Martin Janicek 2011-12-06 08:45:59 UTC
Fixed in: web-main #302d686f5422
Comment 7 Quality Engineering 2011-12-07 12:13:15 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/302d686f5422
User: Martin Janicek <mjanicek@netbeans.org>
Log: #196458 - [70cat] NullPointerException at org.netbeans.modules.groovy.support.debug.DebugUtils.getJspPath