Hi All,

I have a MacBook Pro running 10.6.2.  I downloaded X10 v2.0.1.  I was able to 
get the Java and C backends working from the command line - ran the Hello.x10 
and MontyPi.x10 examples.

I downloaded Eclipse Classic v3.5.1 (Cocoa 64-bit) and let it install the X10DT 
stuff.  After finishing and restarting Eclipse, I had created a new X10 project 
(Java back end) and had it create a sample Hello, World application.  
Everything went fine.  

Then, I went to File > Open File and browsed to the X10 samples directory to 
start reading some code.  When I tried to open the file, it did not open and I 
got the java exception appended below.  I figure I have to have missed 
something trivial.  Any clues?

Currently browsing code using XCode with java syntax coloring, but would prefer 
to stay in Eclipse.  

Btw, if this is not the right place for this kind of question, please let me 
know and I'll post it there.  Thanks!

Regards,
Dave Hudak
---
David E. Hudak, Ph.D.          dhu...@osc.edu
Program Director, HPC Engineering
Ohio Supercomputer Center
http://www.osc.edu

java.lang.NullPointerException
        at 
org.eclipse.imp.editor.UniversalEditor.findLanguageSpecificPreferences(UniversalEditor.java:680)
        at 
org.eclipse.imp.editor.UniversalEditor.createPartControl(UniversalEditor.java:635)
        at 
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:662)
        at 
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:462)
        at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
        at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
        at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
        at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
        at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
        at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
        at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
        at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1608)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
        at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
        at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
        at 
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
        at 
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:225)
        at 
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:213)
        at 
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:778)
        at 
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:677)
        at 
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:638)
        at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2854)
        at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2762)
        at 
org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2754)
        at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2705)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2701)
        at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2685)
        at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2668)
        at org.eclipse.ui.ide.IDE.openEditorOnFileStore(IDE.java:1151)
        at 
org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:107)
        at 
org.eclipse.ui.internal.ide.actions.OpenLocalFileAction.run(OpenLocalFileAction.java:76)
        at 
org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:251)
        at 
org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
        at 
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at 
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at 
org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3543)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1250)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1273)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1079)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3441)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3100)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at 
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at 
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at 
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
        at 
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at 
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at 
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)








------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to