Skip to main content

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

Hi Greg,

No, I'm running it under windows (vista) with the rdt server on solaris..  I agree with you, I think this is an integration issue, I just don't know what platform to use. What is the ptp dev team using ?

-g

On Tue, Jun 16, 2009 at 8:48 AM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
Hi Gary,

I don't think your problems are anything to do with PTP, it looks more like a Platform issue to me. Are you running Eclipse under Solaris?

Greg

On Jun 15, 2009, at 9:39 PM, gary mazzaferro wrote:

Hi Greg,

Thanks for following up.

Followed your instructions, tried RSE 3.1RC4  and nightly Version: 3.1.0.N20090615-0100-7L5A78OqaCDxE64pJ4RSh6Isr9n3 Build id: N20090615-0100
Each have the same problem it can't find the ui component and the build still does nothing, I'm thinking the build event its not hooked in. Maybe because the problem with the bundle.

Good news, no exceptions on the server :)

It looks like your internal SDKs are significantly different from the released code and the nightly builds on the site.  If your putting out nightly builds someone has to be using them and has an sdk  build that works.

-gary

I've included the errors


When loading
eclipse.buildId=I20090605-1444
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86


Info
Mon Jun 15 19:14:26 MDT 2009
in SubSystemConfiguration.getSubSytems(conn, force) - returning empty array

eclipse.buildId=I20090605-1444
java.version=1.6.0_13
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86


Error
Mon Jun 15 19:16:46 MDT 2009
Contributor org.eclipse.ui.navigator.ProjectExplorer cannot be created.

org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.ui.navigator.resources" was unable to instantiate class "org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetTitleProvider".
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:172)
    at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:874)
    at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
    at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistry.<init>(TabbedPropertyRegistry.java:127)
    at org.eclipse.ui.internal.views.properties.tabbed.view.TabbedPropertyRegistryFactory.createRegistry(TabbedPropertyRegistryFactory.java:74)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.initContributor(TabbedPropertySheetPage.java:406)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.<init>(TabbedPropertySheetPage.java:295)
    at org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage.<init>(TabbedPropertySheetPage.java:274)
    at org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetAdapterFactory.getAdapter(TabbedPropertySheetAdapterFactory.java:40)
    at org.eclipse.core.internal.adapter.AdapterFactoryProxy.getAdapter(AdapterFactoryProxy.java:80)
    at org.eclipse.core.internal.runtime.AdapterManager.getAdapter(AdapterManager.java:293)
    at org.eclipse.ui.part.WorkbenchPart.getAdapter(WorkbenchPart.java:151)
    at org.eclipse.ui.navigator.CommonNavigator.getAdapter(CommonNavigator.java:432)
    at org.eclipse.ui.internal.views.ViewsPlugin.getAdapter(ViewsPlugin.java:103)
    at org.eclipse.ui.views.properties.PropertySheet.doCreatePage(PropertySheet.java:181)
    at org.eclipse.ui.part.PageBookView.createPage(PageBookView.java:409)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:752)
    at org.eclipse.ui.views.properties.PropertySheet.partActivated(PropertySheet.java:304)
    at org.eclipse.ui.part.PageBookView.showBootstrapPart(PageBookView.java:921)
    at org.eclipse.ui.part.PageBookView.createPartControl(PageBookView.java:492)
    at org.eclipse.ui.views.properties.PropertySheet.createPartControl(PropertySheet.java:132)
    at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367)
    at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
    at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
    at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529)
    at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
    at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
    at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
    at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:668)
    at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576)
    at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568)
    at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:272)
    at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:981)
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3608)
    at org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(WorkbenchPage.java:1037)
    at org.eclipse.ui.internal.WorkbenchPage.access$16(WorkbenchPage.java:1021)
    at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3709)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
    at org.eclipse.ui.internal.WorkbenchPage.setPerspective(WorkbenchPage.java:3707)
    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openPerspective(ShowPerspectiveHandler.java:152)
    at org.eclipse.ui.handlers.ShowPerspectiveHandler.openOther(ShowPerspectiveHandler.java:124)
    at org.eclipse.ui.handlers.ShowPerspectiveHandler.execute(ShowPerspectiveHandler.java:63)
    at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:294)
    at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:178)
    at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247)
    at org.eclipse.ui.actions.PerspectiveMenu.runOther(PerspectiveMenu.java:376)
    at org.eclipse.ui.actions.PerspectiveMenu$3.runWithEvent(PerspectiveMenu.java:130)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
Caused by: java.lang.NullPointerException
    at org.eclipse.ui.internal.navigator.resources.workbench.TabbedPropertySheetTitleProvider.<init>(TabbedPropertySheetTitleProvider.java:44)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)
    ... 78 more




On Mon, Jun 15, 2009 at 5:07 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
Gary,

Unfortunately Galileo is still in the process of being released, so things are a bit fragmented at the moment. This will change when Galileo is released at the end of the month.

