Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Display a UML Diagram using Draw2D Producing an error
Display a UML Diagram using Draw2D Producing an error [message #234960] Sat, 02 June 2007 10:02 Go to next message
Eclipse UserFriend
Originally posted by: chaitannyam.yahoo.co.uk

hi to All
we have a error after copy these file get on site "C:\eclipse\GEF\gef\GEF-Draw2d.html" Display a UML Diagram using Draw2D in editor

Exception in thread "main" java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(SWT.java:3358)
at org.eclipse.swt.SWT.error(SWT.java:3297)
at org.eclipse.swt.SWT.error(SWT.java:3268)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 25)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoade r.java:22)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:328)
at org.eclipse.swt.graphics.Image.<init>(Image.java:545)
at UMLClassFigureTest.main(UMLClassFigureTest.java:27)
Re: Display a UML Diagram using Draw2D Producing an error [message #235029 is a reply to message #234960] Mon, 04 June 2007 15:11 Go to previous message
Anthony Hunter is currently offline Anthony HunterFriend
Messages: 446
Registered: July 2009
Senior Member
Hi Chaitannya

You missed the line in the article:

"This class uses the following images: { }. Download them and place them
at the root of a Java project directory."

Cheers...
Anthony

"chaitannya" <chaitannyam@yahoo.co.uk> wrote in message
news:27501724.5141180778602265.JavaMail.root@cp1.javalobby.org...
> hi to All
> we have a error after copy these file get on site
> "C:\eclipse\GEF\gef\GEF-Draw2d.html" Display a UML Diagram using Draw2D
> in editor
>
> Exception in thread "main" java.lang.IllegalArgumentException:
> Argument cannot be null
> at org.eclipse.swt.SWT.error(SWT.java:3358)
> at org.eclipse.swt.SWT.error(SWT.java:3297)
> at org.eclipse.swt.SWT.error(SWT.java:3268)
> at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:1 25)
> at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoade r.java:22)
> at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:328)
> at org.eclipse.swt.graphics.Image.<init>(Image.java:545)
> at UMLClassFigureTest.main(UMLClassFigureTest.java:27)




Previous Topic:Precise moves using keyboard
Next Topic:ComboBox doesnt work
Goto Forum:
  


Current Time: Fri Apr 26 06:46:31 GMT 2024

Powered by FUDForum. Page generated in 0.03118 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top