Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Text editors
Text editors [message #464966] Wed, 21 March 2007 09:36 Go to next message
Darwin is currently offline DarwinFriend
Messages: 1
Registered: July 2009
Junior Member
Hi ,

Iam trying to use rcp based text editor in eclipse 3.3 m4
release.Howeverit throws following exceptions


java.lang.NullPointerException
at
org.eclipse.jface.text.source.LineNumberRulerColumn.getWidth (LineNumberRulerColumn.java:413)
at
org.eclipse.jface.text.source.LineNumberChangeRulerColumn.ge tWidth(LineNumberChangeRulerColumn.java:295)
at
org.eclipse.ui.internal.texteditor.LineNumberColumn.getWidth (LineNumberColumn.java:139)
at
org.eclipse.jface.text.source.CompositeRuler.getWidth(Compos iteRuler.java:708)
at
org.eclipse.jface.text.source.SourceViewer$RulerLayout.layou t(SourceViewer.java:125)
at org.eclipse.swt.widgets.Composite.updateLayout(Composite.jav a:987)
at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:127 7)
at org.eclipse.swt.widgets.Canvas.WM_SIZE(Canvas.java:303)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3443 )
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4134 )
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2171 )
at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:77)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3460 )
Re: Text editors [message #465020 is a reply to message #464966] Thu, 22 March 2007 00:01 Go to previous message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
Darwin wrote:

>
> Hi ,
>
> Iam trying to use rcp based text editor in eclipse 3.3 m4
> release.Howeverit throws following exceptions

This can have various reasons - starting with wrong usage ;-)

Dani

>
>
> java.lang.NullPointerException
> at
> org.eclipse.jface.text.source.LineNumberRulerColumn.getWidth (LineNumberRulerColumn.java:413)
>
> at
> org.eclipse.jface.text.source.LineNumberChangeRulerColumn.ge tWidth(LineNumberChangeRulerColumn.java:295)
>
> at
> org.eclipse.ui.internal.texteditor.LineNumberColumn.getWidth (LineNumberColumn.java:139)
>
> at
> org.eclipse.jface.text.source.CompositeRuler.getWidth(Compos iteRuler.java:708)
>
> at
> org.eclipse.jface.text.source.SourceViewer$RulerLayout.layou t(SourceViewer.java:125)
>
> at org.eclipse.swt.widgets.Composite.updateLayout(Composite.jav a:987)
> at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:127 7)
> at org.eclipse.swt.widgets.Canvas.WM_SIZE(Canvas.java:303)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3443 )
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:4134 )
> at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2171 )
> at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable .java:77)
> at org.eclipse.swt.widgets.Control.windowProc(Control.java:3460 )
>
Previous Topic:missing bundle
Next Topic:Preventing items in the Coolbar
Goto Forum:
  


Current Time: Sat Sep 07 10:42:08 GMT 2024

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

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

Back to the top