Products

Home Forums eaDocX queries Problem with profile for enumeration

Home Forums eaDocX queries Problem with profile for enumeration

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7902
    Frank Ertl
    Participant

    Hello,

    today I found a strange problem concerning the generation of enumerations.
    When I select “Show Profile” for enumerations I get an exception:

    [code]************** Ausnahmetext **************
    Informationen über das Aufrufen von JIT-Debuggen
    anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.
    System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
    bei eaDocXAddIn.frmInlineFormatting.frmInlineFormatting_Load(Object sender, EventArgs e)
    bei System.Windows.Forms.Form.OnLoad(EventArgs e)
    bei System.Windows.Forms.Form.OnCreateControl()
    bei System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    bei System.Windows.Forms.Control.CreateControl()
    bei System.Windows.Forms.Control.WmShowWindow(Message& m)
    bei System.Windows.Forms.Control.WndProc(Message& m)
    bei System.Windows.Forms.ScrollableControl.WndProc(Message& m)
    bei System.Windows.Forms.ContainerControl.WndProc(Message& m)
    bei System.Windows.Forms.Form.WmShowWindow(Message& m)
    bei System.Windows.Forms.Form.WndProc(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

    ************** Geladene Assemblys **************
    mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
    —————————————-
    eaDocXAddIn
    Assembly-Version: 3.5.0.4.
    Win32-Version: 3.5.0.4.
    CodeBase: file:///C:/Program%20Files%20(x86)/eaDocX/eaDocXAddIn.DLL.
    —————————————-
    Interop.EA
    Assembly-Version: 2.10.0.0.
    Win32-Version: 2.10.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/eaDocX/Interop.EA.DLL.
    —————————————-
    LogicNP.CryptoLicensing
    Assembly-Version: 6.0.0.0.
    Win32-Version: 6.0.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/eaDocX/LogicNP.CryptoLicensing.DLL.
    —————————————-
    Microsoft.VisualBasic
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
    —————————————-
    System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
    —————————————-
    System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
    —————————————-
    System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400).
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
    —————————————-
    System.Configuration
    Assembly-Version: 2.0.0.0.[/code]

    Any ideas?

    Regards,
    Frank

    #7903
    eadocX Support
    Participant

    We didn’t realise that you could create a Profile for enumerations! We will have a look….

    #7904
    Jörg Witzel
    Participant

    In the EA there are two methods to model enumerations: a Class with stereotype “enumeration” and an entity Enumeration. Both look almost identical but only the entity Enumeration is translated correctly when generating java code. So we always use Enumeration.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

Compare licence prices

Choose the licence that’s right for you and your team

Prices

Download a free trial

Download eaTeamWorks today for several free for life features, plus no obligation, 30-day trials of all the products: eaDocX, ea Revision Manager, eaSheets, Model Expert and PortfolioManager. Discover for yourself why we sell the world’s best-selling Enterprise Architect extension.

Download