Hi Frank. I just wanted to give you a status on this. I've spent the
morning working on it. I can reproduce it from the DOS command prompt, but
not in my debugger. The transformations in your test are not being run
concurrently, so it's got nothing to do with that. Also, your tests are
not reusing the transformer... you create a new transformer every time...
so it's got nothing to do with that either. Nothing with incremental
threads should be occurring, so I don't think it has anything to do with
that. The bug is a reference to a DTM that does not exist, and it is
indeed an RTF, but I don't see where or why it would have been trimmed, and
when I comment out the RTF trim code in the call-template code, the bug
still occurs. Because the bug seems timing dependent or environment
dependent, I suspect a garbage value as the cause... though this kind of
thing is really rare in Java. So, in short, I don't have a real clue yet,
but am eliminating possibilities, which is a start, I guess.
I'll keep you updated on progress.
-scott
"Frank E. Weiss"
<[EMAIL PROTECTED]> To: [EMAIL PROTECTED]
cc: [EMAIL PROTECTED]
04/01/2002 10:29 Subject: Re: Stylesheet Reuse
NullPointerException
AM
I've attached a test case to Bugzilla 7622. As you know, either
NullPointerException or ArrayIndexOutOfBoundException are
arising. This test case creates ArrayIndexOutOfBoundException, although as
I was stripping down the stylesheet,
NullPointerException also manifested.
Scott, I hope this test case test will help you track down this bug easier.
I'm here to help you any way.
-- Frank Weiss