Re: How would you troubleshoot this issue?



On Oct 27, 12:35 pm, "John B. Matthews" <nos...@xxxxxxxxxxxxxx> wrote:
In article
<5f186206-ee86-47bb-908e-c185f6c20...@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,

 laredotornado<laredotorn...@xxxxxxxxxxx> wrote:
I'm usingJava1.5 on a Mac OS 10.5.6,

Mac OS 10.5.8 is the current minor version of 10.5 (Leopard). I seem to
recall aJava1.5 update in there.

using a Resin 3.0.19 container.  I'm trying to run a JUnit test to
test my web service client against the web service, which runs
locally.

What version of JUnit? I'm not sure how to ensure that Resin is using a
particular version, but you might try another.

A strange thing happens.  The 1016th test always fails with the below
exception. However, if I switch the order of the tests (in other
words, make the 1016th the 1st so that some other test becomes the
1016th), the new test in the 1016th position also fails with the same
exception . This happens repeatedly no matter what test is in the
1016th slot.

Interestingly, 1016 = 2^10 - 2^3. It's hard not to imagine it's a bad
index of some kind.

--
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>

John, to answer your question, it is JUnit 4.4.

Patricia, per your suggestion, I inserted a trial test


public void testMyTest() {
assertTrue(true);
} // testMyTest

as the 1016th test. It was executed successfully and the execution
died at the 1017th test (same exception as above). However, as I
said, making that 1017th test the 1st causes it to execute fine.
Starting to think this is some constraint on my side, but can't think
what.

Thanks for everyone's help, - Dave
.



Relevant Pages

  • Re: Thread was being aborted
    ... I suppose you are getting this error due to execution timeouts. ... want to increase the execution timeout for the web service by increasing the ... > sometimes throwing "Thread was being aborted" Exception. ...
    (microsoft.public.dotnet.framework.webservices)
  • Workaround to Assembly reference for Managed/Unmaged C++ dll in ASP.Net
    ... Calling C++ library from ASP.NET web service ... (Exception from HRESULT: 0x8007007E) ... 2005 Runtime Libraries on the machine)? ... assemblyName, Boolean starDirective) +32 ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Runtime Syntax Checker
    ... If any Tcl command sets a return code other than zero, ... script to abort, but any following scripts will execute. ... In C, you can ignore errors, execution ... The caller must then handle the exception. ...
    (comp.lang.tcl)
  • Re: Updating a DB via SQL is giving me a headache
    ... problem will never be executed using the Try/Catch block, ... Connection was certainly created and opened, ... If so, null is not an Integer, and that could throw an exception. ... is handled, execution continues. ...
    (microsoft.public.dotnet.framework.aspnet)
  • got any better solution on this?
    ... Calling C++ library from ASP.NET web service ... (Exception from HRESULT: 0x8007007E) ... 2005 Runtime Libraries on the machine)? ... assemblyName, Boolean starDirective) +32 ...
    (microsoft.public.dotnet.framework.webservices)