User c1ce6b3d19
14-11-2012 21:22:20
I tried to add @grabresolver and @grab code on top of the Schema connect/disconnect script.
@GrabResolver(name = 'foo', root = 'http://somePlace')
@Grab(group = 'bar', module = 'test', version = '1.0')
import org.openide.NotifyDescriptor
import org.openide.DialogDisplayer
...
on_connect { schema,user ->
...
I then disconnected and tried to reconnect.
This is the error I got. Now I am unable to connect to the schema to even remove the code!!
java.lang.IllegalStateException: parseScript() was not called yet?
at com.google.common.base.Preconditions.checkState(Preconditions.java:149)
at com.im.ijc.groovy.GroovyScriptHandler.callClosureByName(GroovyScriptHandler.java:107)
at com.im.ijc.scripting.api.Script.callClosureByName(Script.java:79)
at com.im.df.impl.db.sprovider.RunInitScriptState.proceedToNextState(RunInitScriptState.java:63)
at com.im.df.impl.db.sprovider.ProxyState.proceedToNextState(ProxyState.java:57)
at com.im.df.impl.db.sprovider.SchemaProviderImpl.proceedToNextState(SchemaProviderImpl.java:124)
at com.im.ijc.core.api.util.SchemaInitManager.startInit(SchemaInitManager.java:245)
at com.im.ijc.core.api.util.SchemaInitManager.access$000(SchemaInitManager.java:55)
[catch] at com.im.ijc.core.api.util.SchemaInitManager$1.run(SchemaInitManager.java:87)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1411)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1991)