Home » Eclipse Projects » Requirements Modeling Framework » Problems with tool-extentions
Problems with tool-extentions [message #1038207] |
Wed, 10 April 2013 10:49  |
Eclipse User |
|
|
|
Hi,
I am currently writing a programm, which uses the RMF framework to create the reqif object from a *.reqif file, which I have created befor, using ProR.
If I create a new ReqIF10model in ProR and add some SpecObjects ... RMF creates the desired object, but if I add a Presention(e.g) to the file, it wont work.
Till now I simply deleted the tool-extention section in the *.reqif file befor using it. This way everything worked fine ...
But is there some other solution ?
kind regards,
Alex
|
|
|
Re: Problems with tool-extentions [message #1040196 is a reply to message #1038207] |
Sat, 13 April 2013 02:43   |
Eclipse User |
|
|
|
Hi Alex,
First, we do have some issues with the ToolExtensions, and we plan to refactor their handling within the next month or so. In fact, we recently added a .reqifz-Importer (not to RMF, but to ProR Essentials) which does exactly what you do: It strips all ToolExtensions to prevent problems.
If you can afford it, I would recommend you to just wait for another month, until the ToolExtensions are fixed (Mark is working on that one, I'll remind him). If you need a solution right now, then you have to provide more information: Can you describe step-by-step what you are doing, and where the problem occurs?
Best,
- Michael
|
|
| | |
Re: Problems with tool-extentions [message #1042211 is a reply to message #1041861] |
Tue, 16 April 2013 02:00   |
Eclipse User |
|
|
|
Hello Michael,
I am using the standalone version of ProR, including the following packages.
Formal Mind Registration Feature 0.6.1.201303281548
ProR Linkmanagement Presentation Feature 0.6.1.201303281548
ProR ReqIF Diff Support Feature 0.6.1.201303281548
ProR ReqIF Team Feature 0.6.1.201303281548
ProR ReqIFz Transfer 0.6.1.201303281548
ProR Xhtml Rtf Presentation Feature 0.6.1.201303281548
RMF ProR Standalone 0.6.1.201303051050
You were right, after trying to import the file for about 10min, I got an exception and the import failed.
Here is a short version of the stacktrace...
!ENTRY org.eclipse.ui 4 0 2013-04-16 07:49:10.978
!MESSAGE Unhandled event loop exception
!STACK 0
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl$1DiagnosticWrappedException: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl@18e4e6cf (eClass: org.eclipse.emf.ecore.impl.EClassImpl@6bfc212d (name: IdConfiguration) (instanceClassName: null) (abstract: false, interface: false)) (mixed: null, anyAttribute: [toolextensions_1.0:datatype=rmf-957f44d7-4bfb-4637-abbc-6f7db446fdb6, id:count=2])' is not legal. (file:/C:/Users/alex/workspace_pror/testing/not_working.reqif, 135, 115)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.handleDemandLoadException(ResourceSetImpl.java:319)
at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLoadHelper(ResourceSetImpl.java:278)
Caused by: org.eclipse.emf.ecore.xmi.IllegalValueException: Value 'org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl@18e4e6cf (eClass: org.eclipse.emf.ecore.impl.EClassImpl@6bfc212d (name: IdConfiguration) (instanceClassName: null) (abstract: false, interface: false)) (mixed: null, anyAttribute: [toolextensions_1.0:datatype=rmf-957f44d7-4bfb-4637-abbc-6f7db446fdb6, id:count=2])' is not legal. (file:/C:/Users/alex/workspace_pror/testing/not_working.reqif, 135, 115)
at org.eclipse.emf.ecore.xmi.impl.XMLHandler.setFeatureValue(XMLHandler.java:2657)
Caused by: java.lang.ArrayStoreException: org.eclipse.emf.ecore.xml.type.impl.AnyTypeImpl
at org.eclipse.emf.common.util.BasicEList.assign(BasicEList.java:118)
at org.eclipse.emf.common.util.BasicEList.addUnique(BasicEList.java:418)
Alex
[Updated on: Thu, 18 April 2013 03:08] by Moderator
|
|
|
Re: Problems with tool-extentions [message #1043945 is a reply to message #1041669] |
Thu, 18 April 2013 05:51   |
Eclipse User |
|
|
|
Hi Alexander,
So far, I could not reproduce the issue, working on it.
Quote:=> ReqIF import isnt working anymore ( some sort of infinite loop during import )
Just to clarify, do you really mean "import" (by using the tranfer plug-in), or are you simply referring to opening the .reqif file by double-clicking on it?
And last, could you give me one of those broken files that you created? Either email it to me, or even better, create a Bugzilla issue for this problem.
Best,
- Michael
|
|
| | | |
Goto Forum:
Current Time: Sun May 11 21:28:58 EDT 2025
Powered by FUDForum. Page generated in 0.04220 seconds
|