Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-ui-dev] NPE with HEAD code




Fixed in HEAD.

Dani


                                                                           
             Jared Burns                                                   
             <jaredburns@acm.o                                             
             rg>                                                        To 
             Sent by:                  platform-ui-dev@xxxxxxxxxxx         
             platform-ui-dev-a                                          cc 
             dmin@xxxxxxxxxxx                                              
                                                                   Subject 
                                       Re: [platform-ui-dev] NPE with HEAD 
             02.04.2004 02:14          code                                
                                                                           
                                                                           
             Please respond to                                             
             platform-ui-dev@e                                             
                clipse.org                                                 
                                                                           
                                                                           




Whoops. Clown nose for me. The previous patch was dumb. :) Attached is a
*working* simple patch.

On Thu, 2004-04-01 at 16:08, Jared Burns wrote:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=57130
>
> Here's a simple patch that fixes the problem.
>
> - Jared
>
> On Thu, 2004-04-01 at 14:40, John Arthorne wrote:
> > I get a NPE opening editors with all of the UI module loaded from HEAD
> > (text file, new workspace).  Is there something outside the UI module
> > that I need to get this working?  Known bug?
> >
> > org.eclipse.core.runtime.CoreException[1]:
> > java.lang.NullPointerException
> >         at java.lang.Throwable.<init>(Throwable.java)
> >         at java.lang.Throwable.<init>(Throwable.java:73)
> >         at
> > java.lang.NullPointerException.<init>(NullPointerException.java:60)
> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.findContributedAction(AbstractTextEditor.java:3592)

> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.getAction(AbstractTextEditor.java:3567)

> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.updateInsertModeAction(AbstractTextEditor.java:4658)

> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.handleInsertModeChanged(AbstractTextEditor.java:4652)

> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.setInsertMode(AbstractTextEditor.java:4487)

> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.switchToNextInsertMode(AbstractTextEditor.java:4518)

> >         at
> >
org.eclipse.ui.texteditor.AbstractTextEditor.configureInsertMode(AbstractTextEditor.java:4543)

> >         at
> >
org.eclipse.ui.editors.text.TextEditor.initializeEditor(TextEditor.java:94)
> >         at
> >
org.eclipse.ui.texteditor.ExtendedTextEditor.<init>(ExtendedTextEditor.java:180)

> >         at
> > org.eclipse.ui.editors.text.TextEditor.<init>(TextEditor.java:73)
> >         at java.lang.Class.newInstanceImpl(Native Method)
> >         at java.lang.Class.newInstance(Class.java)
(See attached file: AbstractTextEditor.patch)

Attachment: AbstractTextEditor.patch
Description: Binary data


Back to the top