• Welcome to Valhalla Legends Archive.
 

i love java!

Started by Banana fanna fo fanna, July 22, 2004, 06:09 PM

Previous topic - Next topic

Banana fanna fo fanna

EDIT - just noticed I posted this in botdev by accident...

Here's the best error message I've ever gotten, period. One error.


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)


idoL

Quote from: $t0rm on July 22, 2004, 06:09 PM
EDIT - just noticed I posted this in botdev by accident...

Here's the best error message I've ever gotten, period. One error.


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)



What's with all the "Python" codes?

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.
Quote"Pray not for lighter burdens, but for stronger backs." -- Teddy Roosevelt
"Your forefathers have given you freedom, so good luck, see you around, hope you make it" -- Unknown

Banana fanna fo fanna

Here's the layering:

Jython->Swing->AWT->Java->OS

iago

It sounds like you're blaming Java for something that is "org.python.core"'s fault..
This'll make an interesting test for broken AV:
QuoteX5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*


Banana fanna fo fanna

#5
Yeah but it's still funny.

idoL

Quote from: Tuberload on July 22, 2004, 07:37 PM
All the python codes are part of package names, which means they are probably libraries that provide python like functionality for java.

I see, so does Java read these packages and apply them? Or?

Yoni

I've had similar with C++ STL code, without error message filtering utilities like STLfilt. :)

DOOM

Now THAT is what you call an error message.  :)

Maddox

#9
Quote from: $t0rm on July 22, 2004, 09:52 PM
Here's the layering:

Jython->Swing->AWT->Java->OS

Looks unbelievably slow.
asdf.

Banana fanna fo fanna

I'm a good programmer. I made it fast.

Maddox

You are a god among men, $t0rm.
asdf.

Banana fanna fo fanna

yeah i get that a lot. but in reality, generally i'm among women :)


kidding around as always