473,378 Members | 1,544 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,378 software developers and data experts.

Problem 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 1310

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

Similar topics

0
by: Mathew Relick | last post by:
I'm relatively new to this sort of thing, so forgive me if this is completely off base, but I'm having a problem getting the XMLDataDocument to do what I need it to. I have a small test...
12
by: Simon | last post by:
Hi all, I'm having a baffling problem with a windows service that I'm working on. Basically, I am using a typed dataset to insert a large number of rows into an SQL Server 2005 database. But...
1
by: =?Utf-8?B?UmljaGFyZA==?= | last post by:
I have an console app running on several clients written in VB .Net that calls a web service also written in VB .net 1.1. Its uses the Now function to send the current date time to the web...
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
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...
5
by: sui | last post by:
this is my code import sys, os, glob, datetime, time import smtplib ## Parameters for SMTP session port=587 SMTPserver= 'smtp.gmail.com' SMTPuser= '...@gmail.com' pw= 'fill in here'...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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?
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...

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.