Author | Message | Time |
---|---|---|
St0rm.iD | EDIT - just noticed I posted this in botdev by accident... Here's the best error message I've ever gotten, period. One error. [code] java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Direct ColorModel.java:999) at java.awt.image.BufferedImage.<init>(BufferedImage.java:259) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructo r.java) at org.python.core.PyJavaInstance.__init__(PyJavaInstance.java) at org.python.core.PyJavaClass.__call__(PyJavaClass.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject.invoke(PyObject.java) at gui$py.toBufferedImage$1(F:\Projects\501games\pydarts\darts\gui.py:15 ) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at gui$py.__init__$13(F:\Projects\501games\pydarts\darts\gui.py:74) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.__init__(PyInstance.java) at org.python.core.PyClass.__call__(PyClass.java) at org.python.core.PyObject.__call__(PyObject.java) at gui$py.draw_new_dart$21(F:\Projects\501games\pydarts\darts\gui.py:118 ) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at gui$py.on_event$18(F:\Projects\501games\pydarts\darts\gui.py:106) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_event$7(F:\Projects\501games\pydarts\darts\reactor.py: 27) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_events$6(F:\Projects\501games\pydarts\darts\reactor.py :21) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at reactor$py.announce_event$5(F:\Projects\501games\pydarts\darts\reacto r.py:17) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject.invoke(PyObject.java) at org.python.pycode._pyx0.broadcast$6(DartsGame.py:56) at org.python.pycode._pyx0.call_function(DartsGame.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at localtest$py.broadcast$4(F:\Projects\501games\pydarts\darts\localtest .py:9) at localtest$py.call_function(F:\Projects\501games\pydarts\darts\localte st.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at server$py.on_event$3(C:\Python23\projects\501games\pydarts\darts\serv er.py:23) at server$py.call_function(C:\Python23\projects\501games\pydarts\darts\s erver.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_event$7(F:\Projects\501games\pydarts\darts\reactor.py: 27) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_events$6(F:\Projects\501games\pydarts\darts\reactor.py :21) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at reactor$py.announce_event$5(F:\Projects\501games\pydarts\darts\reacto r.py:17) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject.invoke(PyObject.java) at gui$py.hitbuttonClicked$25(F:\Projects\501games\pydarts\darts\gui.py: 156) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyCompoundCallable.__call__(PyCompoundCallable.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject._jcallexc(PyObject.java) at org.python.core.PyObject._jcall(PyObject.java) at org.python.proxies.java.awt.event.ActionListener$Adapter.actionPerfor med(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17 86) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra ctButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:245) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) [/code] | July 22, 2004, 11:09 PM |
idoL | [quote author=$t0rm link=board=17;threadid=7826;start=0#msg71956 date=1090537741] EDIT - just noticed I posted this in botdev by accident... Here's the best error message I've ever gotten, period. One error. [code] java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0 at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Direct ColorModel.java:999) at java.awt.image.BufferedImage.<init>(BufferedImage.java:259) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct orAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC onstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:274) at org.python.core.PyReflectedConstructor.__call__(PyReflectedConstructo r.java) at org.python.core.PyJavaInstance.__init__(PyJavaInstance.java) at org.python.core.PyJavaClass.__call__(PyJavaClass.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject.invoke(PyObject.java) at gui$py.toBufferedImage$1(F:\Projects\501games\pydarts\darts\gui.py:15 ) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at gui$py.__init__$13(F:\Projects\501games\pydarts\darts\gui.py:74) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.__init__(PyInstance.java) at org.python.core.PyClass.__call__(PyClass.java) at org.python.core.PyObject.__call__(PyObject.java) at gui$py.draw_new_dart$21(F:\Projects\501games\pydarts\darts\gui.py:118 ) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at gui$py.on_event$18(F:\Projects\501games\pydarts\darts\gui.py:106) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_event$7(F:\Projects\501games\pydarts\darts\reactor.py: 27) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_events$6(F:\Projects\501games\pydarts\darts\reactor.py :21) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at reactor$py.announce_event$5(F:\Projects\501games\pydarts\darts\reacto r.py:17) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject.invoke(PyObject.java) at org.python.pycode._pyx0.broadcast$6(DartsGame.py:56) at org.python.pycode._pyx0.call_function(DartsGame.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at localtest$py.broadcast$4(F:\Projects\501games\pydarts\darts\localtest .py:9) at localtest$py.call_function(F:\Projects\501games\pydarts\darts\localte st.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at server$py.on_event$3(C:\Python23\projects\501games\pydarts\darts\serv er.py:23) at server$py.call_function(C:\Python23\projects\501games\pydarts\darts\s erver.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_event$7(F:\Projects\501games\pydarts\darts\reactor.py: 27) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject._callextra(PyObject.java) at reactor$py.run_events$6(F:\Projects\501games\pydarts\darts\reactor.py :21) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyInstance.invoke(PyInstance.java) at reactor$py.announce_event$5(F:\Projects\501games\pydarts\darts\reacto r.py:17) at reactor$py.call_function(F:\Projects\501games\pydarts\darts\reactor.p y) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject.invoke(PyObject.java) at gui$py.hitbuttonClicked$25(F:\Projects\501games\pydarts\darts\gui.py: 156) at gui$py.call_function(F:\Projects\501games\pydarts\darts\gui.py) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyTableCode.call(PyTableCode.java) at org.python.core.PyFunction.__call__(PyFunction.java) at org.python.core.PyMethod.__call__(PyMethod.java) at org.python.core.PyCompoundCallable.__call__(PyCompoundCallable.java) at org.python.core.PyObject.__call__(PyObject.java) at org.python.core.PyObject._jcallexc(PyObject.java) at org.python.core.PyObject._jcall(PyObject.java) at org.python.proxies.java.awt.event.ActionListener$Adapter.actionPerfor med(Unknown Source) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17 86) at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra ctButton.java:1839) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel .java:420) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258 ) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL istener.java:245) at java.awt.Component.processMouseEvent(Component.java:5100) at java.awt.Component.processEvent(Component.java:4897) at java.awt.Container.processEvent(Container.java:1569) at java.awt.Component.dispatchEventImpl(Component.java:3615) at java.awt.Container.dispatchEventImpl(Container.java:1627) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483 ) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128) at java.awt.Container.dispatchEventImpl(Container.java:1613) at java.awt.Window.dispatchEventImpl(Window.java:1606) at java.awt.Component.dispatchEvent(Component.java:3477) at java.awt.EventQueue.dispatchEvent(EventQueue.java:456) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh read.java:201) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre ad.java:151) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100) [/code] [/quote] What's with all the "Python" codes? | July 22, 2004, 11:39 PM |
Tuberload | All the python codes are part of package names, which means they are probably libraries that provide python like functionality for java. Storm that is by far the longest exception stack trace I have ever seen lol. | July 23, 2004, 12:37 AM |
St0rm.iD | Here's the layering: Jython->Swing->AWT->Java->OS | July 23, 2004, 2:52 AM |
iago | It sounds like you're blaming Java for something that is "org.python.core"'s fault.. | July 23, 2004, 2:57 AM |
St0rm.iD | Yeah but it's still funny. | July 23, 2004, 2:58 AM |
idoL | [quote author=Tuberload link=board=34;threadid=7826;start=0#msg71964 date=1090543032] All the python codes are part of package names, which means they are probably libraries that provide python like functionality for java. [/quote] I see, so does Java read these packages and apply them? Or? | July 23, 2004, 5:01 AM |
Yoni | I've had similar with C++ STL code, without error message filtering utilities like STLfilt. :) | July 24, 2004, 2:09 AM |
DOOM | Now THAT is what you call an error message. :) | July 26, 2004, 1:30 AM |
Maddox | [quote author=$t0rm link=board=34;threadid=7826;start=0#msg71988 date=1090551163] Here's the layering: Jython->Swing->AWT->Java->OS [/quote] Looks unbelievably slow. | July 29, 2004, 4:45 AM |
St0rm.iD | I'm a good programmer. I made it fast. | July 29, 2004, 8:55 PM |
Maddox | You are a god among men, $t0rm. | July 29, 2004, 10:28 PM |
St0rm.iD | yeah i get that a lot. but in reality, generally i'm among women :) kidding around as always | July 29, 2004, 11:05 PM |