Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The application doesn't work on 1.7.0-b222 OpenJDK, MacOS #39

Open
scop opened this issue Apr 3, 2012 · 2 comments
Open

The application doesn't work on 1.7.0-b222 OpenJDK, MacOS #39

scop opened this issue Apr 3, 2012 · 2 comments

Comments

@scop
Copy link
Owner

scop commented Apr 3, 2012

java -jar portecle.jar
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width (-1) and height (-1) cannot be <= 0
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1016)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:357)
at sun.lwawt.macosx.CImage$Creator.createFromImage(CImage.java:101)
at sun.lwawt.macosx.CPlatformWindow.getImageForTarget(CPlatformWindow.java:734)
at sun.lwawt.macosx.CPlatformWindow.updateIconImages(CPlatformWindow.java:541)
at sun.lwawt.LWWindowPeer.updateIconImages(LWWindowPeer.java:438)
at java.awt.Window.setIconImages(Window.java:705)
at java.awt.Window.setIconImage(Window.java:743)
at java.awt.Frame.setIconImage(Frame.java:553)
at javax.swing.JFrame.setIconImage(JFrame.java:656)
at net.sf.portecle.FPortecle.initComponents(FPortecle.java:402)
at net.sf.portecle.FPortecle.<init>(FPortecle.java:349)
at net.sf.portecle.FPortecle$CreateAndShowGui.run(FPortecle.java:6731)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:705)
at java.awt.EventQueue.access$000(EventQueue.java:101)
at java.awt.EventQueue$3.run(EventQueue.java:666)
at java.awt.EventQueue$3.run(EventQueue.java:664)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:675)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:240)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:142)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:134)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

fajtl:~ dagi$ java -version
openjdk version "1.7.0-b222"
OpenJDK Runtime Environment (build 1.7.0-b222-20111220)
OpenJDK 64-Bit Server VM (build 21.0-b17, mixed mode)

Reported by: *anonymous

@scop
Copy link
Owner Author

scop commented Apr 23, 2012

The stack trace indicates problems occurring when we try to set the icon image for the app (images/portecle.gif). It works fine for me with Fedora 17's OpenJDK 1.7.0_b147-icedtea - unfortunately I have nothing to debug this further so I'm afraid someone else will have to chime in here.

Original comment by: scop

@scop
Copy link
Owner Author

scop commented Apr 23, 2012

  • status: open --> pending

Original comment by: scop

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant