Hi,


I have stumble on another problem while doing the rename of the file
"MODSARE Simulation.sysml" to "MODSARE Simulation.sysml".

It issues and the following error while doing the "refactoring" of the
rename:

eclipse.buildId=unknown
java.version=1.6.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -perspective org.topcased.modeler.perspective
Command-line arguments:  -os win32 -ws win32 -arch x86 -perspective
org.topcased.modeler.perspective -clean


Error
Thu Nov 27 16:47:50 GMT 2008
Exception does not provide a detail message

java.lang.NullPointerException
        at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.normalize
(ExtensibleURIConverterImpl.java:348)
        at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterImpl.createOut
putStream(ExtensibleURIConverterImpl.java:289)
        at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(ResourceImpl.java:
983)
        at
org.topcased.core.refactoring.RenameModelFileChange.perform(RenameModelF
ileChange.java:167)
        at
org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange
.java:278)
        at
org.eclipse.ltk.core.refactoring.CompositeChange.perform(CompositeChange
.java:278)
        at
org.eclipse.ltk.core.refactoring.PerformChangeOperation$1.run(PerformCha
ngeOperation.java:260)
        at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
        at
org.eclipse.ltk.core.refactoring.PerformChangeOperation.executeChange(Pe
rformChangeOperation.java:308)
        at
org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation.access$
1(UIPerformChangeOperation.java:1)
        at
org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$1.run(U
IPerformChangeOperation.java:66)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
        at
org.eclipse.ltk.internal.ui.refactoring.UIPerformChangeOperation$2.run(U
IPerformChangeOperation.java:84)
        at
org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:
133)
        at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
        at
org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalC
ontext.java:173)
        at
org.eclipse.jface.operation.ModalContext.run(ModalContext.java:382)
        at
org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.run(Ref
actoringWizardDialog2.java:317)
        at
org.eclipse.ltk.ui.refactoring.RefactoringWizard.internalPerformFinish(R
efactoringWizard.java:558)
        at
org.eclipse.ltk.internal.ui.refactoring.PreviewWizardPage.performFinish(
PreviewWizardPage.java:387)
        at
org.eclipse.ltk.ui.refactoring.RefactoringWizard.performFinish(Refactori
ngWizard.java:622)
        at
org.eclipse.ltk.internal.ui.refactoring.RefactoringWizardDialog2.okPress
ed(RefactoringWizardDialog2.java:446)
        at
org.eclipse.jface.dialogs.Dialog.buttonPressed(Dialog.java:472)
        at
org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:624)
        at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228
)
        at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
        at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
        at org.eclipse.jface.window.Window.open(Window.java:801)
        at
org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation$1.run(Refa
ctoringWizardOpenOperation.java:144)
        at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at
org.eclipse.ltk.ui.refactoring.RefactoringWizardOpenOperation.run(Refact
oringWizardOpenOperation.java:156)
        at
org.eclipse.ltk.internal.ui.refactoring.actions.RenameResourceHandler.ex
ecute(RenameResourceHandler.java:40)
        at
org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:
281)
        at
org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
        at
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(Paramet
erizedCommand.java:508)
        at
org.eclipse.ui.internal.handlers.HandlerService.executeCommandInContext(
HandlerService.java:270)
        at
org.eclipse.ui.internal.ide.actions.LTKLauncher.runCommand(LTKLauncher.j
ava:95)
        at
org.eclipse.ui.internal.ide.actions.LTKLauncher.openRenameWizard(LTKLaun
cher.java:73)
        at
org.eclipse.ui.actions.RenameResourceAction.run(RenameResourceAction.jav
a:461)
        at
org.eclipse.ui.actions.BaseSelectionListenerAction.runWithEvent(BaseSele
ctionListenerAction.java:168)
        at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Ac
tionContributionItem.java:583)
        at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContribut
ionItem.java:500)
        at
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionCont
ributionItem.java:411)
        at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
        at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
        at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:
288)
        at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:4
88)
        at
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplicat
ion.java:113)
        at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.j
ava:193)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplicat
ion(EclipseAppLauncher.java:110)
        at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Eclip
seAppLauncher.java:79)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
386)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:
179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


The example you (Benoit) provided me is working fine.
I guess, something is wrong with my installation, because Benoit was
able to rename this project.

I am sorry not be so concrete with the examples. 
I am still on the my first steps.

Let me explain our project, it is called MODSARE and we are working the
validation of project requirements.

On a First Phase:
We have defined a library of requirements needed for the project.
For each requirements there is a test case scenario drawn with a state
machine (SysML).

The example I provided, is one of the library requirements and the
associated state machine.

The state machines are simulated through with a set of Events which we
call stimulus.

On a second phase of our project:
I will pick a real world project (RWP). 
The RWP project state machines would be transformed (with ATL) into
Sysml.
The transformed state machines would be stimuled with the
stimulus(Events) defined in Phase One.
The state machines that were successfully simulated, would mean library
requirements implemented in the RWP.
The objective of the project would be to list missing requirements in
the RWP.


Currently the Sysml TOPCASED project is a requirement complement (with
around 60 requirements) associated to test cased and state machines.

I now started to populate the first state machine with events and trying
to simulate.

I hope to provide you more concrete examples as the project evolves and
as I get through new problems.

Thank you for your patience,

Daniel Silveira

_______________________________________________
Topcased-users mailing list
[email protected]
http://lists.gforge.enseeiht.fr/mailman/listinfo/topcased-users

Reply via email to