473,396 Members | 1,599 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Probem PDT-Subclipse

Hello everyone,

I am almost certain that this is a PDT<->Subclipse issue, and I
thought by asking here I would get something from someone who also had
the issue. As I surfed the web for a while now and couldnt find
anything useful.

The reason why I think this is a PDT/Subclipse issue is that when I
try to open files from a remote location (ie. from the 'SVN
Repository' view), any file type that is handled by an PDT editor
gives me the error below, any other file types (.txt, .java) opens
with no problems. Also when I set the .php files to be opened by a
text editor (from the preference) they open with no problems as well
(of course this will take away all the rich features that the php
editor has).
This happens with all files with .php extension and in all the SVN
repos I added.

So anybody's familiar with such a thing? Here is the errors I get
(Linked screenshot and error stack below when clicking the Details
button).

http://lh6.google.com/image/dmondark...s144/Error.jpg
java.lang.NullPointerException
at
org.eclipse.php.internal.ui.editor.PHPStructuredEd itor.getFile(Unknown
Source)
at org.eclipse.php.internal.ui.editor.PHPStructuredEd itor
$1.getProject(Unknown Source)
at
org.eclipse.php.internal.core.project.properties.h andlers.PhpVersionChangedHandler.addPhpVersionChan gedListener(Unknown
Source)
at
org.eclipse.php.internal.ui.editor.PHPStructuredEd itor.init(Unknown
Source)
at
org.eclipse.ui.internal.EditorManager.createSite(E ditorManager.java:
840)
at
org.eclipse.ui.internal.EditorReference.createPart Helper(EditorReference.java:
583)
at
org.eclipse.ui.internal.EditorReference.createPart (EditorReference.java:
372)
at
org.eclipse.ui.internal.WorkbenchPartReference.get Part(WorkbenchPartReference.java:
566)
at org.eclipse.ui.internal.PartPane.setVisible(PartPa ne.java:290)
at
org.eclipse.ui.internal.presentations.PresentableP art.setVisible(PresentablePart.java:
140)
at
org.eclipse.ui.internal.presentations.util.Present ablePartFolder.select(PresentablePartFolder.java:
268)
at
org.eclipse.ui.internal.presentations.util.LeftToR ightTabOrder.select(LeftToRightTabOrder.java:
65)
at
org.eclipse.ui.internal.presentations.util.TabbedS tackPresentation.selectPart(TabbedStackPresentatio n.java:
394)
at
org.eclipse.ui.internal.PartStack.refreshPresentat ionSelection(PartStack.java:
1144)
at org.eclipse.ui.internal.PartStack.setSelection(Par tStack.java:
1097)
at org.eclipse.ui.internal.PartStack.showPart(PartSta ck.java:1311)
at org.eclipse.ui.internal.PartStack.add(PartStack.ja va:455)
at org.eclipse.ui.internal.EditorStack.add(EditorStac k.java:102)
at org.eclipse.ui.internal.PartStack.add(PartStack.ja va:441)
at org.eclipse.ui.internal.EditorStack.add(EditorStac k.java:111)
at
org.eclipse.ui.internal.EditorSashContainer.addEdi tor(EditorSashContainer.java:
60)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayo ut(EditorAreaHelper.java:
217)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor (EditorAreaHelper.java:
207)
at
org.eclipse.ui.internal.EditorManager.createEditor Tab(EditorManager.java:
820)
at
org.eclipse.ui.internal.EditorManager.openEditorFr omDescriptor(EditorManager.java:
719)
at
org.eclipse.ui.internal.EditorManager.openEditor(E ditorManager.java:
680)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit orBatched(WorkbenchPage.java:
2593)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEdit or(WorkbenchPage.java:
2528)
at org.eclipse.ui.internal.WorkbenchPage.access
$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(Workbe nchPage.java:
2505)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:
2500)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(W orkbenchPage.java:
2477)
at org.tigris.subversion.subclipse.ui.actions.OpenRem oteFileAction
$1.run(OpenRemoteFileAction.java:59)
at
org.tigris.subversion.subclipse.ui.repository.Repo sitoryManager.run(RepositoryManager.java:
375)
at org.tigris.subversion.subclipse.ui.actions.SVNActi on
$1.run(SVNAction.java:226)
at org.tigris.subversion.subclipse.ui.actions.SVNActi on
$2.run(SVNAction.java:235)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:67)
at
org.tigris.subversion.subclipse.ui.actions.SVNActi on.run(SVNAction.java:
232)
at
org.tigris.subversion.subclipse.ui.actions.OpenRem oteFileAction.execute(OpenRemoteFileAction.java:
36)
at
org.tigris.subversion.subclipse.ui.actions.SVNActi on.run(SVNAction.java:
56)
at
org.tigris.subversion.subclipse.ui.repository.Repo sitoriesView.handleDoubleClick(RepositoriesView.ja va:
530)
at
org.tigris.subversion.subclipse.ui.repository.Repo sitoriesView.access
$2(RepositoriesView.java:520)
at org.tigris.subversion.subclipse.ui.repository.Repo sitoriesView
$11.doubleClick(RepositoriesView.java:395)
at org.eclipse.jface.viewers.StructuredViewer
$1.run(StructuredViewer.java:796)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
at org.eclipse.core.runtime.Platform.run(Platform.jav a:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil. java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnab le.java:149)
at
org.eclipse.jface.viewers.StructuredViewer.fireDou bleClick(StructuredViewer.java:
794)
at
org.eclipse.jface.viewers.AbstractTreeViewer.handl eDoubleSelect(AbstractTreeViewer.java:
1227)
at org.eclipse.jface.viewers.StructuredViewer
$4.widgetDefaultSelected(StructuredViewer.java:115 8)
at
org.eclipse.jface.util.OpenStrategy.fireDefaultSel ectionEvent(OpenStrategy.java:
223)
at org.eclipse.jface.util.OpenStrategy.access$0(OpenS trategy.java:
220)
at org.eclipse.jface.util.OpenStrategy
$1.handleEvent(OpenStrategy.java:281)
at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:
66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents( Display.java:
3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:
2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:
1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:1878)
at
org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:
419)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:
149)
at
org.eclipse.ui.internal.ide.IDEApplication.run(IDE Application.java:95)
at org.eclipse.core.internal.runtime.PlatformActivato r
$1.run(PlatformActivator.java:78)
at
org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java:
92)
at
org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:
68)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:
400)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:
177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Mai n.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java: 280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)

