Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Save As Exception
Save As Exception [message #186445] Mon, 12 May 2008 14:09 Go to next message
Asha is currently offline AshaFriend
Messages: 18
Registered: July 2009
Junior Member
Hello,
I am getting following exception while executing Save As Functionality .

java.lang.NullPointerException
at
org.eclipse.ui.dialogs.SaveAsDialog.createContents(SaveAsDia log.java:108)
at org.eclipse.jface.window.Window.create(Window.java:426)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1081)
at org.eclipse.jface.window.Window.open(Window.java:785)
at
com.bosch.rtc.flowVinci.diagram.part.FlowVinciDiagramEditor. performSaveAs(FlowVinciDiagramEditor.java:449)
at
com.bosch.rtc.flowVinci.diagram.part.FlowVinciDiagramEditor. doSaveAs(FlowVinciDiagramEditor.java:412)
at org.eclipse.ui.internal.SaveAsAction.run(SaveAsAction.java:6 2)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498 )
at
org.eclipse.jface.action.ActionContributionItem.handleWidget Selection(ActionContributionItem.java:545)
at
org.eclipse.jface.action.ActionContributionItem.access$2(Act ionContributionItem.java:490)
at
org.eclipse.jface.action.ActionContributionItem$5.handleEven t(ActionContributionItem.java:402)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3682)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3293)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:2389)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 19)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:289)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
com.bosch.rtc.flowVinci.diagram.application.FlowVinciApplica tion.run(FlowVinciApplication.java:19)
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.internal.app.EclipseAppContainer.callMet hod(EclipseAppContainer.java:533)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:155)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:106)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:76)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
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: 504)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
at org.eclipse.equinox.launcher.Main.run(Main.java:1169)
at org.eclipse.equinox.launcher.Main.main(Main.java:1144)


It is giving exception at

dlgTitleImage = IDEInternalWorkbenchImages.getImageDescriptor(
IDEInternalWorkbenchImages.IMG_DLGBAN_SAVEAS_DLG).createImag e();

in createContents method of SaveAsDialog class.


Any idea how to remove this excedption?
Re: Save As Exception [message #186515 is a reply to message #186445] Tue, 13 May 2008 04:40 Go to previous message
Eclipse UserFriend
Originally posted by: Ajay.kemparaj.in.bosch.com

Hi Asha,

This problem has been already discussed in the newsgroup

http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.platfo rm.rcp/msg11646.html



Regards,
Ajay K
Previous Topic:A relation using a label
Next Topic:Launch GMF diagram validation from the edit popup menu
Goto Forum:
  


Current Time: Fri Apr 26 22:24:27 GMT 2024

Powered by FUDForum. Page generated in 0.03543 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top