Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-dev] 3.0 M4



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

Dani


                                                                           
             "Wood, Alan"                                                  
             <a.wood@genaissan                                             
             ce.com>                                                    To 
             Sent by:                  <jdt-dev@xxxxxxxxxxx>               
             jdt-dev-admin@ecl                                          cc 
             ipse.org                                                      
                                                                   Subject 
                                       [jdt-dev] 3.0 M4                    
             10.11.2003 21:26                                              
                                                                           
                                                                           
             Please respond to                                             
             jdt-dev@eclipse.o                                             
                    rg                                                     
                                                                           
                                                                           




I looked around in both Bugzilla and the mailing list archive and didn't
see anything regarding this problem, so I figured I'd ask it.

When editing a java file and it is contained in a linked directory I get
the following error:

**********************************
Problems opening Editor

Cannot open default editor on <filename>.  Editor could not be initialized.
**********************************

(This happens on both a double click from the java package explorer, and
also if I right click and select open with -> java editor)

This is on Windows 2000 with 3.0 M4.

If there is a workaround or a fix for this, I'd love to know what it is.
If not, then will it be fixed in M5?

Thanks,

Alan Wood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Here is the log message:

!SESSION Nov 10, 2003 14:57:58.988
---------------------------------------------
java.version=1.4.2
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install
file:D:/eclipse.m4/eclipse/
!ENTRY org.eclipse.jdt.ui 4 10001 Nov 10, 2003 14:57:58.988
!MESSAGE Internal Error
!STACK 0
java.lang.NullPointerException
             at
org.eclipse.jdt.internal.ui.javaeditor.filebuffers.CompilationUnitDocumentProvider2.createFileInfo(CompilationUnitDocumentProvider2.java:774)

             at
org.eclipse.ui.editors.text.TextFileDocumentProvider.connect(TextFileDocumentProvider.java:332)

             at
org.eclipse.jdt.internal.corext.textmanipulation.TextBufferFactory.acquire(TextBufferFactory.java:85)

             at
org.eclipse.jdt.internal.corext.textmanipulation.TextBuffer.acquire(TextBuffer.java:393)

             at
org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor.createTypeRefChangeProposal(UnresolvedElementsSubProcessor.java:342)

             at
org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor.addSimilarTypeProposals(UnresolvedElementsSubProcessor.java:333)

             at
org.eclipse.jdt.internal.ui.text.correction.UnresolvedElementsSubProcessor.getTypeProposals(UnresolvedElementsSubProcessor.java:308)

             at
org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.process(QuickFixProcessor.java:213)

             at
org.eclipse.jdt.internal.ui.text.correction.QuickFixProcessor.getCorrections(QuickFixProcessor.java:150)

             at
org.eclipse.jdt.internal.ui.text.correction.JavaCorrectionProcessor.collectCorrections(JavaCorrectionProcessor.java:245)

             at
org.eclipse.jdt.internal.ui.text.correction.CorrectionMarkerResolutionGenerator.getResolutions(CorrectionMarkerResolutionGenerator.java:137)

             at
org.eclipse.ui.internal.registry.MarkerHelpRegistry.getResolutions(MarkerHelpRegistry.java:181)

             at
org.eclipse.ui.views.markers.internal.ActionResolveMarker.getResolutions(ActionResolveMarker.java:79)

             at
org.eclipse.ui.views.markers.internal.ActionResolveMarker.run(ActionResolveMarker.java:55)

             at
org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
             at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)

             at
org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)

             at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)

             at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
             at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847)
             at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173)
             at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863)
             at
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2347)
             at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
             at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)

             at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
             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.basicRun(Main.java:299)
             at org.eclipse.core.launcher.Main.run(Main.java:765)
             at org.eclipse.core.launcher.Main.main(Main.java:599)
_______________________________________________
jdt-dev mailing list
jdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/jdt-dev




Back to the top