New User - Run into a problem [message #98634] |
Wed, 17 June 2009 12:43  |
Eclipse User |
|
|
|
I used Eclipse for some Java development two years ago, but not used it
since. Yesterday, for the first time, I downloaded the complete
Eclipse-pdt package 2.1 RC4 package and installed in on my Debian (32bit
Intel) system.
I was working my way through the guide on setting up the PHP debugger
and cut and pasted the files for the Greeter Web Application from this
document into new php files, within a new php project I had set up.
When I came to save these files I got an error message which (I am
sorry) I can't remember - but despite that error the files are correctly
stored on my hard drive - and appear in the project when I open Eclipse.
I also hand created a php file to display phpinfo(). This did NOT fail
when I created it.
Now, when I try and open any of the files (except the phpinfo one) I get
an error.
An error has occurred. See error log for more details.
Could not initialize class
org.eclipse.php.internal.core.compiler.ast.nodes.PHPVariable Kind
Looking at the log, its full of all sorts of errors (I think from
failing to download upgrades) but I at least found this - which might be
relevent.
Not sure what I am doing wrong.
!ENTRY org.eclipse.ui 4 0 2009-06-17 17:34:11.500
!MESSAGE Unable to create editor ID org.eclipse.php.editor: An exception
was thrown during initialization
!STACK 0
org.eclipse.swt.SWTException: Invalid thread access
at org.eclipse.swt.SWT.error(SWT.java:3884)
at org.eclipse.swt.SWT.error(SWT.java:3799)
at org.eclipse.swt.SWT.error(SWT.java:3770)
at org.eclipse.swt.widgets.Widget.error(Widget.java:450)
at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:389)
at org.eclipse.swt.widgets.Control.getEnabled(Control.java:2311 )
at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow. java:2550)
at
org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(Ab stractTextEditor.java:3133)
at
org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTe xtEditor.java:3160)
at
org.eclipse.wst.sse.ui.StructuredTextEditor.init(StructuredT extEditor.java:2321)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEditor.init( PHPStructuredEditor.java:1034)
at org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:798)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:644)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:462)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:286)
at org.eclipse.ui.internal.EditorManager.findEditor(EditorManag er.java:403)
at org.eclipse.ui.internal.EditorManager.findEditor(EditorManag er.java:381)
at
org.eclipse.ui.internal.WorkbenchPage.findEditor(WorkbenchPa ge.java:2096)
at
org.eclipse.php.internal.ui.editor.validation.PhpReconciling Strategy.getEditor(PhpReconcilingStrategy.java:94)
at
org.eclipse.php.internal.ui.editor.validation.PhpReconciling Strategy.install(PhpReconcilingStrategy.java:76)
at
org.eclipse.php.internal.ui.editor.validation.PhpReconciling Strategy.validate(PhpReconcilingStrategy.java:194)
at
org.eclipse.php.internal.ui.editor.validation.PhpReconciling Strategy.validate(PhpReconcilingStrategy.java:186)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.Reconcil eStepForValidator.validate(ReconcileStepForValidator.java:29 2)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.Reconcil eStepForValidator.reconcileModel(ReconcileStepForValidator.j ava:258)
at
org.eclipse.jface.text.reconciler.AbstractReconcileStep.reco ncile(AbstractReconcileStep.java:95)
at
org.eclipse.wst.sse.ui.internal.reconcile.validator.Validato rStrategy.reconcile(ValidatorStrategy.java:257)
at
org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProc essor.process(DocumentRegionProcessor.java:199)
at
org.eclipse.wst.sse.ui.internal.reconcile.StructuredRegionPr ocessor.process(StructuredRegionProcessor.java:221)
at
org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcess or.run(DirtyRegionProcessor.java:641)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
|
|
|
|
Powered by
FUDForum. Page generated in 0.02474 seconds