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

2016 bis heute 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] Error messsage when creating a HTML/XML report


  • Subject: Re: [QF-Test] Error messsage when creating a HTML/XML report
  • From: Gregor Schmid <Gregor.Schmid@?.de>
  • Date: 26 Nov 2007 19:40:52 +0100

Hi Hans-Chiristian,

Interesting problem.

The error messages are displayed if

new File (D:\Result\fsd\071126161932\icons").isDirectory()

fails. It's not uncommon for Java to have not-quite-working
implementations of File.isWritable but it's rarely reproducible. It's
the first time I hear about a problem with isDirectory.

In this case there appears to be some timing issue in the low-level IO
code. The isDirectory call appears to fail when issued right after the
mkdir, but not later when you run the report creation again. There's
not much I can do except add a short sleep after the mkdir call.
Silly, actually.

Still, if you like, I'll send you a patch to try.

Best regards,
    Greg

"LAKITSCH, HANS-CHRISTIAN" <hans-christian.lakitsch@?.com> writes:

>    Hi all,
>
>    When I try to create a HTML/XML report from a run log in the GUI I get
>    the following errors:
>
>    Creating directory D:\Result\fsd\071126161932
>    Creating directory D:\Result\fsd\071126161932\icons
>    Error while copying icons: Not a directory:
>    D:\Result\fsd\071126161932\icons
>    Creating directory D:\Result\fsd\071126161932\css
>    Error while copying stylesheet: Not a directory:
>    D:\Result\fsd\071126161932\css
>
>    When I try to create the reports a second time it works.
>
>    Mit freundlichen Grüßen / Kind regards
>    Ing. Hans C. Lakitsch
> _______________________________________________
> qftest-list mailing list
> qftest-list@?.de
> http://www.qfs.de/mailman/listinfo/qftest-list

--
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