Hi all!
I am experimenting with Groovy console (GUI) attached to web
application under Tomcat.
Console is running on the same computer as Tomcat is running.
Sometimes I get NPE in Groovy's internal class ClassSet.
Has anybody seen this error before?
Stacktrace of exception:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.codehaus.groovy.reflection.ClassInfo$ClassSet.segmentFor(ClassInfo.java:272)
at org.codehaus.groovy.reflection.ClassInfo$ClassSet.get(ClassInfo.java:417)
at org.codehaus.groovy.reflection.ClassInfo$LocalMap.get(ClassInfo.java:451)
at org.codehaus.groovy.reflection.ClassInfo.getClassInfo(ClassInfo.java:111)
at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:190)
at org.codehaus.groovy.runtime.InvokerHelper.getMetaClass(InvokerHelper.java:724)
at org.codehaus.groovy.runtime.callsite.CallSite.createPojoMetaClassGetPropertySite(CallSite.java:333)
at org.codehaus.groovy.runtime.callsite.CallSite.createGetPropertySite(CallSite.java:312)
at org.codehaus.groovy.runtime.callsite.CallSite.acceptGetProperty(CallSite.java:298)
at org.codehaus.groovy.runtime.callsite.CallSite.callGetProperty(CallSite.java:290)
at groovy.ui.Console.caretUpdate(Console.groovy:278)
at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:391)
at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4389)
at javax.swing.text.JTextComponent$MutableCaretEvent.mouseReleased(JTextComponent.java:4445)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
Regards,
Sergey Bondarenko.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email