AWT Exceptions on Windows 7

21 views
Skip to first unread message

Nathan Sorenson

unread,
Feb 25, 2011, 2:44:10 AM2/25/11
to limelight
Just to let you know, I'm running from the HEAD, latest revision
(latest JVM 1.6, latest Jruby, etc). The project builds fine on
Windows 7 (64 bit), as long as I remove the apple os related folder.
However, launching a production gives me the following exception after
the window appears:

Exception in thread "AWT-EventQueue-0"
java.lang.IllegalArgumentException: Width
(0) and height (0) cannot be <= 0
at
java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at
limelight.BufferedImagePool.allocateNewBufferedImage(Unknown Source)
at limelight.BufferedImagePool.acquire(Unknown Source)
at limelight.ui.model.PaintJob.<init>(Unknown Source)
at limelight.background.PanelPainterLoop.doPaintJob(Unknown
Source)
at limelight.ui.model.StageFrame.paint(Unknown Source)

Everything is blank at that point.
A test failed when building limelight, which may or may not be
relevant:

[junit] Running limelight.MainTest
[junit] Testsuite: limelight.MainTest
[junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 0.073
sec
[junit] Tests run: 3, Failures: 1, Errors: 0, Time elapsed: 0.073
sec
[junit]
[junit] Testcase:
testFrameManagerIsAddedToContext(limelight.MainTest):
FAILED
[junit] null
[junit] junit.framework.AssertionFailedError: null
[junit] at
limelight.MainTest.testFrameManagerIsAddedToContext(Unknown S
ource)
[junit]
[junit]
C:/Users/Nathan/src/limelight/Rakefile:13:in `run_command'
(See full trace by running task with --trace)

Micah Martin

unread,
Mar 1, 2011, 12:06:32 PM3/1/11
to limelig...@googlegroups.com
Nathan,

If you send me your production, I'll see if I can figure out why you're getting this error. Send to mi...@8thlight.com.

Micah

Nathan Sorenson

unread,
Mar 7, 2011, 3:26:35 PM3/7/11
to limelight
I uninstalled the head, and re-installed from the ruby gem, and things
seem to be working now. I'll get back to you if I can reproduce the
problem building with the most recent source.
Reply all
Reply to author
Forward
0 new messages