Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [henshin-dev] Example läuft nicht

Hi Gregor,

that's good news, thanks for the fix.

@Alexander: if you want, you can try out the fixed version. Unfortunately, you have to switch to the nightly build for this, which may contain other bugs. But at least we will be able to react quickly if you use the development version ;). I do not know yet whether we will make an official release to fix the bug.

Cheers,
Christian


On 07.12.2011 23:16, Gregor Bonifer wrote:
Hi,

i fixed the bug. It actually was just the setDirty-call. But I fooled myself in an absolutely terrific way. I tried to debug the wizard using a model that exposed a bug in EMF Compare. Unfortunately, reporting the bug did not fix the headache it caused.

Regards,
Gregor

Am 07.12.2011 09:25, schrieb Christian Krause:
Hi Gregor,

switching back to Helios is not really a solution. The NPE seems to be caused by a missing viewer. Should the viewer be set somehow before the critical call? What happens if you simply do not set the dirty flag?

cheers,
christian

On 06.12.2011 22:25, Gregor Bonifer wrote:
Hi,

das Problem hat mit der EMF Compare Version zu tun, die mit Indigo ausgeliefert wird. Ich habe daran schon mehrere Stunden gedebuggt aber noch keine Ahnung wie ich das fixen kann. Unter Helios laeuft alles wie gewuenscht. Ich habe Indigo nur kurz angetestet bin dann aber zurueck zu Helios, da es in EMF.edit einen Bug gibt der bei DragNDrop eine Exception wirft. Der maintenance-build vom 31.10. fixt das Problem, aber es gibt kein Update ueber die offizielle updatesite. EMF Compare ist also nicht die einzige probelmatische DependEncy in Indigo. Ich bleibe weiter dran und hoffe das bald gefixt zu haben, wuerde solange aber einfach raten Helios zu verwenden.

Gruss,
Gregor

P.S.: Sollte in dieser liste nicht englisch geschrieben werden?

Am 06.12.2011 21:47, schrieb Christian Krause:
Hi Gregor,

ich bekomme eine Exception beim Versuch auf den "Preview" Button im Interpreter Wizard zu klicken (Bank accounts example). Kannst Du Dir das mal bitte anschauen? Ich weiß nicht wo die auf einmal herkommt -- die scheint sowohl im Release als auch Trunk aufzutreten.

Ciao,
Christian

java.lang.NullPointerException
at org.eclipse.compare.CompareEditorInput.setDirty(CompareEditorInput.java:1088) at org.eclipse.emf.henshin.interpreter.ui.wizard.HenshinationPreview.showDialog(HenshinationPreview.java:68) at org.eclipse.emf.henshin.interpreter.ui.wizard.HenshinWizard.performPreview(HenshinWizard.java:317) at org.eclipse.emf.henshin.interpreter.ui.wizard.HenshinWizardDialog$3.widgetSelected(HenshinWizardDialog.java:91) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
    at org.eclipse.jface.window.Window.open(Window.java:801)
at org.eclipse.emf.henshin.interpreter.ui.wizard.HenshinateHenshinFileHandler.execute(HenshinateHenshinFileHandler.java:58) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241) at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829) at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815) at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3588) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3209) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)


On 12/06/2011 05:49 PM, Alexander Schleich wrote:
Hi Henshin Team,
Ich bekomme das Example nicht zum Laufen.
Habe mir die komplette Zip runtergeladen und entpackt.
Habe versucht die transferMoney(...) Rule zu starten.
Aufgefallen ist mir dabei dass in der Rule die auf den Screenshots
im Netz zu sehenden Parameter x und y fehlen.
Hab die manuell hinzugefügt was aber nichts daran ändert dass es
nicht läuft.
Bei Klick auf "Preview" passiert einfach gar nichts.
Ganz kurz öffnet sich ein Eclipse Fenster "Processing Operation" oder so ähnlich
und dann ist man wieder im Dialog. Bei Klick auf "Transform" schließt
sich der Dialog aber die Example ist unverändert.
Auch das StateSpace Modell bekomme ich nicht zum laufen.
Ich habe die Regeln importiert und als InitialState die Example XMI
erzeugt. Bei Doppelklick passiert aber wieder nichts.

Gruß

Alexander Schleich
_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev

_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev

_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev


_______________________________________________
henshin-dev mailing list
henshin-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/henshin-dev



Back to the top