{"action":"created","issue":{"url":"https://api.github.com/repos/dkpro/dkpro-core/issues/660","labels_url":"https://api.github.com/repos/dkpro/dkpro-core/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/dkpro/dkpro-core/issues/660/comments","events_url":"https://api.github.com/repos/dkpro/dkpro-core/issues/660/events","html_url":"https://github.com/dkpro/dkpro-core/issues/660","id":100018309,"number":660,"title":"Eclipse Mars: Ant scripts not executable via GUI","user":{"login":"Horsmann","id":8234699,"avatar_url":"https://avatars.githubusercontent.com/u/8234699?v=3","gravatar_id":"","url":"https://api.github.com/users/Horsmann","html_url":"https://github.com/Horsmann","followers_url":"https://api.github.com/users/Horsmann/followers","following_url":"https://api.github.com/users/Horsmann/following{/other_user}","gists_url":"https://api.github.com/users/Horsmann/gists{/gist_id}","starred_url":"https://api.github.com/users/Horsmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Horsmann/subscriptions","organizations_url":"https://api.github.com/users/Horsmann/orgs","repos_url":"https://api.github.com/users/Horsmann/repos","events_url":"https://api.github.com/users/Horsmann/events{/privacy}","received_events_url":"https://api.github.com/users/Horsmann/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dkpro/dkpro-core/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-08-10T09:31:46Z","updated_at":"2015-09-16T12:31:08Z","closed_at":null,"body":"Hi,\r\nwhen using the newest Eclipse version (Mars) all Ant scripts break.\r\nIt is still possible to execute the default-target which does not really install anything (one has to set \"local-maven\" additionally). \r\nOpening the script in the Eclipse-Ant editor gives an exception (see below), the scripts are not executable with the proper target-settings from the Eclipse GUI. \r\n\r\nI am not sure if this is an Eclipse-Mars issue or a property of our Ant files?\r\n\r\n```\r\njava.lang.NullPointerException\r\n\tat org.eclipse.ant.internal.ui.model.AntElementNode.setFilePath(AntElementNode.java:244)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.setExternalInformation(AntModel.java:1021)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.newTaskNode(AntModel.java:971)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.addTask(AntModel.java:862)\r\n\tat org.eclipse.ant.internal.ui.editor.utils.ProjectHelper$ElementHandler.onStartElement(ProjectHelper.java:127)\r\n\tat org.apache.tools.ant.helper.ProjectHelper2$RootHandler.startElement(ProjectHelper2.java:574)\r\n\tat com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:509)\r\n\tat com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:182)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:356)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2786)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:606)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:117)\r\n\tat com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:848)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:777)\r\n\tat com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)\r\n\tat com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1213)\r\n\tat com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)\r\n\tat org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:281)\r\n\tat org.eclipse.ant.internal.ui.editor.utils.ProjectHelper.parse(ProjectHelper.java:653)\r\n\tat org.eclipse.ant.internal.ui.editor.utils.ProjectHelper.parse(ProjectHelper.java:777)\r\n\tat org.apache.tools.ant.taskdefs.ImportTask.importResource(ImportTask.java:222)\r\n\tat org.apache.tools.ant.taskdefs.ImportTask.execute(ImportTask.java:163)\r\n\tat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)\r\n\tat org.eclipse.ant.internal.ui.model.AntImportNode.configure(AntImportNode.java:75)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.resolveBuildfile(AntModel.java:566)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.parseDocument(AntModel.java:379)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.reconcile(AntModel.java:313)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:1518)\r\n\tat org.eclipse.ant.internal.ui.model.AntModel.getProjectNode(AntModel.java:1531)\r\n\tat org.eclipse.ant.internal.ui.editor.text.AntFoldingStructureProvider.updateFoldingRegions(AntFoldingStructureProvider.java:90)\r\n\tat org.eclipse.ant.internal.ui.editor.AntEditor.projectionEnabled(AntEditor.java:1283)\r\n\tat org.eclipse.jface.text.source.projection.ProjectionViewer.fireProjectionEnabled(ProjectionViewer.java:488)\r\n\tat org.eclipse.jface.text.source.projection.ProjectionViewer.enableProjection(ProjectionViewer.java:536)\r\n\tat org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1408)\r\n\tat org.eclipse.ant.internal.ui.editor.AntEditor$StatusLineSourceViewer.doOperation(AntEditor.java:217)\r\n\tat org.eclipse.ant.internal.ui.editor.AntEditor.createPartControl(AntEditor.java:996)\r\n\tat org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:151)\r\n\tat org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:99)\r\n\tat org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:341)\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.processAnnotated(InjectorImpl.java:898)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.processAnnotated(InjectorImpl.java:879)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:121)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:345)\r\n\tat org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:264)\r\n\tat org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:162)\r\n\tat org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:104)\r\n\tat org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.doCreate(ReflectionContributionFactory.java:73)\r\n\tat org.eclipse.e4.ui.internal.workbench.ReflectionContributionFactory.create(ReflectionContributionFactory.java:55)\r\n\tat org.eclipse.e4.ui.workbench.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:129)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createWidget(PartRenderingEngine.java:971)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:640)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.safeCreateGui(PartRenderingEngine.java:746)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.access$0(PartRenderingEngine.java:717)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$2.run(PartRenderingEngine.java:711)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.createGui(PartRenderingEngine.java:695)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl$1.handleEvent(PartServiceImpl.java:99)\r\n\tat org.eclipse.e4.ui.services.internal.events.UIEventHandler$1.run(UIEventHandler.java:40)\r\n\tat org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:186)\r\n\tat org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:145)\r\n\tat org.eclipse.swt.widgets.Display.syncExec(Display.java:4781)\r\n\tat org.eclipse.e4.ui.internal.workbench.swt.E4Application$1.syncExec(E4Application.java:211)\r\n\tat org.eclipse.e4.ui.services.internal.events.UIEventHandler.handleEvent(UIEventHandler.java:36)\r\n\tat org.eclipse.equinox.internal.event.EventHandlerWrapper.handleEvent(EventHandlerWrapper.java:197)\r\n\tat org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:197)\r\n\tat org.eclipse.equinox.internal.event.EventHandlerTracker.dispatchEvent(EventHandlerTracker.java:1)\r\n\tat org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)\r\n\tat org.eclipse.osgi.framework.eventmgr.ListenerQueue.dispatchEventSynchronous(ListenerQueue.java:148)\r\n\tat org.eclipse.equinox.internal.event.EventAdminImpl.dispatchEvent(EventAdminImpl.java:135)\r\n\tat org.eclipse.equinox.internal.event.EventAdminImpl.sendEvent(EventAdminImpl.java:78)\r\n\tat org.eclipse.equinox.internal.event.EventComponent.sendEvent(EventComponent.java:39)\r\n\tat org.eclipse.e4.ui.services.internal.events.EventBroker.send(EventBroker.java:85)\r\n\tat org.eclipse.e4.ui.internal.workbench.UIEventPublisher.notifyChanged(UIEventPublisher.java:59)\r\n\tat org.eclipse.emf.common.notify.impl.BasicNotifierImpl.eNotify(BasicNotifierImpl.java:374)\r\n\tat org.eclipse.e4.ui.model.application.ui.impl.ElementContainerImpl.setSelectedElement(ElementContainerImpl.java:171)\r\n\tat org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.showElementInWindow(ModelServiceImpl.java:494)\r\n\tat org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.bringToTop(ModelServiceImpl.java:458)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.delegateBringToTop(PartServiceImpl.java:724)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.bringToTop(PartServiceImpl.java:396)\r\n\tat org.eclipse.e4.ui.internal.workbench.PartServiceImpl.showPart(PartServiceImpl.java:1166)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:3234)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.access$25(WorkbenchPage.java:3149)\r\n\tat org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:3131)\r\n\tat org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3126)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3090)\r\n\tat org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:3080)\r\n\tat org.eclipse.ui.ide.IDE.openEditor(IDE.java:541)\r\n\tat org.eclipse.ui.ide.IDE.openEditor(IDE.java:500)\r\n\tat org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:360)\r\n\tat org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:167)\r\n\tat org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:268)\r\n\tat org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:233)\r\n\tat org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:275)\r\n\tat org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:251)\r\n\tat org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:376)\r\n\tat org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$4.open(PackageExplorerPart.java:538)\r\n\tat org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.open(OpenAndLinkWithEditorHelper.java:48)\r\n\tat org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:854)\r\n\tat org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)\r\n\tat org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)\r\n\tat org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:851)\r\n\tat org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1168)\r\n\tat org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1275)\r\n\tat org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:278)\r\n\tat org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:272)\r\n\tat org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:313)\r\n\tat org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)\r\n\tat org.eclipse.swt.widgets.Display.sendEvent(Display.java:4230)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1491)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1514)\r\n\tat org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1499)\r\n\tat org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1299)\r\n\tat org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4072)\r\n\tat org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3698)\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```"},"comment":{"url":"https://api.github.com/repos/dkpro/dkpro-core/issues/comments/140727274","html_url":"https://github.com/dkpro/dkpro-core/issues/660#issuecomment-140727274","issue_url":"https://api.github.com/repos/dkpro/dkpro-core/issues/660","id":140727274,"user":{"login":"daxenberger","id":11501005,"avatar_url":"https://avatars.githubusercontent.com/u/11501005?v=3","gravatar_id":"","url":"https://api.github.com/users/daxenberger","html_url":"https://github.com/daxenberger","followers_url":"https://api.github.com/users/daxenberger/followers","following_url":"https://api.github.com/users/daxenberger/following{/other_user}","gists_url":"https://api.github.com/users/daxenberger/gists{/gist_id}","starred_url":"https://api.github.com/users/daxenberger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daxenberger/subscriptions","organizations_url":"https://api.github.com/users/daxenberger/orgs","repos_url":"https://api.github.com/users/daxenberger/repos","events_url":"https://api.github.com/users/daxenberger/events{/privacy}","received_events_url":"https://api.github.com/users/daxenberger/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T12:31:08Z","updated_at":"2015-09-16T12:31:08Z","body":"I can confirm this issue."}}