Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Visualizing code in the Design view doesn't work
Visualizing code in the Design view doesn't work [message #60870] Sat, 25 September 2004 22:58 Go to next message
Eclipse UserFriend
Originally posted by: gpawel.gmail.com

Hi All.
I can create visual class using Designer without problems, but
when I am trying to "open with" Visual Editor the created class, Designer
area is empty, no properties shown, no "gui" etc.
Any ideas?

Here are my environment:
Window 2000;
Eclipse 3.01 Build id: 200409161125;
Installed all required components with VE 1.0 (date Sept. 25, 2004)


Thanks a lot.

Pavel
Re: Visualizing code in the Design view doesn't work [message #60883 is a reply to message #60870] Sat, 25 September 2004 23:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thill.t-hill.net

Yup. Same here. I had it working earlier today, but I was prompted to
download updates (several times) and now I have not visual of the class--no
properties nor javabeans views either.

Here's the latest additions to the .log file:

!SESSION Sep 25, 2004
22:24:13.254 ---------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
!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)

!ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
!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)


"Pavel" <gpawel@gmail.com> wrote in message news:cj5as4$p1t$1@eclipse.org...
> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?
>
> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)
>
>
> Thanks a lot.
>
> Pavel
>
>
Re: Visualizing code in the Design view doesn't work [message #60896 is a reply to message #60883] Sun, 26 September 2004 00:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Try running eclipse with the -clean command line option to see if that
helps.

- Jeff

Todd Hill wrote:
> Yup. Same here. I had it working earlier today, but I was prompted to
> download updates (several times) and now I have not visual of the class--no
> properties nor javabeans views either.
>
> Here's the latest additions to the .log file:
>
> !SESSION Sep 25, 2004
> 22:24:13.254 ---------------------------------------------
> eclipse.buildId=unknown
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>
> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
> !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)
>
> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
> !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)
>
>
> "Pavel" <gpawel@gmail.com> wrote in message news:cj5as4$p1t$1@eclipse.org...
>
>>Hi All.
>>I can create visual class using Designer without problems, but
>>when I am trying to "open with" Visual Editor the created class, Designer
>>area is empty, no properties shown, no "gui" etc.
>>Any ideas?
>>
>>Here are my environment:
>>Window 2000;
>>Eclipse 3.01 Build id: 200409161125;
>>Installed all required components with VE 1.0 (date Sept. 25, 2004)
>>
>>
>>Thanks a lot.
>>
>>Pavel
>>
>>
>
>
>
Re: Visualizing code in the Design view doesn't work [message #60991 is a reply to message #60896] Sun, 26 September 2004 03:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ram_No.Spam_fieldlinx.com

HI!

I am facing the same problem here, I have tried number of times using
-clean option but no luck.

Please read my post "Strange Errors with Swing on VE 1.0.1"

I am sure there is something wrong somewhere.

Ram.

Jeff Myers wrote:
> Try running eclipse with the -clean command line option to see if that
> helps.
>
> - Jeff
>
> Todd Hill wrote:
>
>> Yup. Same here. I had it working earlier today, but I was prompted to
>> download updates (several times) and now I have not visual of the
>> class--no
>> properties nor javabeans views either.
>>
>> Here's the latest additions to the .log file:
>>
>> !SESSION Sep 25, 2004
>> 22:24:13.254 ---------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.4.2_04
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>
>> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
>> !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)
>>
>> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
>> !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)
>>
>>
>> "Pavel" <gpawel@gmail.com> wrote in message
>> news:cj5as4$p1t$1@eclipse.org...
>>
>>> Hi All.
>>> I can create visual class using Designer without problems, but
>>> when I am trying to "open with" Visual Editor the created class,
>>> Designer
>>> area is empty, no properties shown, no "gui" etc.
>>> Any ideas?
>>>
>>> Here are my environment:
>>> Window 2000;
>>> Eclipse 3.01 Build id: 200409161125;
>>> Installed all required components with VE 1.0 (date Sept. 25, 2004)
>>>
>>>
>>> Thanks a lot.
>>>
>>> Pavel
>>>
>>>
>>
>>
>>
Re: Visualizing code in the Design view doesn't work [message #61036 is a reply to message #60870] Sun, 26 September 2004 08:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rene.aldershof.freeler.nl

Hi All,

Yup, same problem I encountered. On Windows 98 SE, Eclipse 3.01. Installed
GEF, VE and Swing by means of the Eclipse build in Update Manager.

Reconstruction: create a new visual class, bring in some Swing components
by means of the Visual Editor, do save all, exit Eclipse. Then start
Eclipse IDE again and open again your visual class. Result: no Swing
components available in the canvas of Visual Editor. Source code is OK.

