Logo QF-Test

Im Archiv der Mailingliste
wertvolle Antworten finden.

 

Gratis Testen  Download  Kaufen

Thomas Max, QF-Test Training und Support

Tipp für die Recherche in der Mailingliste: Volltextsuche (oben) verwenden.

Thomas Max,
Sr. Software Engineer & Trainer, QFS

2017 bis heute 2016 2015 2014 | 2013 | 2012 | 2011 2010 2009 | 2008 | 2007

(ältere Archiveinträge vor 2007 nicht dargestellt, aber in der Suche enthalten)

Mailingliste - Einträge 2007


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [QF-Test] java security exceptions


  • Subject: Re: [QF-Test] java security exceptions
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 19 Sep 2007 16:57:13 +0200

Hi Mariam,

thanks for the run-log. The screenshot showed that your using
AltioLive widgets in a browser, so I could run their demo and
reproduce the problem.

It looks like the Altio framework triggers quite a few events outside
the AWT Event Dispatch thread that QF-Test now notifies you about.
Since you cannot change the framework you should set the option

Replay->Event->How to handle events from the wrong thread

to "warning" instead of error.

When implementing this thread check I didn't have enough forethought
to acquire the necessary privileges. As a result you're seeing the
SecurityExceptions. I'll send you a patch.

The patch will be included in the next official patch or release. If
anybody else needs this fix immediately to work with QF-Test 2.1.0 and
AltioLive, please contact me directly.

Best regards,
    Greg

"Maryam Umar" <maryam.umar@?.com> writes:

> Hi Greg,
>
> I've attached the run-log.
> I think I was a bit too vague about what I am trying to do. I have quite a
> few test scripts which I wrote in qftest v2.0.4. When I installed v2.1.0 the
> same scripts stopped working. I was getting exceptions in the console
> related to java security. I have checked my jdk instrumentation and its up
> to date. I am using XP and java v1.6.0_02-b06. These were the same when I
> wrote my scripts in the older version of qftest.
>
> Thanks.
>
> Regards,
> Maryam
>
> ----
> Software Application Tester
> Integra SP Ltd
> maryam.umar@?.com
> -----Original Message-----
> From: Gregor Schmid [mailto:Gregor.Schmid@?.de]
> Sent: 18 September 2007 17:22
> To: qftest-list@?.de
> Cc: maryam.umar@?.com
> Subject: Re: [QF-Test] java security exceptions
>
>
> Hi Maryam,
>
> this information is far too general. At least, please send me (not the
> list) your test-suite, a run-log that shows the SUT startup (the
> run-log is also useful because it will include information about
> operating system etc.).
>
> Also, please specify exactly what you mean by "older scripts" and "new
> version of qftest", i.e. what was the last version of QF-Test that this
> test ran on (and does it still run with the old version on the same OS
> and Java version)?
>
> Best regards,
>     Greg
>
> "Maryam Umar" <maryam.umar@?.com> writes:
>
> >    I keep getting Java security exceptions while trying to run any of my
> >    older scripts in the new version of qftest. I think I am missing out
> >    something in the settings. Can someone plz help identify what the issue
> >    can be. Thanks.
> >
> >
> >    Logging Exception: Exception starting UI
> >    layer                               SYSTEM
> >
> >    java.security.AccessControlException: access denied
> >    (java.util.PropertyPermission * read,write)
> >
> >                at
> >    java.security.AccessControlContext.checkPermission(Unknown Source)
> >
> >                at java.security.AccessController.checkPermission(Unknown
> >    Source)
> >
> >                at java.lang.SecurityManager.checkPermission(Unknown
> >    Source)
> >
> >                at java.lang.SecurityManager.checkPropertiesAccess(Unknown
> >    Source)
> >
> >                at java.lang.System.getProperties(Unknown Source)
> >
> >                at
> >    de.qfs.apps.qftest.client.Client.asyncLogError(SourceFile:352)
> >
> >                at de.qfs.apps.qftest.client.awt.ac.a(SourceFile:2306)
> >
> >                at
> >    de.qfs.apps.qftest.client.awt.ac.componentAdded(SourceFile:1521)
> >
> >                at java.awt.Container.processContainerEvent(Unknown Source)
> >
> >                at java.awt.Container.processEvent(Unknown Source)
> >
> >                at java.awt.Component.dispatchEventImpl(Unknown Source)
> >
> >                at java.awt.Container.dispatchEventImpl(Unknown Source)
> >
> >                at java.awt.Component.dispatchEvent(Unknown Source)
> >
> >                at java.awt.Container.addImpl(Unknown Source)
> >
> >                at java.awt.Container.add(Unknown Source)
> >
> >
> >
> >    Regards,
> >
> >
> >    Maryam
> >
> >
> >    ----
> >
> >    Software Application Tester
> >
> >    Integra SP Ltd
> >
> >    maryam.umar@?.com

--
Gregor Schmid                                Gregor.Schmid@?.de
Quality First Software GmbH                     http://www.qfs.de
Tulpenstr. 41                                Tel: +49 8171 919870
DE-82538 Geretsried                          Fax: +49 8171 919876
GF: Gregor Schmid, Karlheinz Kellerer          HRB München 140833


Videos Downloads Dokumentation Kaufen Gratis Testen