Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328651

Summary: Remote Tools DStore Server error
Product: [Tools] PTP Reporter: Beth Tibbitts <beth>
Component: RDTAssignee: Vivian Kong <vivkong>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: g.watson, jalameda, vivkong
Version: 4.0.4   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Beth Tibbitts CLA 2010-10-25 16:04:46 EDT
Using PTP&RDT from 10/23 build (also 10/15)
I create a remote project on abe.ncsa.uiuc.edu - connection seems ok because it can browse the remote file system ok to choose a directory location containing src code for the new remote project (Remote makefile project, empty project)

But sometime after that - usually before the new project wizard completes - I get Server finished with exit code 255; Remote Tools DStore Server (abe.ncsa.uiuc.edu)  Server finished with exit code 255.
Lower right status area of workbench just says "C/C++ Indexer: (0%)"
(It seems to build ok though: new executable with recent time stamp can be seen in the project.)

.log contains:
!ENTRY org.eclipse.ptp.remote.core 4 0 2010-10-25 15:58:26.985
!MESSAGE Server finished with exit code 255


If I go back and install PTP and RDT 4.0.3 from Helios update site, all is well.


I have tried installing just PTP End User Run time, and just main RDT feature, and I have also tried installing everything under both categories, with the same result on the 4.0.4 versions.
Comment 1 Jay Alameda CLA 2010-10-26 10:50:43 EDT
I see the same thing with PTP 4.0.4 (but not PTP 4.0.3 that was shipped with Eclipse 3.6 SR1).  I see pop-up windows complaining about Dstore closing with error 255 at random times, though the base functionality (build, run via the parallel runtime) seems to be working (this is using remote tools, not RSE).'

my .log file has similar entries - 

eclipse.buildId=M20100909-0800
java.version=1.6.0_19
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.cpp.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

!ENTRY org.eclipse.osgi 2 1 2010-10-25 15:08:57.076
!MESSAGE NLS unused message: CIPHER_TYPE in: org.eclipse.ptp.remote.remotetools.core.environment.conf.defaults

!ENTRY org.eclipse.osgi 2 1 2010-10-25 15:08:58.091
!MESSAGE NLS unused message: CopyTools_DownloadFileFile_FailedDownloadFile in: org.eclipse.ptp.remotetools.core.messages.messages

!ENTRY org.eclipse.ptp.remote.core 4 0 2010-10-25 15:09:15.626
!MESSAGE Server finished with exit code 255

!ENTRY org.eclipse.ptp.remote.core 4 0 2010-10-25 15:30:48.210
!MESSAGE Server finished with exit code 255

!ENTRY org.eclipse.ptp.remote.core 4 0 2010-10-25 15:31:15.273
!MESSAGE Server finished with exit code 255

!ENTRY org.eclipse.osgi 2 1 2010-10-25 15:31:38.851
!MESSAGE NLS unused message: DownloadBackAction_FailedFetchRemoteProperties in: org.eclipse.ptp.launch.messages.messages

!ENTRY org.eclipse.ptp.remote.core 4 0 2010-10-25 15:31:41.773
!MESSAGE Server finished with exit code 255

!ENTRY org.eclipse.equinox.security 4 0 2010-10-25 15:33:44.742
!MESSAGE No password was found. Value of "ptp.login-password" is being stored as a non-encrypted value in the node  "/PTP Remote Host/abe".
!STACK 0
org.eclipse.equinox.security.storage.StorageException: No password was found. Value of "ptp.login-password" is being stored as a non-encrypted value in the node  "/PTP Remote Host/abe".
	at org.eclipse.equinox.internal.security.storage.SecurePreferences.put(SecurePreferences.java:234)
Comment 2 Vivian Kong CLA 2010-10-26 12:45:40 EDT
I got this error on the server when I created a remote project using a RSE connection.  I checked in a fix and kicked off a build.  Will try again later when the build is done.

java.lang.NoClassDefFoundError: org.eclipse.cdt.internal.core.pdom.dom.PDOMNotImplementedError
        at java.lang.J9VMInternals.verifyImpl(Native Method)
        at java.lang.J9VMInternals.verify(J9VMInternals.java:69)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:131)
        at org.eclipse.cdt.internal.core.indexer.StandaloneIndexer.<clinit>(StandaloneIndexer.java:45)
        at java.lang.J9VMInternals.initializeImpl(Native Method)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:196)
        at java.lang.J9VMInternals.initialize(J9VMInternals.java:161)
        at org.eclipse.ptp.internal.rdt.core.miners.RemoteIndexManager.getIndexerForScope(RemoteIndexManager.java:191)
        at org.eclipse.ptp.internal.rdt.core.miners.RemoteIndexManager.getIndexerForScope(RemoteIndexManager.java:105)
        at org.eclipse.ptp.internal.rdt.core.miners.CDTMiner.handleReindex(CDTMiner.java:1684)
        at org.eclipse.ptp.internal.rdt.core.miners.CDTMiner.doHandleCommand(CDTMiner.java:291)
        at org.eclipse.ptp.internal.rdt.core.miners.CDTMiner.handleCommand(CDTMiner.java:173)
        at org.eclipse.dstore.core.miners.Miner.command(Miner.java:303)
        at org.eclipse.dstore.core.miners.Miner.handle(Miner.java:221)
        at org.eclipse.dstore.core.model.Handler.run(Handler.java:135)
Caused by: java.lang.ClassNotFoundException: org.eclipse.cdt.internal.core.pdom.dom.PDOMNotImplementedError
        at java.net.URLClassLoader.findClass(URLClassLoader.java:497)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:640)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:606)
        ... 15 more
Comment 3 Vivian Kong CLA 2010-10-26 13:27:14 EDT
I'm now able to build/index a remove C/C++ project with a RSE connection using the latest build (I.I201010261241)
Comment 4 Beth Tibbitts CLA 2010-10-26 13:59:30 EDT
Yes I can also build/index a remote C/C++ project with a Remote Tools connection using the
I.I201010261241 build.
Comment 5 Jay Alameda CLA 2010-10-26 14:49:50 EDT
This is now working for me, using your new build, Vivian -thank you!!!
Comment 6 Jay Alameda CLA 2010-10-26 14:50:24 EDT
(In reply to comment #5)
> This is now working for me, using your new build, Vivian -thank you!!!

I meant to add, via remote tools -
Comment 7 Greg Watson CLA 2010-11-04 15:20:09 EDT
Closing as fixed.