Greetings,
Rene

Pavel wrote:

> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?

> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)


> Thanks a lot.

> Pavel
Re: Visualizing code in the Design view doesn't work [message #61060 is a reply to message #60870] Sun, 26 September 2004 09:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gpawel.gmail.com

eclipse -clean didn't help.


"Pavel" <gpawel@gmail.com> wrote in message news:cj5as4$p1t$1@eclipse.org...
> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?
>
> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)
>
>
> Thanks a lot.
>
> Pavel
>
>
Re: Visualizing code in the Design view doesn't work [message #61153 is a reply to message #60896] Sun, 26 September 2004 12:18 Go to previous messageGo to next message
Eclipse UserFriend
"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
news:cj5fo8$taq$1@eclipse.org...
> Try running eclipse with the -clean command line option

BTW, I have noticed that -clean only seems to work for *some* configuration
/ plugin info caching issues. Sometimes, deleting the Eclipse
"configuration" directory (it is recreated at startup) seems to work better.
It has gotten to the point that any time I have a problem getting a newly
installed plugin working in Eclipse 3.0, deleting the "configuration"
directory is one of the first things I try. I don't know whether it would
have any effect on the problem mentioned in this thread.

-Eric
Re: Visualizing code in the Design view doesn't work [message #61177 is a reply to message #61153] Sun, 26 September 2004 12:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thill.t-hill.net

Thanks, Eric --

I tried that, but it seemed to remove all knowledge of the VE from the
IDE--Visual Editor was not selectable at all, not even for new classes.


"Eric Clayberg" <clayberg@instantiations.com> wrote in message
news:cj6pt8$dsc$1@eclipse.org...
> "Jeff Myers" <myersj@nospam.gmail.com> wrote in message
> news:cj5fo8$taq$1@eclipse.org...
> > Try running eclipse with the -clean command line option
>
> BTW, I have noticed that -clean only seems to work for *some*
configuration
> / plugin info caching issues. Sometimes, deleting the Eclipse
> "configuration" directory (it is recreated at startup) seems to work
better.
> It has gotten to the point that any time I have a problem getting a newly
> installed plugin working in Eclipse 3.0, deleting the "configuration"
> directory is one of the first things I try. I don't know whether it would
> have any effect on the problem mentioned in this thread.
>
> -Eric
>
>
Re: Visualizing code in the Design view doesn't work [message #61233 is a reply to message #61177] Sun, 26 September 2004 22:11 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ram_No.Spam_fieldlinx.com

Hi!

I did try that myself, it does not seem to be working either.

Ram.

Todd Hill wrote:

> Thanks, Eric --
>
> I tried that, but it seemed to remove all knowledge of the VE from the
> IDE--Visual Editor was not selectable at all, not even for new classes.
>
>
> "Eric Clayberg" <clayberg@instantiations.com> wrote in message
> news:cj6pt8$dsc$1@eclipse.org...
>
>>"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
>>news:cj5fo8$taq$1@eclipse.org...
>>
>>>Try running eclipse with the -clean command line option
>>
>>BTW, I have noticed that -clean only seems to work for *some*
>
> configuration
>
>>/ plugin info caching issues. Sometimes, deleting the Eclipse
>>"configuration" directory (it is recreated at startup) seems to work
>
> better.
>
>>It has gotten to the point that any time I have a problem getting a newly
>>installed plugin working in Eclipse 3.0, deleting the "configuration"
>>directory is one of the first things I try. I don't know whether it would
>>have any effect on the problem mentioned in this thread.
>>
>>-Eric
>>
>>
>
>
>
Re: Visualizing code in the Design view doesn't work [message #61825 is a reply to message #60883] Mon, 27 September 2004 17:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

