Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] CEditor bombs in M5

I debugged it a bit. Ceditor.createSourceViewer() doesn't call its super.createSourceViewer() (in TextEditor) so it doesn't initialize the new field fSourceViewerDecorationSupport .

> -----Original Message-----
> From: Ed Burnette 
> Sent: Monday, February 10, 2003 11:40 AM
> To: cdt-dev@xxxxxxxxxxx
> Subject: [cdt-dev] CEditor bombs in M5
> 
> 
> With M5 and CDT20030127 (that's the latest build I could 
> find) I'm getting a NPE in :
> 
> Thread [main] (Suspended (exception java.lang.NullPointerException))
> 	
> org.eclipse.cdt.internal.ui.editor.CEditor(org.eclipse.ui.edit
> ors.text.TextEditor).createPartControl(org.eclipse.swt.widgets
> .Composite) line: 646
> 	
> org.eclipse.cdt.internal.ui.editor.CEditor.createPartControl(o
rg.eclipse.swt.widgets.Composite) line: 686
> 	org.eclipse.ui.internal.PartPane$4.run() line: 138
> 	
> org.eclipse.core.internal.runtime.InternalPlatform.run(org.ecl
> ipse.core.runtime.ISafeRunnable) line: 867
> 	


Back to the top