groovy.lang.MissingPropertyException: No such property: net for class: Script2

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via Stack Overflow by Erik Pragt

Is thrown when you are using a variable outside of its scope or you haven't defined that variable or the variable's capital/simple changes. If that's not the case, declare a variable of that name like this ex:

def manager = "my manager" 

Solutions on the web

via GitHub by imagejan
, 1 year ago
No such property: net for class: Script2
via GitHub by pditommaso
, 1 year ago
No such property: process for class: _nf_script_401dc481
via Stack Overflow by ISZ
, 6 months ago
No such property: CLUSTER for class: init_ecs
via GitHub by mburak
, 2 years ago
No such property: dataSourceNames for class: Hibernate4GrailsPlugin
via Stack Overflow by ironmantis7x
, 2 years ago
No such property: java for class: execise2
via Stack Overflow by satish marathe
, 2 years ago
No such property: hudson for class: SonarReports
groovy.lang.MissingPropertyException: No such property: net for class: Script2
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at undefined.Script2.run(Script2.groovy:11)
at org.scijava.plugins.scripting.groovy.GroovyScriptEngine.eval(GroovyScriptEngine.java:303)
at org.scijava.plugins.scripting.groovy.GroovyScriptEngine.eval(GroovyScriptEngine.java:122)
at org.scijava.plugins.scripting.groovy.GroovyScriptEngine.eval(GroovyScriptEngine.java:114)
at org.scijava.script.ScriptModule.run(ScriptModule.java:177)
at org.scijava.module.ModuleRunner.run(ModuleRunner.java:167)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:126)
at org.scijava.module.ModuleRunner.call(ModuleRunner.java:65)
at org.scijava.thread.DefaultThreadService$2.call(DefaultThreadService.java:191)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Users with the same issue

Once, 2 days ago
2 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
7 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.