If you are getting this exception, please unload the EMF examples. It
conflicts with the VE. We have an open bugzilla (#71473) to fix this.


Todd Hill wrote:
> java.lang.ClassCastException
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> tances(JavaSourceTranslator.java:705)

Thanks,
Rich
Re: Visualizing code in the Design view doesn't work [message #61966 is a reply to message #61825] Mon, 27 September 2004 18:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: thill.t-hill.net

Thank you.
It's working just fine now.

By the way, how do uninstall:
Visual Editor 1.0.0 and Visual Editor SDK 2.1.2? I have them disabled under
as the Production Configuration dialog show, but there is no 'uninstall'
option for them as there is for others.


"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:cja0i3$ccc$1@eclipse.org...
> If you are getting this exception, please unload the EMF examples. It
> conflicts with the VE. We have an open bugzilla (#71473) to fix this.
>
>
> Todd Hill wrote:
> > java.lang.ClassCastException
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> > tances(JavaSourceTranslator.java:705)
>
> Thanks,
> Rich
Re: Visualizing code in the Design view doesn't work [message #62015 is a reply to message #61825] Mon, 27 September 2004 19:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gpawel.gmail.com

This is working for me as well!!
Thanks a lot !!!

Pavel
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:cja0i3$ccc$1@eclipse.org...
> If you are getting this exception, please unload the EMF examples. It
> conflicts with the VE. We have an open bugzilla (#71473) to fix this.
>
>
> Todd Hill wrote:
> > java.lang.ClassCastException
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> > tances(JavaSourceTranslator.java:705)
>
> Thanks,
> Rich
Re: Visualizing code in the Design view doesn't work [message #62131 is a reply to message #60870] Mon, 27 September 2004 22:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vincejr.daden.com

I have the same issue. I tried the suggestion someone had of removing EMF
examples but that didn't help.

I can create a Visual Class of any kind and it just never shows a UI in
the design pane.

Vince

Pavel wrote:

> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?

> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)


> Thanks a lot.

> Pavel
Re: Visualizing code in the Design view doesn't work [message #62437 is a reply to message #61966] Tue, 28 September 2004 15:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Todd Hill wrote:
> Thank you.
> It's working just fine now.
>
> By the way, how do uninstall:
> Visual Editor 1.0.0 and Visual Editor SDK 2.1.2? I have them disabled under
> as the Production Configuration dialog show, but there is no 'uninstall'
> option for them as there is for others.
>

If they weren't installed using the update manager, then you need to
physically and manually delete them from the disk and then start once
with the -clean option. The update manager only allows you to uninstall
ones that were installed through the update manager.

Rich
Re: Visualizing code in the Design view doesn't work [message #62462 is a reply to message #62131] Tue, 28 September 2004 15:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Vince wrote:

We need a copy of your .log file and an example of the class.

Thanks,
Rich
Re: Visualizing code in the Design view doesn't work [message #599364 is a reply to message #60870] Sat, 25 September 2004 23:29 Go to previous message
Eclipse UserFriend
Yup. Same here. I had it working earlier today, but I was prompted to
download updates (several times) and now I have not visual of the class--no
properties nor javabeans views either.

Here's the latest additions to the .log file:

!SESSION Sep 25, 2004
22:24:13.254 ---------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

!ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
!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)

!ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
!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)


"Pavel" <gpawel@gmail.com> wrote in message news:cj5as4$p1t$1@eclipse.org...
> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?
>
> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)
>
>
> Thanks a lot.
>
> Pavel
>
>
Re: Visualizing code in the Design view doesn't work [message #599377 is a reply to message #60883] Sun, 26 September 2004 00:19 Go to previous message
Eclipse UserFriend
Try running eclipse with the -clean command line option to see if that
helps.

- Jeff

Todd Hill wrote:
> Yup. Same here. I had it working earlier today, but I was prompted to
> download updates (several times) and now I have not visual of the class--no
> properties nor javabeans views either.
>
> Here's the latest additions to the .log file:
>
> !SESSION Sep 25, 2004
> 22:24:13.254 ---------------------------------------------
> eclipse.buildId=unknown
> java.version=1.4.2_04
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>
> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
> !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)
>
> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
> !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)
>
>
> "Pavel" <gpawel@gmail.com> wrote in message news:cj5as4$p1t$1@eclipse.org...
>
>>Hi All.
>>I can create visual class using Designer without problems, but
>>when I am trying to "open with" Visual Editor the created class, Designer
>>area is empty, no properties shown, no "gui" etc.
>>Any ideas?
>>
>>Here are my environment:
>>Window 2000;
>>Eclipse 3.01 Build id: 200409161125;
>>Installed all required components with VE 1.0 (date Sept. 25, 2004)
>>
>>
>>Thanks a lot.
>>
>>Pavel
>>
>>
>
>
>
Re: Visualizing code in the Design view doesn't work [message #599443 is a reply to message #60896] Sun, 26 September 2004 03:37 Go to previous message
Eclipse UserFriend
HI!

I am facing the same problem here, I have tried number of times using
-clean option but no luck.

Please read my post "Strange Errors with Swing on VE 1.0.1"

I am sure there is something wrong somewhere.

Ram.

