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

Hi Beth,

I don't think cdt 6.0 has been out that long... production doesn't like to change very often, I was on eclipse 3.1 until last week. (don't laugh)

Is this a difficult fix ?

-g

On Mon, Jun 15, 2009 at 10:59 AM, Beth Tibbitts <tibbitts@xxxxxxxxxx> wrote:

>I'm on stuck with ppt looking for upc 5.0.0 from cdt. Which version of cdt are you using ?
>I have CDT Version: 6.0.0.200906081036 Build id: 200906081036
My bad. PLDT pre-reqs should be updated to match CDT 6.0.

Trying to figure out why this didn't show up earlier...


...Beth

Beth Tibbitts (859) 243-4981 (TL 545-4981)
Eclipse Parallel Tools Platform http://eclipse.org/ptp
Mailing Address: IBM Corp., Coldstream Research Campus, 745 West New Circle Road, Lexington, KY 40511

Inactive hide details for gary mazzaferro ---06/15/2009 12:23:58 PM---Hi Greg,gary mazzaferro ---06/15/2009 12:23:58 PM---Hi Greg,


To

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

cc


Subject

Re: [ptp-dev] Re: [ptp-user] Help with PTP & RSE and remote c project -- Please help

Hi Greg,

You better hold off on looking into this, it may be a non-issue or "operator error" problem.

I just tried the download and install the latest master ptp package. I just realized the install failed., I looked at the logs to find out. BTW, there was NO WARNING MESSAGE  to tell me the install failed, only a reboot dialog for the"changes" to take effect.

I'm on stuck with ppt looking for upc 5.0.0 from cdt. Which version of cdt are you using ? I have CDT Version: 6.0.0.200906081036 Build id: 200906081036
BTW, the latest on the  cdt web site is 03.18.2009.  the one I have appears to be a later build.

Sorry for the confusion.

cheers,
gary

Here is the error message:

Error
Mon Jun 15 09:52:59 MDT 2009
Missing requirement: UPC support for PLDT 2.1.0.200906021621 (org.eclipse.ptp.pldt.upc 2.1.0.200906021621) requires 'bundle org.eclipse.cdt.core.parser.upc 5.0.0' but it could not be found







On Mon, Jun 15, 2009 at 9:36 AM, gary mazzaferro <garym@xxxxxxxxxx> wrote:
    Hi Greg,

    The same results, with one exception I can see the .c file in the project 'src' folder.  I'm not sure if that is a result of the new server code or an artifact of restarting eclipse.

    cheers,
    gary

    Here's the server Exception:


    # DStore Server Starting...
    Server Started Successfully
    4033
    java.lang.Exception: No handler for this system type
        at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.lookupProcesses(UniversalProcessMiner.java:251)
        at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleQuery(UniversalProcessMiner.java:230)
        at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleCommand(UniversalProcessMiner.java:113)
        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)
    java.lang.Exception: No handler for this system type
        at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.lookupProcesses(UniversalProcessMiner.java:251)
        at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleQuery(UniversalProcessMiner.java:230)
        at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleCommand(UniversalProcessMiner.java:113)
        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)



    On Mon, Jun 15, 2009 at 9:21 AM, gary mazzaferro <garym@xxxxxxxxxx> wrote:
    Thanks for the update, I originally started with 3.5 (galileo) and back rev'd to 3.4 because it appeared more people were having success with this build.

    Give me a couple of minutes, I'll get the nightly and let you know how it turns out.


    -g



    On Mon, Jun 15, 2009 at 9:13 AM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
      Gary,

      I should have read your post in more detail. I now see you're using Eclipse 3.4 and PTP 2.1.2. Unfortunately this is a bug in RSE 3.0 that will only be fixed in RSE 3.1 (the RSE people are not releasing any more 3.0 versions), which means you'll need to upgrade to Eclipse 3.5 and use one of the PTP 3.0 builds from http://wiki.eclipse.org/PTP/builds.

      Regards,

      Greg

      On Jun 15, 2009, at 11:07 AM, gary mazzaferro wrote:
          Hi Greg,

          I just tried June 2  with the same results. I don't think the fix made it in to the build.

          cheers
          -gary


          # DStore Server Starting...
          Server Started Successfully
          4033
          java.lang.Exception: No handler for this system type
              at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.lookupProcesses(UniversalProcessMiner.java:251)
              at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleQuery(UniversalProcessMiner.java:230)
              at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleCommand(UniversalProcessMiner.java:113)
              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)
          java.lang.Exception: No handler for this system type
              at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.lookupProcesses(UniversalProcessMiner.java:251)
              at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleQuery(UniversalProcessMiner.java:230)
              at org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner.handleCommand(UniversalProcessMiner.java:113)
              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)



          On Mon, Jun 15, 2009 at 8:54 AM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
          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>


                Please respond to
                PTP User list <ptp-user@xxxxxxxxxxx>
                <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


          _______________________________________________
          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


      _______________________________________________
      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


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


GIF image

GIF image


Back to the top