× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.




Hi Mitch,

Things to check ...

Make sure that the SEP is ste for the entry point of the application - even
if you only want to run CC on a portion of the app. There is an issue when
it is set later. You can modify the CC launch config to select what you
want to do the coverage on.

Also make sure that the stuff that you want to do the CC on is compiled to
match the CC you are trying to do. Like compile with debug *source when
you try to do CC *source

Lastly make sure that you can debug the app and click Run and the app runs
to completion without any debug messages popping up.

Mike

Mike Hockings, M.Eng., P.Eng.
DevOps for Enterprise
IBM Developer for z Systems and Power Systems Software Technical Support
IBM Canada Ltd. Laboratory
hockings@xxxxxxxxxx
voice 1-905-413-3199 T/L 313-3199 ITN 23133199




From: Mitch Gallman <mitch_gallman@xxxxxxxxxxxxx>
To: Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries <wdsci-l@xxxxxxxxxxxxxxxxxx>
Date: 2020/03/03 12:01
Subject: [EXTERNAL] [WDSCI-L] RDi Code Coverage not working - stuck at
QTESEPEH
Sent by: "WDSCI-L" <wdsci-l-bounces@xxxxxxxxxxxxxxxxxx>



Can't get code coverage to work. My program always gets stuck at QTESEPEH.

Setting the service entry point - I see the following in the error log
which I would think is minor.

ISeriesConnection.getAS400ToolboxObject() error running command:
AS400Message (ID: CPF2103 text: Library QGPL already exists in library
list.):com.ibm.as400.access.AS400Message@14c8ea40

I press the button to switch from debug to code coverage.

Submit my job....and it waits at QTESEPEH.


If I right click on the service entry point and click "Open Launch
Configuration" I get the following in the error log:

Message: Unhandled event loop exception
Plug-in: org.eclipse.ui
Exception Stack Trace:
java.lang.NullPointerException
at
com.ibm.etools.iseries.debug.internal.ui.IDEALDebuggeeHelper.findOrCreateSEPLaunchConfiguration
(IDEALDebuggeeHelper.java:50)
at
com.ibm.etools.iseries.debug.internal.ui.sep.actions.PhantomServiceEntryPointOpenLaunchConfigurationAction
$1.run(PhantomServiceEntryPointOpenLaunchConfigurationAction.java:45)
at org.eclipse.swt.widgets.Synchronizer.syncExec
(Synchronizer.java:233)
at org.eclipse.ui.internal.UISynchronizer.syncExec
(UISynchronizer.java:145)
at org.eclipse.swt.widgets.Display.syncExec
(Display.java:4821)
at
com.ibm.etools.iseries.debug.internal.ui.sep.actions.PhantomServiceEntryPointOpenLaunchConfigurationAction.doAction
(PhantomServiceEntryPointOpenLaunchConfigurationAction.java:37)
at
com.ibm.etools.iseries.debug.internal.ui.sep.actions.PhantomServiceEntryPointBaseAction.run
(PhantomServiceEntryPointBaseAction.java:80)
at org.eclipse.jface.action.Action.runWithEvent
(Action.java:473)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection
(ActionContributionItem.java:565)
at org.eclipse.jface.action.ActionContributionItem.lambda$4
(ActionContributionItem.java:397)
at org.eclipse.jface.action.ActionContributionItem$$Lambda
$36.000000001A8BD170.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent
(Display.java:4418)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:1079)
at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:4236)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:3824)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run
(PartRenderingEngine.java:1121)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:336)
at
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run
(PartRenderingEngine.java:1022)
at
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI
(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run
(Workbench.java:693)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault
(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench
(PlatformUI.java:148)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start
(IDEApplication.java:138)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run
(EclipseAppHandle.java:196)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication
(EclipseAppLauncher.java:134)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start
(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:243)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:90)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:508)
at org.eclipse.equinox.launcher.Main.invokeFramework
(Main.java:673)
at org.eclipse.equinox.launcher.Main.basicRun
(Main.java:610)
at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

Session Data:
eclipse.buildId=unknown
java.fullversion=8.0.5.35 - pwa6480sr5fp35-20190418_01(SR5 FP35)
JRE 1.8.0 Windows 10 amd64-64-Bit Compressed References 20190417_414854
(JIT enabled, AOT enabled)
OpenJ9 - 777635f
OMR - 16b77d7
IBM - 72459d3
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product com.ibm.rational.developer.ibmi.product.ide
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product
com.ibm.rational.developer.ibmi.product.ide


Any ideas?

Thanks,
Mitch
--
This is the Rational Developer for IBM i / Websphere Development Studio
Client for System i & iSeries (WDSCI-L) mailing list
To post a message email: WDSCI-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.midrange.com_mailman_listinfo_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=kT7euuCcEjz1l8OA1G_jhGpgG3Usr4_dBH-LU26kWEI&s=muknGQpJzhfF1umtAGgX0m2Wp9PEapD5GhHGdhwcQS0&e=

or email: WDSCI-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
https://urldefense.proofpoint.com/v2/url?u=https-3A__archive.midrange.com_wdsci-2Dl&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=kT7euuCcEjz1l8OA1G_jhGpgG3Usr4_dBH-LU26kWEI&s=eA1-VoabUj8iqZL3MBtRkC6BHTe8CH1IsCZzMr1RFGk&e=
.

Help support midrange.com by shopping at amazon.com with our affiliate
link:
https://urldefense.proofpoint.com/v2/url?u=https-3A__amazon.midrange.com&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=wo0uDJijITU2f7aW2HWa1KiNWzc2cb7dgMN4W-85iwI&m=kT7euuCcEjz1l8OA1G_jhGpgG3Usr4_dBH-LU26kWEI&s=Tw6pFk_UyQvSJOnJop9mFTqHQvYblQT5brY9UkKgQhA&e=





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.