Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » ctrl-d in JS editor causing null pointer exception
ctrl-d in JS editor causing null pointer exception [message #155472] Mon, 09 January 2006 16:27 Go to next message
Osman Ullah is currently offline Osman UllahFriend
Messages: 11
Registered: July 2009
Junior Member
When I use ctrl-d to delete a line in the JS editor I get the following
error:

"Delete Line" did not complete normally.
Reason:
java.lang.NullPointerException

I don't know where the logs are stored but if someone tells me I can
take a look.

This is with the WTP 1.0 all-in-one-download installed into a fresh
eclipse directory.

Thanks
Osman
Re: ctrl-d in JS editor causing null pointer exception [message #155480 is a reply to message #155472] Mon, 09 January 2006 16:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Osman,

the logs are in your workspace in the file ".metadata\.log".

Best regards

Wolfgang

Osman Ullah wrote:
> When I use ctrl-d to delete a line in the JS editor I get the following
> error:
>
> "Delete Line" did not complete normally.
> Reason:
> java.lang.NullPointerException
>
> I don't know where the logs are stored but if someone tells me I can
> take a look.
>
> This is with the WTP 1.0 all-in-one-download installed into a fresh
> eclipse directory.
>
> Thanks
> Osman
Re: ctrl-d in JS editor causing null pointer exception [message #155699 is a reply to message #155480] Tue, 10 January 2006 18:21 Go to previous messageGo to next message
Osman Ullah is currently offline Osman UllahFriend
Messages: 11
Registered: July 2009
Junior Member
Thanks. Here is the stack trace for the error:


!ENTRY org.eclipse.ui 4 4 2006-01-09 11:25:00.23
!MESSAGE "Delete Line" did not complete normally. Please see the log
for more information.

!ENTRY org.eclipse.ui 4 0 2006-01-09 11:25:00.23
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProc essor.documentChanged(DocumentRegionProcessor.java:308)
at
org.eclipse.jface.text.AbstractDocument.doFireDocumentChange d2(AbstractDocument.java:729)
at
org.eclipse.jface.text.AbstractDocument.doFireDocumentChange d(AbstractDocument.java:692)
at
org.eclipse.jface.text.AbstractDocument.doFireDocumentChange d(AbstractDocument.java:677)
at
org.eclipse.jface.text.AbstractDocument.fireDocumentChanged( AbstractDocument.java:754)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:1112)
at
org.eclipse.jface.text.AbstractDocument.replace(AbstractDocu ment.java:1119)
at
org.eclipse.ui.texteditor.DeleteLineTarget.deleteLine(Delete LineTarget.java:350)
at
org.eclipse.ui.texteditor.DeleteLineAction.run(DeleteLineAct ion.java:151)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:996 )
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler. java:182)
at
org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execut e(LegacyHandlerWrapper.java:108)
at org.eclipse.core.commands.Command.execute(Command.java:311)
at
org.eclipse.core.commands.ParameterizedCommand.execute(Param eterizedCommand.java:396)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeComman d(WorkbenchKeyboard.java:459)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(Workben chKeyboard.java:781)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEve nt(WorkbenchKeyboard.java:828)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequ enceBindings(WorkbenchKeyboard.java:550)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(Work benchKeyboard.java:493)
at
org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter .handleEvent(WorkbenchKeyboard.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:917 )
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:880)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:876)
at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1190)
at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3135)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3038 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:3706 )
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:103)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
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.core.launcher.Main.invokeFramework(Main.java:334 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)
Re: ctrl-d in JS editor causing null pointer exception [message #155754 is a reply to message #155699] Tue, 10 January 2006 21:58 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

I've opened bug 123335 for this and included your stack trace.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=123335

--
- Nitin


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: ctrl-d in JS editor causing null pointer exception [message #155896 is a reply to message #155754] Wed, 11 January 2006 15:40 Go to previous message
Osman Ullah is currently offline Osman UllahFriend
Messages: 11
Registered: July 2009
Junior Member
Thanks, I've added myself as a CC on it. :)

Osman

Nitin Dahyabhai wrote:
> I've opened bug 123335 for this and included your stack trace.
>
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=123335
>
Previous Topic:Working with subclipse
Next Topic:WTP1.0 Not Publishing /Bad publish.xml
Goto Forum:
  


Current Time: Thu Mar 28 21:12:35 GMT 2024

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

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

Back to the top