Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Re: [ptp-user] Help with PTP & RSE and remote c project -- Please help

FYI, last Friday's build failed. I'll re-run today.

Greg

On Jun 15, 2009, at 10:34 AM, gary mazzaferro wrote:

Hi Chris.

Thanks so much for the help.... I'm cross posting this on ptp-user.

From the comments in the bug, it sounds like the issue has been resolved.

Do you think this fix in the nightly builds ? or do I need to checkout the sources ?

cheers,
gary

Comments from bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=277764

------- Comment #13 From Vivian Kong 2009-05-27 14:36:19 -0400 -------
No more exception.  Looks good!
------- Comment #14 From David McKnight 2009-05-27 14:45:30 -0400 -------
I've committed the patch to cvs.
------- Comment #15 From Martin Oberhuber 2009-05-27 15:15:57 -0400 -------
Glad it helped, odd as it may be. I'll squeeze it into RC2.







On Mon, Jun 15, 2009 at 7:05 AM, Chris Recoskie <recoskie@xxxxxxxxxx> wrote:

The exception you are seeing is an RSE bug... see https://bugs.eclipse.org/bugs/show_bug.cgi?id=277764

This causes the server to be completely broken, so any subsequent operations are unlikely to work.

===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
<graycol.gif>gary mazzaferro <garym@xxxxxxxxxx>


<ecblank.gif>
To
<ecblank.gif>
ptp-user@xxxxxxxxxxx
<ecblank.gif>
cc
<ecblank.gif>
<ecblank.gif>
Subject
<ecblank.gif>
[ptp-user] Help with PTP & RSE and remote c project -- Please help
<ecblank.gif><ecblank.gif>

Hi,

I'm new to ptp and remote building on cdt. Please be patient.. I'm probably doing something wrong

I'm having some issues with properly connecting to  the target, creating a remote project and getting the project to build.

I installed rdt-server-unix-1.0.tar on an opensolaris 113a
I installed ptp version 2.1.2.200905110828 and cdt version 5.0.2.200902130801 on Ganymede 3.4.2

I can execute the remote server software (./server.sh 4033)
And I can connect to the server with RSE.
However, when connected, there are some java errors on the remote server:

java.lang.

IllegalAccessException: Class org.eclipse.dstore.internal.core.util.MemoryManager can not access a member of class sun.management.MemoryPoolImpl with modifiers "public"
    at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65)
    at java.lang.reflect.Method.invoke(Method.java:588)
    at org.eclipse.dstore.internal.core.util.MemoryManager.init(MemoryManager.java:62)
    at org.eclipse.dstore.internal.core.util.MemoryManager.<init>(MemoryManager.java:31)
    at org.eclipse.dstore.internal.core.util.MemoryManager.getInstance(MemoryManager.java:37)
    at org.eclipse.dstore.internal.core.util.DataElementRemover.<init>(DataElementRemover.java:53)
    at org.eclipse.dstore.core.model.DataStore.startDataElementRemoverThread(DataStore.java:3687)
    at org.eclipse.dstore.internal.core.server.ServerCommandHandler.sendCommands(ServerCommandHandler.java:279)
    at org.eclipse.dstore.core.model.CommandHandler.handle(CommandHandler.java:110)
    at org.eclipse.dstore.core.model.Handler.run(Handler.java:135)

I'm assuming this is normal ??

Second issue, the My Home filter was empty, I needed to delete it and recreate it. Is this normal ?

Third, I try to create a remote c or c+ project, I'm a little confused on exactly what I should do or if the steps I'm taking are correct.

1) I enter a project name.
2) The Dialog says create a new c/c++ project, but the project type only displays "Empty Project"  I this correct ?
3) The Tool chain selected is solaris gcc (this looks right).
4) Project location gives me 3 options, local (not the correct setting for me), RSE and Remote Tools. I'm assuming I should be using RSE. I'm not sure if it should be Remote Tools.
5) I select a folder on the remote system from the "my Home" filter
6) Validate the Solaris GCC on the next dialog,
7) Configure the builds and Indexing services to RDT/RSE and Remote Indexing to the server, Hit ok
8) I gety a message to override the project settings, I hit ok.
9) I eclipse displays an error dialog box::
"C/C++ Indexer has encountered a problem"
An internal error occured during "C/C++ Indexer"
java.language.NullPointerException

9a) The problem view gives me 2 messages:
Description    Resource    Path    Location    Type
Error launching external scanner info generator (g++ -E -P -v -dD C:/Users/xxxx.xxxxxxx/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp)    hinge        Unknown    C/C++ Problem
Description    Resource    Path    Location    Type
Error launching external scanner info generator (gcc -E -P -v -dD C:/Users/xxxx.xxxxxxx/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp)    hinge        Unknown    C/C++ Problem

9b) The log file error is:
!ENTRY org.eclipse.cdt.core 4 4 2009-06-14 06:49:37.756
!MESSAGE Error
!STACK 0
java.lang.NullPointerException
 at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexLifecycleService.update(RemoteIndexLifecycleService.java:93)
 at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexerTask.run(RemoteIndexerTask.java:84)
 at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:84)
 at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:94)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)!ENTRY org.eclipse.core.jobs 4 2 2009-06-14 06:49:37.758

!MESSAGE An internal error occurred during: "C/C++ Indexer".
!STACK 0
java.lang.NullPointerException
 at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexLifecycleService.update(RemoteIndexLifecycleService.java:93)
 at org.eclipse.ptp.internal.rdt.core.index.RemoteIndexerTask.run(RemoteIndexerTask.java:84)
 at org.eclipse.cdt.internal.core.pdom.indexer.PDOMRebuildTask.run(PDOMRebuildTask.java:84)
 at org.eclipse.cdt.internal.core.pdom.PDOMIndexerJob.run(PDOMIndexerJob.java:94)
 at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

10) I select the project explorer view and create 2 folders; src and Debug. Both show on the RSE view as directories under the directory selected for the project.
11) I, the project explorer view, I create c source file by right click and selecing new c source file from the popup menu
12) the dialog displays and has the correct path to the "src" folder.
13) The file is created, an Indesxer waring message is again displyed, and the file can be seen in the RSE view. However, the file does not show up in the project !!!
14) I refresh the project view, the expand arrow shows for the src folder, but when clicked, it disappears.
15) I try bulding, no action is noted. Probably no files in the project view.
16) I can compile from the RSE view, but recieve this error message in the remote shell view:
/root>cd /export/home/xxxx/Workspace/src
         cd /export/home/xxxx/Workspace/src
         gcc  -c main.c -o main.o
         -l: bad option(s)
> Shell Completed (exit code = 1)

17) The compile from the RSE view only seems to execute once.

Ok, What am I doing wrong ?? Dids I forget to configure something ?  Please help !!!

Best Regards

gary
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top