Home » Eclipse Projects » Requirements Modeling Framework » Problems with tool-extentions
|
Re: Problems with tool-extentions [message #1040196 is a reply to message #1038207] |
Sat, 13 April 2013 06:43 |
|
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 #1041861 is a reply to message #1041669] |
Mon, 15 April 2013 17:18 |
|
Hi Alexander,
What version of ProR are you using? I recall the issue of "hanging", I thought we fixed that one. The problem may actually be a different one than the one you described. Particularly, we observed this behavior when the tool tried to pull the tool extension's schema from the internet. You can test this by checking whether the import works after all (after a time-out, which can take up to 15 minutes!).
> PS: can you give me a short explanation for what the general configuration->label configuration should be used ?
You can create a list of attribute names to be considered for the text in the outline and the link targets.
Best,
- Michael
|
|
|
Re: Problems with tool-extentions [message #1042211 is a reply to message #1041861] |
Tue, 16 April 2013 06:00 |
Alexander _ Messages: 5 Registered: April 2013 |
Junior Member |
|
|
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 07:08] Report message to a moderator
|
|
|
Re: Problems with tool-extentions [message #1043945 is a reply to message #1041669] |
Thu, 18 April 2013 09:51 |
|
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
|
|
| |
Re: Problems with tool-extentions [message #1044863 is a reply to message #1044680] |
Fri, 19 April 2013 12:37 |
|
Hi Alexander,
Okay, you problem may lie yet somewhere else. Are you registering all Presentation Plug-Ins, before performing the import? If not, then system may not be aware of the namespaces of the various plug-ins. If it is not aware of them, it'll go onto the Internet to retrieve the schemas. ...and the schemas can not be found, as they are in the pror.org domain, which now redirects to the RMF homepage at eclipse.org. This creates the timeout situation that I was referring to earlier.
You may want to check out org.eclipse.rmf.reqif10.pror.testframework.AbstractItemProviderTest to see how the various AdapterFactories are registered in the test code.
Let me know if this resolves your issue.
Best, Michael
|
|
| |
Goto Forum:
Current Time: Mon Jan 20 09:26:46 GMT 2025
Powered by FUDForum. Page generated in 0.08704 seconds
|