Groovy Inspect doesn't work when debugging tomcat 7 within Eclipse

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Groovy Inspect doesn't work when debugging tomcat 7 within Eclipse

Jason Cheatham

I installed the STS for Eclipse Luna, below are the details of what I have installed.

If I run "Debug as - Groovy Script" on a groovy file with a main method, then from within a breakpoint, I can run Inspect (Groovy)  and it works fine.

I've got a tomcat 7 server set up in Eclipse, and if I debug my application, and try to run Inspect (Groovy), then I get an error popup:

Error Evaluating
   java.lang.NullPointerException.

Any ideas?  Thanks,
Jason

  Eclipse IDE for Java EE Developers 4.4.0.20140612-0500 epp.package.jee null
  Grails IDE 3.6.1.201407221348-CI-B807 org.grails.ide.eclipse.feature.group Pivotal Software, Inc.
  Groovy Compiler 1.8 Feature 2.9.0.xx-201407142235-e44-RELEASE org.codehaus.groovy18.feature.feature.group Codehaus.org
  Groovy Compiler 2.0 Feature 2.9.0.xx-201407142235-e44-RELEASE org.codehaus.groovy20.feature.feature.group Codehaus.org
  Groovy Compiler 2.2 Feature 2.9.0.xx-201407142235-e44-RELEASE org.codehaus.groovy22.feature.feature.group Codehaus.org
  JBossAS Tools 3.0.0.Beta3-v20140718-1832-B70 org.jboss.ide.eclipse.as.feature.feature.group JBoss by Red Hat
  Spring IDE AOP Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.aop.feature.feature.group Spring IDE Developers
  Spring IDE Autowire Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.autowire.feature.feature.group Spring IDE Developers
  Spring IDE Batch Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.batch.feature.feature.group Spring IDE Developers
  Spring IDE Core (required) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.feature.feature.group Spring IDE Developers
  Spring IDE Integration, Flex and Web Services Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.integration.feature.feature.group Spring IDE Developers
  Spring IDE Maven Support 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.maven.feature.feature.group Spring IDE Developers
  Spring IDE OSGi Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.osgi.feature.feature.group Spring IDE Developers
  Spring IDE Roo Support 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.roo.feature.feature.group Spring IDE Developers
  Spring IDE Security Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.security.feature.feature.group Spring IDE Developers
  Spring IDE Spring Data Support 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.data.feature.feature.group Spring IDE Developers
  Spring IDE Web Flow Extension (optional) 3.6.1.201408031220-CI-B728 org.springframework.ide.eclipse.webflow.feature.feature.group Spring IDE Developers