Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » [Exception] Illegal Value(While trying to execute my tasks I found this exceptions in the log)
[Exception] Illegal Value [message #1724377] Tue, 23 February 2016 13:02 Go to next message
Steffen Holzer is currently offline Steffen HolzerFriend
Messages: 59
Registered: January 2016
Member

Hello again,

While playing around and trying to get my task running I encountered the following exception:
!ENTRY org.eclipse.oomph.base 2 0 2016-02-23 13:40:11.825
!MESSAGE org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@118102ee (eClass: org.eclipse.emf.ecore.impl.EClassImpl@15cc218f (name: DauzTask) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (file:/C:/Users/sholzer/Documents/oomph-ide/cobiclipse-oomph/MyProduct.setup, 29, 45)

!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@118102ee (eClass: org.eclipse.emf.ecore.impl.EClassImpl@15cc218f (name: DauzTask) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (file:/C:/Users/sholzer/Documents/oomph-ide/cobiclipse-oomph/MyProduct.setup, 29, 45)


Can somebody tell me what broke where? Oo The line number (29,45) points to my task in the setup file but the value in the stack trace is never set (or even seen) by me.

Thank you alot


"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
Re: [Exception] Illegal Value [message #1724382 is a reply to message #1724377] Tue, 23 February 2016 13:45 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 328
Registered: December 2015
Senior Member
On 23-Feb-16 14:02, Steffen Holzer wrote:
> Hello again,
>
> While playing around and trying to get my task running I encountered the following exception:
>
> !ENTRY org.eclipse.oomph.base 2 0 2016-02-23 13:40:11.825
> !MESSAGE org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@118102ee (eClass: org.eclipse.emf.ecore.impl.EClassImpl@15cc218f (name: DauzTask) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (file:/C:/Users/sholzer/Documents/oomph-ide/cobiclipse-oomph/MyProduct.setup, 29, 45)
>
> !STACK 0
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@118102ee (eClass: org.eclipse.emf.ecore.impl.EClassImpl@15cc218f (name: DauzTask) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (file:/C:/Users/sholzer/Documents/oomph-ide/cobiclipse-oomph/MyProduct.setup, 29, 45)
>
>
> Can somebody tell me what broke where? Oo The line number (29,45) points to my task in the setup file but the value in the stack trace is never set (or even seen) by me.

Could it be that EMF cannot load your generated task class and
instantiates it dynamically from the corresponding .ecore model and this
breaks later when the instance is set into some reference?

> Thank you alot
>
Re: [Exception] Illegal Value [message #1724475 is a reply to message #1724377] Wed, 24 February 2016 07:43 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6487
Registered: July 2009
Senior Member
Hi Steffen,

This is most likely a result of the "Deployable Plugins"vs. "Update Site" mistake we're discussing in your other post.

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 23.02.2016 um 14:02 schrieb Steffen Holzer:
> Hello again,
>
> While playing around and trying to get my task running I encountered the following exception:
>
> !ENTRY org.eclipse.oomph.base 2 0 2016-02-23 13:40:11.825
> !MESSAGE org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@118102ee (eClass: org.eclipse.emf.ecore.impl.EClassImpl@15cc218f (name: DauzTask) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (file:/C:/Users/sholzer/Documents/oomph-ide/cobiclipse-oomph/MyProduct.setup, 29, 45)
>
> !STACK 0
> org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.impl.DynamicEObjectImpl@118102ee (eClass: org.eclipse.emf.ecore.impl.EClassImpl@15cc218f (name: DauzTask) (instanceClassName: null) (abstract: false, interface: false))' is not legal. (file:/C:/Users/sholzer/Documents/oomph-ide/cobiclipse-oomph/MyProduct.setup, 29, 45)
>
>
> Can somebody tell me what broke where? Oo The line number (29,45) points to my task in the setup file but the value in the stack trace is never set (or even seen) by me.
>
> Thank you alot


Previous Topic:Redirect a CompoundTask?
Next Topic:Let users configure startup tasks
Goto Forum:
  


Current Time: Tue Apr 07 16:41:46 GMT 2020

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

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

Back to the top