Jeff Myers wrote:
> Try running eclipse with the -clean command line option to see if that
> helps.
>
> - Jeff
>
> Todd Hill wrote:
>
>> Yup. Same here. I had it working earlier today, but I was prompted to
>> download updates (several times) and now I have not visual of the
>> class--no
>> properties nor javabeans views either.
>>
>> Here's the latest additions to the .log file:
>>
>> !SESSION Sep 25, 2004
>> 22:24:13.254 ---------------------------------------------
>> eclipse.buildId=unknown
>> java.version=1.4.2_04
>> java.vendor=Sun Microsystems Inc.
>> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
>>
>> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
>> !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)
>>
>> !ENTRY org.eclipse.ve.java.core 4 0 Sep 25, 2004 22:24:13.284
>> !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)
>>
>>
>> "Pavel" <gpawel@gmail.com> wrote in message
>> news:cj5as4$p1t$1@eclipse.org...
>>
>>> Hi All.
>>> I can create visual class using Designer without problems, but
>>> when I am trying to "open with" Visual Editor the created class,
>>> Designer
>>> area is empty, no properties shown, no "gui" etc.
>>> Any ideas?
>>>
>>> Here are my environment:
>>> Window 2000;
>>> Eclipse 3.01 Build id: 200409161125;
>>> Installed all required components with VE 1.0 (date Sept. 25, 2004)
>>>
>>>
>>> Thanks a lot.
>>>
>>> Pavel
>>>
>>>
>>
>>
>>
Re: Visualizing code in the Design view doesn't work [message #599458 is a reply to message #60870] Sun, 26 September 2004 08:02 Go to previous message
Eclipse UserFriend
Originally posted by: rene.aldershof.freeler.nl

Hi All,

Yup, same problem I encountered. On Windows 98 SE, Eclipse 3.01. Installed
GEF, VE and Swing by means of the Eclipse build in Update Manager.

Reconstruction: create a new visual class, bring in some Swing components
by means of the Visual Editor, do save all, exit Eclipse. Then start
Eclipse IDE again and open again your visual class. Result: no Swing
components available in the canvas of Visual Editor. Source code is OK.

Greetings,
Rene

Pavel wrote:

> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?

> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)


> Thanks a lot.

> Pavel
Re: Visualizing code in the Design view doesn't work [message #599470 is a reply to message #60870] Sun, 26 September 2004 09:08 Go to previous message
Eclipse UserFriend
eclipse -clean didn't help.


"Pavel" <gpawel@gmail.com> wrote in message news:cj5as4$p1t$1@eclipse.org...
> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?
>
> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)
>
>
> Thanks a lot.
>
> Pavel
>
>
Re: Visualizing code in the Design view doesn't work [message #599503 is a reply to message #60896] Sun, 26 September 2004 12:18 Go to previous message
Eclipse UserFriend
"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
news:cj5fo8$taq$1@eclipse.org...
> Try running eclipse with the -clean command line option

BTW, I have noticed that -clean only seems to work for *some* configuration
/ plugin info caching issues. Sometimes, deleting the Eclipse
"configuration" directory (it is recreated at startup) seems to work better.
It has gotten to the point that any time I have a problem getting a newly
installed plugin working in Eclipse 3.0, deleting the "configuration"
directory is one of the first things I try. I don't know whether it would
have any effect on the problem mentioned in this thread.

-Eric
Re: Visualizing code in the Design view doesn't work [message #599512 is a reply to message #61153] Sun, 26 September 2004 12:54 Go to previous message
Eclipse UserFriend
Thanks, Eric --

I tried that, but it seemed to remove all knowledge of the VE from the
IDE--Visual Editor was not selectable at all, not even for new classes.


"Eric Clayberg" <clayberg@instantiations.com> wrote in message
news:cj6pt8$dsc$1@eclipse.org...
> "Jeff Myers" <myersj@nospam.gmail.com> wrote in message
> news:cj5fo8$taq$1@eclipse.org...
> > Try running eclipse with the -clean command line option
>
> BTW, I have noticed that -clean only seems to work for *some*
configuration
> / plugin info caching issues. Sometimes, deleting the Eclipse
> "configuration" directory (it is recreated at startup) seems to work
better.
> It has gotten to the point that any time I have a problem getting a newly
> installed plugin working in Eclipse 3.0, deleting the "configuration"
> directory is one of the first things I try. I don't know whether it would
> have any effect on the problem mentioned in this thread.
>
> -Eric
>
>
Re: Visualizing code in the Design view doesn't work [message #599538 is a reply to message #61177] Sun, 26 September 2004 22:11 Go to previous message
Eclipse UserFriend
Hi!

I did try that myself, it does not seem to be working either.

Ram.

Todd Hill wrote:

