Skip to main content



      Home
Home » Archived » Visual Editor (VE) » newbie following tutorial, immediate exception
newbie following tutorial, immediate exception [message #88345] Sun, 24 April 2005 15:15 Go to next message
Eclipse UserFriend
Originally posted by: nospam.noplace.net

Hi,
I just starting evaluating Eclipse (3.0.2 on Windows 2000) and VE (1.0.1)
this morning. I decided to follow the VE tutorial but upon trying the
create my class that extends JFrame I got an immediate exception and no
graphics in the design window. Log info is below. Sorry if this appears to
be a dumb question.

!SESSION Apr 24, 2005
15:05:36.259 ---------------------------------------------
eclipse.buildId=M200503110845
java.version=1.4.2_08
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.ve.java.core 4 0 Apr 24, 2005 15:05:36.259
!MESSAGE Exception thrown.
!STACK 0
java.lang.ClassCastException
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
tances(JavaSourceTranslator.java:705)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
ionModel(JavaSourceTranslator.java:774)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
t(JavaSourceTranslator.java:881)
at
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
aSourceTranslator.java:656)
at
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
un(JavaVisualEditorPart.java:1444)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
Re: newbie following tutorial, immediate exception [message #88360 is a reply to message #88345] Sun, 24 April 2005 18:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Roger,

Please install VE 1.0.2.1. The version you're running has a conflict
with the EMF Examples plug-in you have installed.

Hope this helps,
- Jeff

Roger Levy wrote:
> Hi,
> I just starting evaluating Eclipse (3.0.2 on Windows 2000) and VE (1.0.1)
> this morning. I decided to follow the VE tutorial but upon trying the
> create my class that extends JFrame I got an immediate exception and no
> graphics in the design window. Log info is below. Sorry if this appears to
> be a dumb question.
>
> !SESSION Apr 24, 2005
> 15:05:36.259 ---------------------------------------------
> eclipse.buildId=M200503110845
> java.version=1.4.2_08
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>
> !ENTRY org.eclipse.ve.java.core 4 0 Apr 24, 2005 15:05:36.259
> !MESSAGE Exception thrown.
> !STACK 0
> java.lang.ClassCastException
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> tances(JavaSourceTranslator.java:705)
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
> ionModel(JavaSourceTranslator.java:774)
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
> t(JavaSourceTranslator.java:881)
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
> aSourceTranslator.java:656)
> at
> org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
> un(JavaVisualEditorPart.java:1444)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
Re: newbie following tutorial, immediate exception [message #88374 is a reply to message #88360] Sun, 24 April 2005 23:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.noplace.net

Jeff,
Thanks, it worked. Note that after installing Eclipse I used Help->Software
Updates->Find and Install which resulted in installation of VE 1.0.1. I was
not given the option of installing 1.0.2.1. However when I went back after
reading your post, I was given the opportunity to install 1.0.2.1. Is the
general lesson that one should iterate the Find and Install process until no
more recent version is offered?

Roger

"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
news:d4h7a8$mcj$1@news.eclipse.org...
> Roger,
>
> Please install VE 1.0.2.1. The version you're running has a conflict
> with the EMF Examples plug-in you have installed.
>
> Hope this helps,
> - Jeff
>
> Roger Levy wrote:
> > Hi,
> > I just starting evaluating Eclipse (3.0.2 on Windows 2000) and VE
(1.0.1)
> > this morning. I decided to follow the VE tutorial but upon trying the
> > create my class that extends JFrame I got an immediate exception and no
> > graphics in the design window. Log info is below. Sorry if this
appears to
> > be a dumb question.
> >
> > !SESSION Apr 24, 2005
> > 15:05:36.259 ---------------------------------------------
> > eclipse.buildId=M200503110845
> > java.version=1.4.2_08
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> >
> > !ENTRY org.eclipse.ve.java.core 4 0 Apr 24, 2005 15:05:36.259
> > !MESSAGE Exception thrown.
> > !STACK 0
> > java.lang.ClassCastException
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> > tances(JavaSourceTranslator.java:705)
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
> > ionModel(JavaSourceTranslator.java:774)
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
> > t(JavaSourceTranslator.java:881)
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
> > aSourceTranslator.java:656)
> > at
> >
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
> > un(JavaVisualEditorPart.java:1444)
> > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> >
> >
Re: newbie following tutorial, immediate exception [message #88509 is a reply to message #88374] Mon, 25 April 2005 10:01 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We don't know why it is doing that. We are not doing anything different
than anyone else.

--
Thanks,
Rich Kulp
Re: newbie following tutorial, immediate exception [message #607227 is a reply to message #88345] Sun, 24 April 2005 18:40 Go to previous message
Eclipse UserFriend
Roger,

Please install VE 1.0.2.1. The version you're running has a conflict
with the EMF Examples plug-in you have installed.

Hope this helps,
- Jeff

Roger Levy wrote:
> Hi,
> I just starting evaluating Eclipse (3.0.2 on Windows 2000) and VE (1.0.1)
> this morning. I decided to follow the VE tutorial but upon trying the
> create my class that extends JFrame I got an immediate exception and no
> graphics in the design window. Log info is below. Sorry if this appears to
> be a dumb question.
>
> !SESSION Apr 24, 2005
> 15:05:36.259 ---------------------------------------------
> eclipse.buildId=M200503110845
> java.version=1.4.2_08
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>
> !ENTRY org.eclipse.ve.java.core 4 0 Apr 24, 2005 15:05:36.259
> !MESSAGE Exception thrown.
> !STACK 0
> java.lang.ClassCastException
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> tances(JavaSourceTranslator.java:705)
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
> ionModel(JavaSourceTranslator.java:774)
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
> t(JavaSourceTranslator.java:881)
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
> aSourceTranslator.java:656)
> at
> org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
> un(JavaVisualEditorPart.java:1444)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
>
>
Re: newbie following tutorial, immediate exception [message #607228 is a reply to message #88360] Sun, 24 April 2005 23:27 Go to previous message
Eclipse UserFriend
Originally posted by: nospam.noplace.net

Jeff,
Thanks, it worked. Note that after installing Eclipse I used Help->Software
Updates->Find and Install which resulted in installation of VE 1.0.1. I was
not given the option of installing 1.0.2.1. However when I went back after
reading your post, I was given the opportunity to install 1.0.2.1. Is the
general lesson that one should iterate the Find and Install process until no
more recent version is offered?

Roger

"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
news:d4h7a8$mcj$1@news.eclipse.org...
> Roger,
>
> Please install VE 1.0.2.1. The version you're running has a conflict
> with the EMF Examples plug-in you have installed.
>
> Hope this helps,
> - Jeff
>
> Roger Levy wrote:
> > Hi,
> > I just starting evaluating Eclipse (3.0.2 on Windows 2000) and VE
(1.0.1)
> > this morning. I decided to follow the VE tutorial but upon trying the
> > create my class that extends JFrame I got an immediate exception and no
> > graphics in the design window. Log info is below. Sorry if this
appears to
> > be a dumb question.
> >
> > !SESSION Apr 24, 2005
> > 15:05:36.259 ---------------------------------------------
> > eclipse.buildId=M200503110845
> > java.version=1.4.2_08
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> >
> > !ENTRY org.eclipse.ve.java.core 4 0 Apr 24, 2005 15:05:36.259
> > !MESSAGE Exception thrown.
> > !STACK 0
> > java.lang.ClassCastException
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> > tances(JavaSourceTranslator.java:705)
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.buildComposit
> > ionModel(JavaSourceTranslator.java:774)
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.decodeDocumen
> > t(JavaSourceTranslator.java:881)
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.loadModel(Jav
> > aSourceTranslator.java:656)
> > at
> >
org.eclipse.ve.internal.java.codegen.editorpart.JavaVisualEd itorPart$Setup.r
> > un(JavaVisualEditorPart.java:1444)
> > at org.eclipse.core.internal.jobs.Worker.run(Worker.java:66)
> >
> >
Re: newbie following tutorial, immediate exception [message #607237 is a reply to message #88374] Mon, 25 April 2005 10:01 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

We don't know why it is doing that. We are not doing anything different
than anyone else.

--
Thanks,
Rich Kulp
Previous Topic:performance of Eclipse java Editor
Next Topic:Instantiating derrived component
Goto Forum:
  


Current Time: Sat Jun 14 17:27:56 EDT 2025

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

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

Back to the top