{"action":"created","issue":{"url":"https://api.github.com/repos/eMoflon/emoflon-issue-tracking-system/issues/549","labels_url":"https://api.github.com/repos/eMoflon/emoflon-issue-tracking-system/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/eMoflon/emoflon-issue-tracking-system/issues/549/comments","events_url":"https://api.github.com/repos/eMoflon/emoflon-issue-tracking-system/issues/549/events","html_url":"https://github.com/eMoflon/emoflon-issue-tracking-system/issues/549","id":100531852,"number":549,"title":"DotToTGGTGG throws Runtime Exception","user":{"login":"SvenPeldszus","id":2663702,"avatar_url":"https://avatars.githubusercontent.com/u/2663702?v=3","gravatar_id":"","url":"https://api.github.com/users/SvenPeldszus","html_url":"https://github.com/SvenPeldszus","followers_url":"https://api.github.com/users/SvenPeldszus/followers","following_url":"https://api.github.com/users/SvenPeldszus/following{/other_user}","gists_url":"https://api.github.com/users/SvenPeldszus/gists{/gist_id}","starred_url":"https://api.github.com/users/SvenPeldszus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SvenPeldszus/subscriptions","organizations_url":"https://api.github.com/users/SvenPeldszus/orgs","repos_url":"https://api.github.com/users/SvenPeldszus/repos","events_url":"https://api.github.com/users/SvenPeldszus/events{/privacy}","received_events_url":"https://api.github.com/users/SvenPeldszus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"anthonyanjorin","id":6302793,"avatar_url":"https://avatars.githubusercontent.com/u/6302793?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyanjorin","html_url":"https://github.com/anthonyanjorin","followers_url":"https://api.github.com/users/anthonyanjorin/followers","following_url":"https://api.github.com/users/anthonyanjorin/following{/other_user}","gists_url":"https://api.github.com/users/anthonyanjorin/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyanjorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyanjorin/subscriptions","organizations_url":"https://api.github.com/users/anthonyanjorin/orgs","repos_url":"https://api.github.com/users/anthonyanjorin/repos","events_url":"https://api.github.com/users/anthonyanjorin/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyanjorin/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-12T12:29:42Z","updated_at":"2015-08-12T19:15:44Z","closed_at":null,"body":"It is currently not possible to convert XMI files into the dot representation. In the installed eMoflon Plugin just a NullpointerException is visible:\r\n\r\n```14:12:09 ERROR [ui.ConvertToDotHandler::186] - java.lang.NullPointerException during visualization: null```\r\n\r\nHowever, in the Developer Workspace we can see that the NullpointerException has its origin in the Dot TGG throwing the attached Runtime Exception.\r\n\r\n@erhanleblebici This looks for me similar to the TGG bug where two enumerations did not match you fixed for me on Friday, August 7th.\r\n\r\nP.S. While searching for the  reasons of the exception I've taken the chance to override the  ```-getAbsolutePathToDotExe():string``` method in ```ConvertToDotHandler.java``` to check the default locations of Graphviz Dot and the environment variable before using your provided ```dot.exe``` as fallback on Windows. If desired I can provide a patch. \r\n\r\n```\r\njava.lang.RuntimeException: java.lang.RuntimeException: Pattern matching in node [prepare return value] failed. Variables: [this] = DotToTGGTGG.Rules.impl.NodeToSrcOVImpl@131f200b.\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:422)\r\n\tat java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593)\r\n\tat java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677)\r\n\tat java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:735)\r\n\tat java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:714)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)\r\n\tat java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)\r\n\tat org.moflon.tgg.algorithm.synchronization.Synchronizer.collectDerivations(Synchronizer.java:243)\r\n\tat org.moflon.tgg.algorithm.synchronization.Synchronizer.handleAdditions(Synchronizer.java:135)\r\n\tat org.moflon.tgg.algorithm.synchronization.Synchronizer.synchronize(Synchronizer.java:116)\r\n\tat org.moflon.tgg.algorithm.synchronization.SynchronizationHelper.performSynchronization(SynchronizationHelper.java:434)\r\n\tat org.moflon.tgg.algorithm.synchronization.SynchronizationHelper.integrateBackward(SynchronizationHelper.java:460)\r\n\tat org.moflon.visualization.ui.ConvertToDotHandler.modelToTree_TGG(ConvertToDotHandler.java:295)\r\n\tat org.moflon.visualization.ui.ConvertToDotHandler.modelToDot(ConvertToDotHandler.java:216)\r\n\tat org.moflon.visualization.ui.ConvertToDotHandler.execute(ConvertToDotHandler.java:87)\r\n\tat org.moflon.visualization.ui.ConvertToDotHandler.execute(ConvertToDotHandler.java:72)\r\n\tat org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295)\r\n\tat org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:252)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:234)\r\n\tat org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152)\r\n\tat org.eclipse.core.commands.Command.executeWithChecks(Command.java:493)\r\n\tat org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:486)\r\n\tat org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:799)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.handleWidgetSelection(HandledContributionItem.java:675)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.access$7(HandledContributionItem.java:659)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem$4.handleEvent(HandledContributionItem.java:592)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4481)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1327)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3819)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3430)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1127)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1018)\r\n\tat org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:156)\r\n\tat org.eclipse.ui.internal.Workbench$5.run(Workbench.java:654)\r\n\tat org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:337)\r\n\tat org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:598)\r\n\tat org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)\r\n\tat org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:139)\r\n\tat org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)\r\n\tat org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)\r\n\tat org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)\r\n\tat org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)\r\n\tat org.eclipse.equinox.launcher.Main.run(Main.java:1515)\r\n\tat org.eclipse.equinox.launcher.Main.main(Main.java:1488)\r\nCaused by: java.lang.RuntimeException: Pattern matching in node [prepare return value] failed. Variables: [this] = DotToTGGTGG.Rules.impl.NodeToSrcOVImpl@131f200b.\r\n\tat DotToTGGTGG.Rules.impl.NodeToSrcOVImpl.isAppropriate_BWD_EMoflonEdge_64(NodeToSrcOVImpl.java:431)\r\n\tat DotToTGGTGG.Rules.impl.NodeToSrcOVImpl.eInvoke(NodeToSrcOVImpl.java:789)\r\n\tat org.eclipse.emf.ecore.impl.BasicEObjectImpl.eInvoke(BasicEObjectImpl.java:2027)\r\n\tat org.moflon.tgg.algorithm.invocation.InvokeUtil.invokeOperationWithSingleArg(InvokeUtil.java:27)\r\n\tat org.moflon.tgg.algorithm.invocation.InvokeIsAppropriate.lambda$0(InvokeIsAppropriate.java:41)\r\n\tat org.moflon.tgg.algorithm.invocation.InvokeIsAppropriate$$Lambda$39/1738821325.apply(Unknown Source)\r\n\tat java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)\r\n\tat java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)\r\n\tat java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:151)\r\n\tat java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:174)\r\n\tat java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)\r\n\tat java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:418)\r\n\tat java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:270)\r\n\tat java.util.HashMap$KeySpliterator.forEachRemaining(HashMap.java:1540)\r\n\tat java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:512)\r\n\tat java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:502)\r\n\tat java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:747)\r\n\tat java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:721)\r\n\tat java.util.stream.AbstractTask.compute(AbstractTask.java:316)\r\n\tat java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)\r\n\tat java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)\r\n\tat java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)\r\n\tat java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1689)\r\n\tat java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157)\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eMoflon/emoflon-issue-tracking-system/issues/comments/130416113","html_url":"https://github.com/eMoflon/emoflon-issue-tracking-system/issues/549#issuecomment-130416113","issue_url":"https://api.github.com/repos/eMoflon/emoflon-issue-tracking-system/issues/549","id":130416113,"user":{"login":"anthonyanjorin","id":6302793,"avatar_url":"https://avatars.githubusercontent.com/u/6302793?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyanjorin","html_url":"https://github.com/anthonyanjorin","followers_url":"https://api.github.com/users/anthonyanjorin/followers","following_url":"https://api.github.com/users/anthonyanjorin/following{/other_user}","gists_url":"https://api.github.com/users/anthonyanjorin/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyanjorin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyanjorin/subscriptions","organizations_url":"https://api.github.com/users/anthonyanjorin/orgs","repos_url":"https://api.github.com/users/anthonyanjorin/repos","events_url":"https://api.github.com/users/anthonyanjorin/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyanjorin/received_events","type":"User","site_admin":false},"created_at":"2015-08-12T19:15:44Z","updated_at":"2015-08-12T19:15:44Z","body":"There is no such file in the issues folder"}}