jamesoliverband / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

Plug-in "com.umlet.plugin" was unable to instantiate class "com.baselet.plugin.editor.Editor" #142

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install the UMLet 11.5.1 Eclipse plugin on Eclipse 4.2.2 on Linux Mint 13
2. File > New > Other > Other > Umlet diagram
3. Give a name for the file and click Finish

What is the expected output? What do you see instead?
Expected: The editor opens
Instead: The editor does not open and I get the following message instead:

Plug-in "com.umlet.plugin" was unable to instantiate class 
"com.baselet.plugin.editor.Editor"

What version of the product are you using? On what operating system?
UMLet 11.5.1 Eclipse plugin on Eclipse 4.2.2 on Linux Mint 13

The full stack trace of error is attached.

Installed stand-alone, I've also seen the "java.awt.HeadlessException" error 
from the attached stack trace.

Original issue reported on code.google.com by samuelgo...@gmail.com on 1 Jul 2013 at 2:12

Attachments:

GoogleCodeExporter commented 9 years ago
I just got the same error with ArgoUML (guys you were, and are my first option! 
:_D ), so I searched for
ubuntu java.awt.HeadlessException
and found that I have to
sudo apt-get install openjdk-6-jre

So... I really would like UMLet not to deliver such a broken experience, but I 
guess since it is not your fault you can close this bug now.

I'd recommend for the long term to implement UMLet in something that does not 
suck as much as Java and its foot-size stack traces and namespaces. Such as 
Python or JavaScript. I found
http://xmlvm.org/html5/
here
http://kripken.github.io/mloc_emscripten_talk/#/35
!!

Original comment by samuelgo...@gmail.com on 1 Jul 2013 at 2:32

GoogleCodeExporter commented 9 years ago
Thanks for the praise ;)

I guess you had a headless version of Java installed (which means without all 
the graphics libraries which are needed by UMLet). More information about the 
versions can be found here: http://wiki.ubuntuusers.de/Java/Installation

So your "bugfix" by installing the full Java version was correct (although I 
would suggest to install Java v7 instead of v6 which is not supported by Oracle 
anymore and perhaps UMLet will also require v7 after some time to let us use 
some of the new language features)

By the way we are currently experimenting with a HTML+Javascript based version 
of UMLet. So perhaps some month from now you will have your chance to use UMLet 
from your webbrowser (without any plugins)

Original comment by AFDiaX on 2 Jul 2013 at 5:59

GoogleCodeExporter commented 9 years ago
Makes sense. Thank you.

That is exciting! Good luck!

Original comment by samuelgo...@gmail.com on 2 Jul 2013 at 1:01