Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[linuxtools-dev] NullPointerException Issue in linuxtools when using GCov in Eclipse using RSL10 2.3

Hi,

In Windows 10, we installed RSL10 SDK 2.3 (using Eclipse Oxygen.3a - 4.7.3a) with JLink V640b.
When we initiate the Profile Code Coverage after creating a target, it gives a java.lang.NullPointerException.
I tried using -consoleLog and -debug options. I got the following trace

java.lang.NullPointerException
        at org.eclipse.linuxtools.profiling.ui.CProjectBuildHelpers.isOptionCheckedInCDTTool(CProjectBuildHelpers.java:236)
        at org.eclipse.linuxtools.profiling.ui.CProjectBuildHelpers.isOptionCheckedInCDT(CProjectBuildHelpers.java:214)
        at org.eclipse.linuxtools.internal.gcov.launch.GcovLaunchConfigurationDelegate.preRequisiteCheckManagedBuild(GcovLaunchConfigurationDelegate.java:148)
        at org.eclipse.linuxtools.internal.gcov.launch.GcovLaunchConfigurationDelegate.preRequisiteCheck(GcovLaunchConfigurationDelegate.java:116)
        at org.eclipse.linuxtools.internal.gcov.launch.GcovLaunchConfigurationDelegate.launch(GcovLaunchConfigurationDelegate.java:60)
        at org.eclipse.linuxtools.internal.profiling.launch.provider.launch.ProviderLaunchConfigurationDelegate.launch(ProviderLaunchConfigurationDelegate.java:89)
        at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
        at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
        at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
        at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

When I checked, got an info that this issue has been fixed in linuxtools 7.x using https://git.eclipse.org/c/linuxtools/org.eclipse.linuxtools.git/commit/?id=01f2ef5496a191e1ebe54a825f41a97889e5b612

But our SDK is still using 4.7.3 in which linuxtools 6.x is used.

Is there any easy way to take only this fix in to 4.7.3 eclipse ?

Thanks,
B.Sathish Kumar
::DISCLAIMER::
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Back to the top