Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 363204

Summary: Exception was observed
Product: [Eclipse Project] Platform Reporter: Yevgeny Shifrin <yevshif>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse.felipe, ericwill
Version: 4.2Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Yevgeny Shifrin CLA 2011-11-08 11:56:20 EST
Build Identifier: 20110615-0604

* Eclipse details:
Eclipse IDE for C/C++ Developers
Version: Indigo Release
Build id: 20110615-0604

* Exception:
java.lang.NullPointerException
	at org.eclipse.swt.custom.StyledText.getCaretLine(StyledText.java:5305)
	at org.eclipse.swt.custom.StyledText.doVisualPrevious(StyledText.java:3355)
	at org.eclipse.swt.custom.StyledText$5.run(StyledText.java:2220)
	at org.eclipse.swt.widgets.Display.timerProc(Display.java:4154)
	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:2258)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	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:344)
	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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1386)

Reproducible: Couldn't Reproduce

Steps to Reproduce:
Not sure how to reproduce this issue.
Comment 1 Felipe Heidrich CLA 2011-11-16 09:53:19 EST
Please let me know if that happens again and if you find steps to reproduce the problem. The cause for this problem can be outside StyledText in the StyledTextContent implementor.
Comment 2 Yevgeny Shifrin CLA 2011-11-16 11:04:04 EST
I did not see the problem since. I'll let you know if the problem is reproduced.

Thanks,
Yevgeny
Comment 3 Eric Williams CLA 2018-05-16 11:34:53 EDT
Closing as per comment 2.