Home › Forums › eaDocX queries › Problem with profile for enumeration
Home › Forums › eaDocX queries › Problem with profile for enumeration
- This topic has 2 replies, 3 voices, and was last updated 10 years ago by Jörg Witzel.
-
AuthorPosts
-
10 November 2014 at 9:17 am #7902Frank ErtlParticipant
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,
Frank10 November 2014 at 9:51 am #7903eadocX SupportParticipantWe didn’t realise that you could create a Profile for enumerations! We will have a look….
10 November 2014 at 12:43 pm #7904Jörg WitzelParticipantIn 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.
-
AuthorPosts
- You must be logged in to reply to this topic.
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