Comment 2 for bug 773363

Revision history for this message
Stephane Mikaty (eCircle AG) (s-mikaty) wrote : RE: [Bug 773363] [NEW] When a context item cannot be looked up, the name of the context item is not shown / makes diagnosis difficult

Can we not 'equip' the MailUtil thread to have the same translation wrappers?

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of edA-qa
Sent: Freitag, 29. April 2011 17:59
To: Stephane Mikaty
Subject: Re: [Bug 773363] [NEW] When a context item cannot be looked up, the name of the context item is not shown / makes diagnosis difficult

This may be an issue iwth the the thread in which the context is called.
The main thread has translation wrappers which should provide more information. If you call the same translation wrappers in the thread it should have the information you need.

On 04/29/2011 05:49 PM, Stephane Mikaty (eCircle AG) wrote:
> Public bug reported:
>
> I'm unable to tell from this output what the context item name actually is.
> Can we get the context item name shown on the output as well?
>
> TESTPLAN_JAVA_OPTS=-Djava.protocol.handler.pkgs=HTTPClient
> -Dhttp.nonProxyHosts=localhost -Dhttp.proxyHost=qabuild02
> -Dhttp.proxyPort=80 -DHTTPClient.dontChunkRequests=true
> testplan/bin/testplan.sh --verbose --scriptDir=conf
> --scriptDir=conf/cluster-16
> --scriptDir=/home/mikaty/workspace/qa/trunk/qa-src/dist/tests
> --scriptDir=/home/mikaty/workspace/qa/trunk/qa-src/dist/tests/rolist
> --scriptDir=/home/mikaty/workspace/qa/trunk/qa-src/dist/tests/rolist/t
> estplan/rolist seq.small.CreateUser +system.ptest Debug.Email=mail.txt
> System.DebugVerify=true Debug.Web=web.txt
> System.Recorder.CheckpointFile=checkpoint.csv
> System.Recorder.CheckpointException=checkpoint_ex.txt
> System.Recorder.WarningFile=warning.txt
> System.Recorder.MetricFile=metrics.csv Debug.Web.Append=false
> +conf/system-outside-testlab.ptest Web.Selenium.Host=localhost
> Web.Selenium.NoSessionCleanup=false
> *** Error encountered while starting
> testplan.util.TestPlanException$Syntax: Cannot expand context item
> at testplan.util.Context.checkNull(Context.java:135)
> at testplan.util.Context.string(Context.java:176)
> at testplan.auto.EmailUtil.refreshMail(EmailUtil.java:360)
> at testplan.auto.EmailUtil.startup(EmailUtil.java:703)
> at testplan.auto.Run.run(Run.java:175)
> at testplan.auto.JavaRun.run(JavaRun.java:110)
> at testplan.auto.JavaRun.main(JavaRun.java:42)
>
> ** Affects: testplan
> Importance: Undecided
> Status: New
>

--
edA-qa mort-ora-y
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
Sign: Please digitally sign your emails.
Encrypt: I'm also happy to receive encrypted mail.

--
You received this bug notification because you are a member of TestPlan Team, which is subscribed to TestPlan.
https://bugs.launchpad.net/bugs/773363

Title:
  When a context item cannot be looked up, the name of the context item
  is not shown / makes diagnosis difficult

Status in TestPlan:
  New

Bug description:
  I'm unable to tell from this output what the context item name actually is.
  Can we get the context item name shown on the output as well?

  TESTPLAN_JAVA_OPTS=-Djava.protocol.handler.pkgs=HTTPClient -Dhttp.nonProxyHosts=localhost -Dhttp.proxyHost=qabuild02 -Dhttp.proxyPort=80 -DHTTPClient.dontChunkRequests=true testplan/bin/testplan.sh --verbose --scriptDir=conf --scriptDir=conf/cluster-16 --scriptDir=/home/mikaty/workspace/qa/trunk/qa-src/dist/tests --scriptDir=/home/mikaty/workspace/qa/trunk/qa-src/dist/tests/rolist --scriptDir=/home/mikaty/workspace/qa/trunk/qa-src/dist/tests/rolist/testplan/rolist seq.small.CreateUser +system.ptest Debug.Email=mail.txt System.DebugVerify=true Debug.Web=web.txt System.Recorder.CheckpointFile=checkpoint.csv System.Recorder.CheckpointException=checkpoint_ex.txt System.Recorder.WarningFile=warning.txt System.Recorder.MetricFile=metrics.csv Debug.Web.Append=false +conf/system-outside-testlab.ptest Web.Selenium.Host=localhost Web.Selenium.NoSessionCleanup=false
  *** Error encountered while starting
  testplan.util.TestPlanException$Syntax: Cannot expand context item
        at testplan.util.Context.checkNull(Context.java:135)
        at testplan.util.Context.string(Context.java:176)
        at testplan.auto.EmailUtil.refreshMail(EmailUtil.java:360)
        at testplan.auto.EmailUtil.startup(EmailUtil.java:703)
        at testplan.auto.Run.run(Run.java:175)
        at testplan.auto.JavaRun.run(JavaRun.java:110)
        at testplan.auto.JavaRun.main(JavaRun.java:42)

Stephane Mikaty
Quality Assurance

[http://news.ecircle.com/img/banner/elogo.gif]<http://www.ecircle.com/index.php?id=9&L=0&WT.mc_id=ecircle_email_signature_de_homepage>

P: +49 89 12009-784 | F: +49 89 12009-750 | E: <email address hidden><mailto:<email address hidden>>
Nymphenburger Höfe NYII, Dachauerstraße 63, 80335 München

Stay in touch
Web<http://www.ecircle.com/de/home.html?WT.mc_id=ecircle_email_signature_de_web> | Newsletter<http://www.ecircle.com/index.php?id=63&L=0&WT.mc_id=ecircle_email_signature_de_newsletter>

Für Hilfe mit dem eC-messenger wenden Sie sich bitte an unseren Support unter
Tel +49 (0)89 120 09 600 oder <email address hidden><mailto:<email address hidden>>
[http://news.ecircle.com/img/banner/banner_de.jpg]<http://www.ecircle.com/de/knowledge-center/studien/social-media-studie-2010/lp-social-media-studie2.html?WT.mc_id=EmailSignatur_SM-Studie_032011>

eCircle GmbH, HRB 184 478, Handelsregister München, Geschäftsführung: Volker Wiewer (Vorsitzender), Alexander Meyer, Thomas Wilke, Vorsitzender des Aufsichtsrates: Dr. Arnold Bahlmann