> Thanks, Eric --
>
> I tried that, but it seemed to remove all knowledge of the VE from the
> IDE--Visual Editor was not selectable at all, not even for new classes.
>
>
> "Eric Clayberg" <clayberg@instantiations.com> wrote in message
> news:cj6pt8$dsc$1@eclipse.org...
>
>>"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
>>news:cj5fo8$taq$1@eclipse.org...
>>
>>>Try running eclipse with the -clean command line option
>>
>>BTW, I have noticed that -clean only seems to work for *some*
>
> configuration
>
>>/ plugin info caching issues. Sometimes, deleting the Eclipse
>>"configuration" directory (it is recreated at startup) seems to work
>
> better.
>
>>It has gotten to the point that any time I have a problem getting a newly
>>installed plugin working in Eclipse 3.0, deleting the "configuration"
>>directory is one of the first things I try. I don't know whether it would
>>have any effect on the problem mentioned in this thread.
>>
>>-Eric
>>
>>
>
>
>
Re: Visualizing code in the Design view doesn't work [message #599746 is a reply to message #60883] Mon, 27 September 2004 17:31 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

If you are getting this exception, please unload the EMF examples. It
conflicts with the VE. We have an open bugzilla (#71473) to fix this.


Todd Hill wrote:
> java.lang.ClassCastException
> at
> org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> tances(JavaSourceTranslator.java:705)

Thanks,
Rich
Re: Visualizing code in the Design view doesn't work [message #599789 is a reply to message #61825] Mon, 27 September 2004 18:03 Go to previous message
Eclipse UserFriend
Thank you.
It's working just fine now.

By the way, how do uninstall:
Visual Editor 1.0.0 and Visual Editor SDK 2.1.2? I have them disabled under
as the Production Configuration dialog show, but there is no 'uninstall'
option for them as there is for others.


"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:cja0i3$ccc$1@eclipse.org...
> If you are getting this exception, please unload the EMF examples. It
> conflicts with the VE. We have an open bugzilla (#71473) to fix this.
>
>
> Todd Hill wrote:
> > java.lang.ClassCastException
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> > tances(JavaSourceTranslator.java:705)
>
> Thanks,
> Rich
Re: Visualizing code in the Design view doesn't work [message #599810 is a reply to message #61825] Mon, 27 September 2004 19:55 Go to previous message
Eclipse UserFriend
This is working for me as well!!
Thanks a lot !!!

Pavel
"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:cja0i3$ccc$1@eclipse.org...
> If you are getting this exception, please unload the EMF examples. It
> conflicts with the VE. We have an open bugzilla (#71473) to fix this.
>
>
> Todd Hill wrote:
> > java.lang.ClassCastException
> > at
> >
org.eclipse.ve.internal.java.codegen.core.JavaSourceTranslat or.createJavaIns
> > tances(JavaSourceTranslator.java:705)
>
> Thanks,
> Rich
Re: Visualizing code in the Design view doesn't work [message #599845 is a reply to message #60870] Mon, 27 September 2004 22:30 Go to previous message
Eclipse UserFriend
I have the same issue. I tried the suggestion someone had of removing EMF
examples but that didn't help.

I can create a Visual Class of any kind and it just never shows a UI in
the design pane.

Vince

Pavel wrote:

> Hi All.
> I can create visual class using Designer without problems, but
> when I am trying to "open with" Visual Editor the created class, Designer
> area is empty, no properties shown, no "gui" etc.
> Any ideas?

> Here are my environment:
> Window 2000;
> Eclipse 3.01 Build id: 200409161125;
> Installed all required components with VE 1.0 (date Sept. 25, 2004)


> Thanks a lot.

> Pavel
Re: Visualizing code in the Design view doesn't work [message #599934 is a reply to message #61966] Tue, 28 September 2004 15:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Todd Hill wrote:
> Thank you.
> It's working just fine now.
>
> By the way, how do uninstall:
> Visual Editor 1.0.0 and Visual Editor SDK 2.1.2? I have them disabled under
> as the Production Configuration dialog show, but there is no 'uninstall'
> option for them as there is for others.
>

If they weren't installed using the update manager, then you need to
physically and manually delete them from the disk and then start once
with the -clean option. The update manager only allows you to uninstall
ones that were installed through the update manager.

Rich
Re: Visualizing code in the Design view doesn't work [message #599941 is a reply to message #62131] Tue, 28 September 2004 15:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Vince wrote:

We need a copy of your .log file and an example of the class.

Thanks,
Rich
Previous Topic:Error when opening a class with the visual publisher
Next Topic:no SWT in my VE
Goto Forum:
  


Current Time: Sat May 10 13:52:19 EDT 2025

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

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

Back to the top