View previous topic :: View next topic |
Author |
Message |
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Fri Aug 06, 2004 4:04 pm Post subject: Crash loading D source file |
|
|
I'm using Eclipse 3 and the latest plugin. I'll include the log dump below. By the way, I've only got the Java runtime installed--where the heck is the full development environment download (I couldn't find it)? I'd like to be able to compile Java stuff too... Is it only available with the IDE downloads nowadays?
----------------------------------------------------------------------
!SESSION Aug 06, 2004 15:00:12.222 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
!ENTRY org.eclipse.core.runtime 4 2 Aug 06, 2004 15:00:12.222
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
!STACK 0
java.lang.NullPointerException
at org.dsource.eclipsed.editors.DContentOutlinePage$ContentProvider.getElements(DContentOutlinePage.java:156)
at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:532)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:704)
at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:477)
at org.eclipse.jface.viewers.StructuredViewer.getSortedChildren(StructuredViewer.java:585)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:359)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:342)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:787)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:862)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:777)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:238)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1059)
at org.dsource.eclipsed.editors.DContentOutlinePage.createControl(DContentOutlinePage.java:221)
at org.eclipse.ui.views.contentoutline.ContentOutline.doCreatePage(ContentOutline.java:125)
at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:310)
at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:591)
at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:49)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:47)
at org.eclipse.ui.internal.WorkbenchPage.firePartActivated(WorkbenchPage.java:1371)
at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2695)
at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:457)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2215)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2134)
at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2126)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2113)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2108)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2091)
at org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:115)
at org.eclipse.ui.internal.editors.text.OpenExternalFileAction.run(OpenExternalFileAction.java:87)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:276)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:206)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
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:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628) |
|
Back to top |
|
|
jcc7
Joined: 22 Feb 2004 Posts: 657 Location: Muskogee, OK, USA
|
Posted: Fri Aug 06, 2004 5:11 pm Post subject: Re: Crash loading D source file |
|
|
sean wrote: | By the way, I've only got the Java runtime installed--where the heck is the full development environment download (I couldn't find it)? | It seems like Sun usually makes me jump through hoops to find it.
I think you can get there from this page.
Sounds like you can still download the SDK to me (I think I downloaded it myself only a few months ago). Quote: | The J2SE Software Development Kit (SDK) supports creating J2SE applications. More info... |
|
|
Back to top |
|
|
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Fri Aug 06, 2004 10:44 pm Post subject: New Download |
|
|
I'm not able to reproduce your error, however I've produced a version of eclipseD 0.1.4 that should fix you problem. The bug fix will be available in the next release, but you can get a special version of 0.1.4 here:
http://teqdruid.com/eclipseD0.1.4.zip
Please let me know if this fixes the problem. I'll also be interested to know if the outline works. The error you're getting looks more like a symptom of a larger problem in the outline, but I've no idea what the problem is.
John |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Tue Aug 10, 2004 12:58 pm Post subject: |
|
|
No luck. Here's what I did:
* download and install the JRE
* download eclipse 3.0 and drop it in a folder
* download eclipseD and drop it in the eclipse folder
* open eclipse
* "open external file" any D source file
All that displays in the file edit pane is "ERROR"
I'll try installing the full Java SDK and see if that helps. |
|
Back to top |
|
|
Blandger
Joined: 21 May 2004 Posts: 50 Location: Ukraine, Kharkov
|
Posted: Tue Aug 10, 2004 2:58 pm Post subject: |
|
|
sean wrote: | No luck. Here's what I did:
* open eclipse
* "open external file" any D source file
All that displays in the file edit pane is "ERROR" |
I'm not sure if it helps but try to 'create a workspace' first and then try open a D file. I didn't try to open D 'as external file' but only within a workspace.
Quote: | I'll try installing the full Java SDK and see if that helps. |
I don't think it will help. _________________ Regards, Yuriy |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Tue Aug 10, 2004 7:27 pm Post subject: |
|
|
Oops. I do have a workspace. Eclipse made me create one when I started it up. |
|
Back to top |
|
|
teqdruid
Joined: 11 May 2004 Posts: 390 Location: UMD
|
Posted: Tue Aug 10, 2004 7:54 pm Post subject: Log |
|
|
With the new download I gave you, is it the same error, on the same line? |
|
Back to top |
|
|
sean
Joined: 24 Jun 2004 Posts: 609 Location: Bay Area, CA
|
Posted: Mon Aug 23, 2004 5:25 pm Post subject: |
|
|
Yes it is. I'll check the source and see if I can make any headway on my end. |
|
Back to top |
|
|
|