Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Problem: Creation of element failed
Problem: Creation of element failed [message #91168] Sun, 15 May 2005 22:28 Go to next message
Eclipse UserFriend
When i try to create a new Swing Class: Application (JFrame) then it's
finishing the process an error occurs:

Creation of element failed
org/eclipse/ve/internal/java/codegen/jjet/wizards/contributo rs/JContentPane...
(Unsupported major.minor version 49.0)


Any ideia how to fix this bug?
I tried in eclipse 3.1M6 and 3.1M7 with GEF-runtime-3.1M6.zip,
emf-sdo-runtime-I200504141117.zip and VE-runtime-1.1M1.zip. Windows XP.


thanks in advance,
ATK
Re: Problem: Creation of element failed [message #91197 is a reply to message #91168] Mon, 16 May 2005 12:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Did you recently switch Java versions, in particular switch from 1.5
down to 1.4? This means an internal template for JContentPane was
compiled at I think 1.5 and is now trying to run in 1.4.

This area of code needs to be cleaned up, it isn't fully speced out. But
for now you will need to do Projects->Clean->Clean All to clear it out.

ATK wrote:
> When i try to create a new Swing Class: Application (JFrame) then it's
> finishing the process an error occurs:
>
> Creation of element failed
> org/eclipse/ve/internal/java/codegen/jjet/wizards/contributo rs/JContentPane...
>
> (Unsupported major.minor version 49.0)
>
>
> Any ideia how to fix this bug?
> I tried in eclipse 3.1M6 and 3.1M7 with GEF-runtime-3.1M6.zip,
> emf-sdo-runtime-I200504141117.zip and VE-runtime-1.1M1.zip. Windows XP.
>
>
> thanks in advance,
> ATK

--
Thanks,
Rich Kulp
Re: Problem: Creation of element failed [message #91271 is a reply to message #91197] Mon, 16 May 2005 14:10 Go to previous message
Eclipse UserFriend
I tried that, doesn't work...

I can't really understand what was the problem but i think it's now
fixed... I deleted eclipse, installed again, unziped GEF, run eclipse,
unziped emf & ve, run eclipse -clean... The only diferent thing I did
was using a diferent workspace dir...

Previously I was using a workspace dir that I used for older versions of
Eclipse... maybe that was the problem, that's my only explanation...

It's now fixed... I believe the problem was using a workspace dir
created in eclipse M5 (eventough i didn't use any old project)... maybe
something about configurations that I can't really figure out..

Thanks for your help.


Rich Kulp wrote:
> Did you recently switch Java versions, in particular switch from 1.5
> down to 1.4? This means an internal template for JContentPane was
> compiled at I think 1.5 and is now trying to run in 1.4.
>
> This area of code needs to be cleaned up, it isn't fully speced out. But
> for now you will need to do Projects->Clean->Clean All to clear it out.
>
> ATK wrote:
>
>> When i try to create a new Swing Class: Application (JFrame) then it's
>> finishing the process an error occurs:
>>
>> Creation of element failed
>> org/eclipse/ve/internal/java/codegen/jjet/wizards/contributo rs/JContentPane...
>>
>> (Unsupported major.minor version 49.0)
>>
>>
>> Any ideia how to fix this bug?
>> I tried in eclipse 3.1M6 and 3.1M7 with GEF-runtime-3.1M6.zip,
>> emf-sdo-runtime-I200504141117.zip and VE-runtime-1.1M1.zip. Windows XP.
>>
>>
>> thanks in advance,
>> ATK
>
>
Re: Problem: Creation of element failed [message #607769 is a reply to message #91168] Mon, 16 May 2005 12:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Did you recently switch Java versions, in particular switch from 1.5
down to 1.4? This means an internal template for JContentPane was
compiled at I think 1.5 and is now trying to run in 1.4.

This area of code needs to be cleaned up, it isn't fully speced out. But
for now you will need to do Projects->Clean->Clean All to clear it out.

ATK wrote:
> When i try to create a new Swing Class: Application (JFrame) then it's
> finishing the process an error occurs:
>
> Creation of element failed
> org/eclipse/ve/internal/java/codegen/jjet/wizards/contributo rs/JContentPane...
>
> (Unsupported major.minor version 49.0)
>
>
> Any ideia how to fix this bug?
> I tried in eclipse 3.1M6 and 3.1M7 with GEF-runtime-3.1M6.zip,
> emf-sdo-runtime-I200504141117.zip and VE-runtime-1.1M1.zip. Windows XP.
>
>
> thanks in advance,
> ATK

--
Thanks,
Rich Kulp
Re: Problem: Creation of element failed [message #607774 is a reply to message #91197] Mon, 16 May 2005 14:10 Go to previous message
Eclipse UserFriend
I tried that, doesn't work...

I can't really understand what was the problem but i think it's now
fixed... I deleted eclipse, installed again, unziped GEF, run eclipse,
unziped emf & ve, run eclipse -clean... The only diferent thing I did
was using a diferent workspace dir...

Previously I was using a workspace dir that I used for older versions of
Eclipse... maybe that was the problem, that's my only explanation...

It's now fixed... I believe the problem was using a workspace dir
created in eclipse M5 (eventough i didn't use any old project)... maybe
something about configurations that I can't really figure out..

Thanks for your help.


Rich Kulp wrote:
> Did you recently switch Java versions, in particular switch from 1.5
> down to 1.4? This means an internal template for JContentPane was
> compiled at I think 1.5 and is now trying to run in 1.4.
>
> This area of code needs to be cleaned up, it isn't fully speced out. But
> for now you will need to do Projects->Clean->Clean All to clear it out.
>
> ATK wrote:
>
>> When i try to create a new Swing Class: Application (JFrame) then it's
>> finishing the process an error occurs:
>>
>> Creation of element failed
>> org/eclipse/ve/internal/java/codegen/jjet/wizards/contributo rs/JContentPane...
>>
>> (Unsupported major.minor version 49.0)
>>
>>
>> Any ideia how to fix this bug?
>> I tried in eclipse 3.1M6 and 3.1M7 with GEF-runtime-3.1M6.zip,
>> emf-sdo-runtime-I200504141117.zip and VE-runtime-1.1M1.zip. Windows XP.
>>
>>
>> thanks in advance,
>> ATK
>
>
Previous Topic:Adding JRadioButton to ButtonGroup generates improper code
Next Topic:Required CVS check-out to build VE?
Goto Forum:
  


Current Time: Thu Jun 12 18:26:58 EDT 2025

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

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

Back to the top