It looks like the RSE 3.1RC4 zip doesn't include an update site. You can't install plugins by unzipping them into the Eclipse installation directory any more, so I'd say this is the cause of your problems with RSE. You need to unzip them into the "dropins" directory that is in the Eclipse installation directory instead.

Once you have RSE installed, download the latest CDT zip file from http://download.eclipse.org/tools/cdt/builds/6.0.0 and install it as an archive using the update manager.

You should be able to download the latest PTP build and install it as an archive at this point.

Let me know if you still have problems.

Regards,

Greg


On Jun 15, 2009, at 4:55 PM, gary mazzaferro wrote:

Hi Vivian,

I tried the install, it worked :) :) , stuff is still very broken.  I'll walk you though my procedure


1) Downloaded 3.1 RC4
2) Attempted to load as a site, the 3.1 RC4 does not install as a site. The files need to be copied into the eclipse directory
3) Started eclipse, eclipse 3.5 doesn't like 3.1 RC4, it complains about the views not being able to be saved. There is no remote explorer view !!! I think the install is not well.
4) I could open the remote cdt project, (asked for password) I still cannot remote build or or launch gcc scanner. The build does not execute or offer any warning messages.
NOTE: the remote server shows no exceptions at this point :)

5) Loaded RSE 3.0. shutdown
6) Copied 3.1 RC4 back into eclipse
7) Started and opened a remote explorer view. It worked this time, but I think it was the 3.0 version.
8) I could open the remote cdt project, (asked for password) I still cannot remote build or or launch gcc scanner.
9) Using the remote explored I attempted to view the processes, exceptions on the server popped up immediately.

Summary:
PTP doesn't install with the released galileo cdt download, the generic galileo is needed and cdt-master-6.0.0-I200906151036 needs to be installed manually
The newest version of rtd server build I200906021621, seems much better behaved than earlier versions under opensolaris, although the perl daemon is broken
Enumerating the processes with the 3.0 remote explorer causes rtd server to throw execeptions
RSE 3.1 RC4 download doesn't install properly and not working with eclipse 3.5. The zip file is not a "site" file
None of the versions of RSE can execute the gcc compiler on opensolaris. The build does not execute or offer any warning messages.
I'm in not much better position now than when I started 11 hrs ago, except a bit more frustrated.

Personal comments:

I do not believe I have the build configuration correct for  opensolaris. Is there a way for the build to execute via ssh or rconsole ?


thanks for all your support.

gary









On Mon, Jun 15, 2009 at 1:19 PM, gary mazzaferro <garym@xxxxxxxxxx> wrote:
Thank you Vivian !!!

I'll give it a try..

-g


On Mon, Jun 15, 2009 at 1:16 PM, Vivian Kong <vivkong@xxxxxxxxxx> wrote:

There are known problems in RDT included PTP 3.0 builds prior to June 2. Please try and install the following in order:

Eclipse 3.5
CDT 6.0: http://download.eclipse.org/tools/cdt/builds/6.0.0/index.html
RSE 3.1: http://download.eclipse.org/dsdp/tm/downloads/index.php
PTP/RDT 3.0 (June 2 or later builds)

Regards,

Vivian Kong
IBM Eclipse CDT
IBM Canada Toronto Lab

<graycol.gif>gary mazzaferro ---06/15/2009 03:01:09 PM---Hi Beth,

<ecblank.gif>
From:
<ecblank.gif>

gary mazzaferro <garym@xxxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
<ecblank.gif>
Date:
<ecblank.gif>

06/15/2009 03:01 PM
<ecblank.gif>
Subject:
<ecblank.gif>

Re: [ptp-dev] Re: [ptp-user] Help with PTP & RSE and remote c project -- Please help
<ecblank.gif>
Sent by:
<ecblank.gif>




Hi Beth,

I think the build and test environment is a little out of wack with the releases.

I tried to a few different installs methods
1) Down load the 3.5 sdk and add cdt 5.0 then there is a conflict with cdt 5/6
2) Down load the 3.5 sdk and add ptp 3.0. This results in a missing udp 5.0.0
3) Down load the 3.5 sdk w/ ptp 3.0 remote added and try to download cdt 5.0. This results in a conflict with .cdt 5.0 installing over a cdt 6.0 core.

How can someone out of IBM can use ptp ?

Is there a proceedure of patches or something ?

cheers,
gary


Here are the error logs from the installs:





On Mon, Jun 15, 2009 at 11:20 AM, gary mazzaferro <garym@xxxxxxxxxx> wrote:
    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

    <graycol.gif>gary mazzaferro ---06/15/2009 12:23:58 PM---Hi Greg,

    Please respond to
    Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
    <ecblank.gif>
    To
    <ecblank.gif>

    Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
    <ecblank.gif>
    cc
    <ecblank.gif>
    <ecblank.gif>
    Subject
    <ecblank.gif>

    Re: [ptp-dev] Re: [ptp-user] Help with PTP & RSE and remote c project -- Please help
    <ecblank.gif><ecblank.gif>

    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>
                                <ecblank.gif>

                                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

_______________________________________________
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-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top