Open GoogleCodeExporter opened 8 years ago
Weird,
that means its unable to load the images from the .jar file. I will
investigate this
and see if I can figure out what's going on.
Thanks for reporting.
--brendan
Original comment by brendan....@gmail.com
on 29 Jan 2008 at 2:52
Original comment by brendan....@gmail.com
on 29 Jan 2008 at 2:52
Have you tried running the standalone version? Does it work?
Thanks
--brendan
Original comment by brendan....@gmail.com
on 29 Jan 2008 at 2:53
Yes, the standalone version does work (just tested it). Great application!
Original comment by luke.hutch
on 29 Jan 2008 at 3:47
This is still broken, the latest error message is:
$ appletviewer http://www.droiddraw.org/
Mar 24, 2008 2:39:42 PM com.sun.corba.se.impl.ior.IORImpl getProfile
WARNING: "IOP00511201: (INV_OBJREF) IOR must have at least one IIOP profile"
org.omg.CORBA.INV_OBJREF: vmcid: SUN minor code: 1201 completed: No
at
com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSyste
mException.java:473)
at
com.sun.corba.se.impl.logging.IORSystemException.iorMustHaveIiopProfile(IORSyste
mException.java:495)
at com.sun.corba.se.impl.ior.IORImpl.getProfile(IORImpl.java:334)
at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0
.java:787)
at
com.sun.corba.se.impl.encoding.CDRInputStream_1_0.read_Object(CDRInputStream_1_0
.java:761)
at
com.sun.corba.se.impl.encoding.CDRInputStream.read_Object(CDRInputStream.java:23
1)
at
com.sun.corba.se.impl.resolver.INSURLOperationImpl.getIORFromString(INSURLOperat
ionImpl.java:116)
at
com.sun.corba.se.impl.resolver.INSURLOperationImpl.operate(INSURLOperationImpl.j
ava:126)
at com.sun.corba.se.impl.orb.ORBImpl.string_to_object(ORBImpl.java:838)
at org.GNOME.Accessibility.AccessUtil.getRegistryObject(AccessUtil.java:143)
at org.GNOME.Accessibility.JavaBridge.registerApplication(JavaBridge.java:1058)
at org.GNOME.Accessibility.JavaBridge.<init>(JavaBridge.java:341)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorI
mpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorA
ccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:539)
at java.lang.Class.newInstance0(Class.java:372)
at java.lang.Class.newInstance(Class.java:325)
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:800)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:888)
at java.awt.Window.getToolkit(Window.java:1206)
at java.awt.Window.init(Window.java:400)
at java.awt.Window.<init>(Window.java:438)
at java.awt.Frame.<init>(Frame.java:419)
at java.awt.Frame.<init>(Frame.java:384)
at sun.applet.AppletViewer.<init>(AppletViewer.java:159)
at sun.applet.StdAppletViewerFactory.createAppletViewer(AppletViewer.java:100)
at sun.applet.AppletViewer.parse(AppletViewer.java:1140)
at sun.applet.AppletViewer.parse(AppletViewer.java:1074)
at sun.applet.Main.run(Main.java:156)
at sun.applet.Main.main(Main.java:98)
java.lang.IllegalArgumentException: width<=0 height<=0
at java.awt.image.SampleModel.<init>(SampleModel.java:97)
at java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:186)
at java.awt.image.ComponentSampleModel.<init>(ComponentSampleModel.java:137)
at
java.awt.image.PixelInterleavedSampleModel.<init>(PixelInterleavedSampleModel.ja
va:87)
at java.awt.image.Raster.createInterleavedRaster(Raster.java:201)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:397)
at org.droiddraw.gui.NineWayImage.<init>(NineWayImage.java:24)
at org.droiddraw.gui.NineWayImage.<init>(NineWayImage.java:12)
at org.droiddraw.widget.Button.<init>(Button.java:30)
at org.droiddraw.gui.DroidDrawPanel.<init>(DroidDrawPanel.java:402)
at org.droiddraw.DroidDraw.init(DroidDraw.java:141)
at sun.applet.AppletPanel.run(AppletPanel.java:435)
at java.lang.Thread.run(Thread.java:674)
Original comment by luke.hutch
on 24 Mar 2008 at 7:35
Hi,
even the last comment is already quite old, I will answer to this issue.
To get the applet running inside the appletviewer in the source file
DroidDraw.java the following line must be changed
// Image img = getImage(getCodeBase(), "ui/"+name+".png");
Image img = getImage(getClass().getResource("/ui/" + name + ".png"));
cheers
Frank
Original comment by Dietrich.Frank@gmail.com
on 19 Aug 2010 at 10:18
Issue 88 has been merged into this issue.
Original comment by brendan....@gmail.com
on 28 Dec 2011 at 6:08
Original issue reported on code.google.com by
luke.hutch
on 29 Jan 2008 at 2:04