Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 331189 - NPE at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:364)
Summary: NPE at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(Resour...
Status: CLOSED INVALID
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Linux
: P3 normal
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 05:48 EST by Yvan Lussaud CLA
Modified: 2011-01-27 08:33 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yvan Lussaud CLA 2010-11-26 05:48:56 EST
java.lang.NullPointerException
	at org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResource(ResourceSetImpl.java:364)
	at org.eclipse.acceleo.common.utils.ModelUtils.load(ModelUtils.java:349)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoSourceContent.getModule(AcceleoSourceContent.java:1029)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoSourceContent.loadImportsDependencies(AcceleoSourceContent.java:941)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoSourceContent.getResolvedASTNode(AcceleoSourceContent.java:1160)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.utils.OpenDeclarationUtils.findDeclaration(OpenDeclarationUtils.java:774)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoEditor.findOccurrences(AcceleoEditor.java:743)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoEditor.access$0(AcceleoEditor.java:739)
	at org.eclipse.acceleo.internal.ide.ui.editors.template.AcceleoEditor$3.selectionChanged(AcceleoEditor.java:706)
	at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179)
	at org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71)
	at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2745)
	at org.eclipse.jface.text.TextViewer.firePostSelectionChanged(TextViewer.java:2693)
	at org.eclipse.jface.text.TextViewer$5.run(TextViewer.java:2672)
	at org.eclipse.swt.widgets.Display.timerProc(Display.java:4118)
	at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
	at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2224)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3169)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2629)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2593)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2427)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:670)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:663)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	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:369)
	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:619)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
Comment 1 Laurent Goubet CLA 2011-01-25 06:44:23 EST
This cannot be reproduced. Could you provide us with an environment presenting this failure?
Comment 2 Laurent Goubet CLA 2011-01-27 08:33:29 EST
Cannot be reproduced, closing as invalid until someone stumbles upon this again.