May 12 '07 #1
0 1165

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: J. Nielsen | last post by:
Hi guys, I am trying to get the PHP debugger to run with Eclipse PDT 0.7, unsuccessfully. I am on Windows XP, PHP 5, Apache 2.0.53 on localhost:8080. I downloaded and extracted this zip-file...
2
by: Christoph Burschka | last post by:
So far I've been using the PHPEclipse plugin for developing with Eclipse. I recently found out that there's another plugin called PHP Developer Tools (PDT), which I'm about to try out. Does...
3
by: Adeel | last post by:
I am new to php. i have installed the PDT all in one package and then i installed the zend debugger plugin for PDT. Every thing is running fine and i am able to debug the single php page using zend...
7
by: R.A.M. | last post by:
Hello, I have started learning PHP5. I would like to programme in Windows XP and Fedora Linux. I have found two IDEs for PHP (if I understood correctly): - Eclipse PDT, - EasyEclipse for PHP....
0
by: =?Utf-8?B?c2hpZg==?= | last post by:
Hi i am using vb.net 2005 , i have a pdt device having winCE 4.2 operating system .How can i make application in .net and deploy to the pdt device.please help -- Thanks
1
by: R.A.M. | last post by:
Hello, I have installed (in Windows XP) Apache, PHP5, XDebug and Eclipse PDT. Then I configured XDebugging according to:...
0
by: Logos | last post by:
I'm taking a peek at PDT for use in development. However, I can't seem to create a project that uses a remote file system. I can switch to the RFE perspective and open files for editing that way,...
9
by: Ron Ford | last post by:
Hello newsgroup, I don't know much C++ that isn't windows-related, and presumably off-topic, or C in disguise, so I hope not to misspeak on this short question. I'm given to understand that...
1
by: R.M. | last post by:
When I open small .php file, I can edit it in my Eclipse PDT. But when I open large .php file and I try to use scroll bar, Eclipse halts (I mean it doesn't respond). I use last stable version of...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.