Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
garypropp
Post subject: Save of jsp file fails will null.  PostPosted: Aug 08, 2006 - 04:13 AM
Registered Member
Registered Member


Joined: Sep 23, 2003
Posts: 11

I just installed my Eclipse 5.0 GA. and a null pointer error on save of file.

!SESSION 2006-08-07 21:59:19.084 -----------------------------------------------
eclipse.buildId=M20060629-1905
java.version=1.5.0_06
java.vendor=Apple Computer, Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US
Framework arguments: -keyring /Users/gwpx/.eclipse_keyring -showlocation -product com.genuitec.myeclipse.product.ide
Command-line arguments: -os macosx -ws carbon -clean -keyring /Users/gwpx/.eclipse_keyring -consoleLog -showlocation -product com.genuitec.myeclipse.product.id




!ENTRY org.eclipse.ui 4 4 2006-08-07 22:01:09.070
!MESSAGE Save Failed

!ENTRY org.eclipse.ui 2 0 2006-08-07 22:01:09.427
!MESSAGE Save Failed
!STACK 0
java.lang.NullPointerException
at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.setEditorDocumentRoot(DesignEditSystem.java:114)
at com.genuitec.eclipse.webdesigner3.design.DesignEditSystem.synchronize(DesignEditSystem.java:165)
at com.genuitec.eclipse.webdesigner3.AbstractEditSystem.setSynchronized(AbstractEditSystem.java:24)
at com.genuitec.eclipse.webdesigner3.WebDesigner3.setSynchronized(WebDesigner3.java:82)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.checkSynchronization(WebDesignerMultiPageEditor.java:579)
at com.genuitec.eclipse.webdesigner3.editors.WebDesignerMultiPageEditor.doSave(WebDesignerMultiPageEditor.java:467)
at org.eclipse.ui.internal.SaveableHelper$1.run(SaveableHelper.java:131)
at org.eclipse.ui.internal.SaveableHelper$4.run(SaveableHelper.java:252)
at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:369)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:313)
at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:763)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:760)
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2283)
at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:258)
at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:136)
at org.eclipse.ui.internal.EditorManager.savePart(EditorManager.java:1360)
at org.eclipse.ui.internal.WorkbenchPage.savePart(WorkbenchPage.java:2978)
at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:2991)
at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:67)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1279)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3312)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2941)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
garypropp
Post subject: Save of jap file fails with null error.  PostPosted: Aug 08, 2006 - 01:51 PM
Registered Member
Registered Member


Joined: Sep 23, 2003
Posts: 11

Here is a little more information. I am running G5 with !G memory. MacOS is 1.4.7. I created a new web project. Then a added a new jsp file. I modified the jsp file. Then I did a save. I got message "Saved failed: null".

I installed 5.0GA over a fresh version of Eclipse 3.2 SDK. I added no other software.
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
support-greg
Post subject:   PostPosted: Aug 09, 2006 - 03:25 AM
Moderator
Moderator


Joined: Mar 31, 2004
Posts: 1598

Hello Gary,

We have already identified the problem and have a fix for it internally. We will be releasing this as soon as possible, we just need to do some QA on it first to make sure we haven't missed anything else.

For now, you can make just the source editor only (MyEclipse JSP Editor) the default editor. You can access this editor through the context menu, right click a file, choose Open With > MyEclipse JSP Editor. Also you can make this the default editor for JSPs by going to Window > Preferences > Editors > File Associations. Scroll down and select *.jsp. In the list of associated editors, click on the first "MyEclipse JSP Editor (locked by 'JSP' content type)" and then click the "Default" button.

We apologize for the inconveinence caused.

_________________
Greg
MyEclipse Support
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits