Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [solved] [EMF Forms] Error using View Model Editor: "Bad type on operand stack"(Editing *.view file in view model editor results in exception error)
[solved] [EMF Forms] Error using View Model Editor: "Bad type on operand stack" [message #1695069] Mon, 11 May 2015 18:39 Go to next message
Volker Fervers is currently offline Volker FerversFriend
Messages: 14
Registered: March 2015
Junior Member
Hello!

I have a modelling project (Eclipse modelling edition) and created a view model from the ecore file.

If I open the class' view file I reproducably receive an error dialog (contents below). Every click on a part of the view model gives the error again. I don't know how to control which databinding context is used by the view model editor. Is there anything I could install/reinstall?

Thanks for your help!
GV

Ein Fehler ist aufgetreten. Details finden Sie im Fehlerprotokoll.
Bad type on operand stack
Exception Details:
  Location:
    org/eclipse/emf/ecp/view/spi/core/swt/AbstractControlSWTRenderer.getDataBindingContext()Lorg/eclipse/core/databinding/DataBindingContext; @15: putfield
  Reason:
    Type 'org/eclipse/emf/databinding/EMFDataBindingContext' (current frame, stack[1]) is not assignable to 'org/eclipse/core/databinding/DataBindingContext'
  Current Frame:
    bci: @15
    flags: { }
    locals: { 'org/eclipse/emf/ecp/view/spi/core/swt/AbstractControlSWTRenderer' }
    stack: { 'org/eclipse/emf/ecp/view/spi/core/swt/AbstractControlSWTRenderer', 'org/eclipse/emf/databinding/EMFDataBindingContext' }
  Bytecode:
    0x0000000: 2ab4 0147 c700 0e2a bb00 9759 b701 5bb5
    0x0000010: 0147 2ab4 0147 b0                      
  Stackmap Table:
    same_frame(@18)

[Updated on: Tue, 12 May 2015 09:45]

Report message to a moderator

Re: [EMF Forms] Error using View Model Editor: "Bad type on operand stack" [message #1695111 is a reply to message #1695069] Tue, 12 May 2015 06:53 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi Volker,

which version of EMF Forms are you using?

Best regards

Jonas


Am 11.05.2015 um 20:39 schrieb Volker Fervers:
> Hello!
>
> I have a modelling project (Eclipse modelling edition) and created a
> view model from the ecore file.
>
> If I open the class' view file I reproducably receive an error dialog
> (contents below). Every click on a part of the view model gives the
> error again. I don't know how to control which databinding context is
> used by the view model editor. Is there anything I could install/reinstall?
>
> Thanks for your help!
> GV
>
>
> Ein Fehler ist aufgetreten. Details finden Sie im Fehlerprotokoll.
> Bad type on operand stack
> Exception Details:
> Location:
>
> org/eclipse/emf/ecp/view/spi/core/swt/AbstractControlSWTRenderer.getDataBindingContext()Lorg/eclipse/core/databinding/DataBindingContext;
> @15: putfield
> Reason:
> Type 'org/eclipse/emf/databinding/EMFDataBindingContext' (current
> frame, stack[1]) is not assignable to
> 'org/eclipse/core/databinding/DataBindingContext'
> Current Frame:
> bci: @15
> flags: { }
> locals: {
> 'org/eclipse/emf/ecp/view/spi/core/swt/AbstractControlSWTRenderer' }
> stack: {
> 'org/eclipse/emf/ecp/view/spi/core/swt/AbstractControlSWTRenderer',
> 'org/eclipse/emf/databinding/EMFDataBindingContext' }
> Bytecode:
> 0x0000000: 2ab4 0147 c700 0e2a bb00 9759 b701 5bb5
> 0x0000010: 0147 2ab4 0147 b0 Stackmap Table:
> same_frame(@18)
>


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
[solved] Re: [EMF Forms] Error using View Model Editor: "Bad type on operand stack&quot [message #1695127 is a reply to message #1695111] Tue, 12 May 2015 08:07 Go to previous message
Volker Fervers is currently offline Volker FerversFriend
Messages: 14
Registered: March 2015
Junior Member
Hi Jonas!

I think that the issue is solved. I had installed the E4 data binding from the E4 Tools. After deinstallation the error is gone.

Thank you!
GV
Previous Topic:[EMFStore] command stack flushing
Next Topic:[EMF Forms]
Goto Forum:
  


Current Time: Sat Feb 29 05:01:29 GMT 2020

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

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

Back to the top