← Back to team overview

dhis2-devs team mailing list archive

Re: [Branch ~dhis2-devs-core/dhis2/trunk] Rev 19296: WIP proper error reporting on failed GML parsing during import

 

Morten this is a long shot, but do you think there is any possibility
the removal of xerces exclusions in 2.19 might be causing these
strange unpredictable problems?  Weird StackOverflowErrors and Xerces
problems seem to go hand in hand - google the two terms :-(  I guess
the nub is that it becomes unpredictable which xercesimpl the
classloader uses.

The original reason for adding the xercesImpl exclusions was that it
seemed to make the java xml parsing more stable.  I am not sure how it
easy it would be test this as you'd have to build without openid4java
.. which is the library which caused us to remove the exclusions.

On 1 July 2015 at 10:16, Morten Olav Hansen <mortenoh@xxxxxxxxx> wrote:
>
> On Wed, Jul 1, 2015 at 4:12 PM, Bob Jolliffe <bobjolliffe@xxxxxxxxx> wrote:
>>
>> Having said that, this stack overflow business might carry some clue.
>> @Morten you mention elsewhere in this thread  "It seems to be looping in
>> Attribute.toString()".  Are you sure it is looping or is there something
>> recursive going on here?  (note that xslt with very large nodesets could
>> indeed also cause recursion problems)
>
>
> Well, it reminded me of an earlier issue we had, but that have since been
> fixed.
>
> As I can import the sample XML file from Halvdan without any issues in 2.19
> / 2.20 (but he could not...) I might not be reproducing it properly, so I'm
> waiting for input from him.
>
> --
> Morten


Follow ups

References