[ 
https://issues.apache.org/jira/browse/DAFFODIL-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Lawrence resolved DAFFODIL-2551.
--------------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

Fixed in commit 5db795978b585643907e0617942c0dcfd1d69f96

> Get a StackOverflowError when using daffodil save-parser to compile/save ATO 
> schema to parser.bin file
> ------------------------------------------------------------------------------------------------------
>
>                 Key: DAFFODIL-2551
>                 URL: https://issues.apache.org/jira/browse/DAFFODIL-2551
>             Project: Daffodil
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 3.2.0
>            Reporter: Dave Thompson
>            Assignee: Steve Lawrence
>            Priority: Blocker
>             Fix For: 3.2.0
>
>         Attachments: SaveATOParserExceptionTrace.txt
>
>
> During the nightly performance run, when running daffodil save-parser to 
> compile and save the ATO schema to .bin parser file the following 
> StackOverflowError exception occurs.
> Partial trace is below and the full trace is attached.
> Exception in thread "main" java.lang.StackOverflowError
>  at java.lang.Exception.<init>(Exception.java:102)
>  at 
> java.lang.ReflectiveOperationException.<init>(ReflectiveOperationException.java:89)
>  at 
> java.lang.reflect.InvocationTargetException.<init>(InvocationTargetException.java:72)
>  at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>  at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  at java.lang.reflect.Method.invoke(Method.java:498)
> :
> :
> When the .xsd file is used to execute the nightly ATO tests the following 
> Errors occurred:
> ********************************************
> Error Running test with ato.dfdl.xsd
> ********************************************
> (1) Error running test ato_1t_8k_1000 (1 of 1)
> Error running ato_1t_8k_1000 on "Host (RHEL6 x64 12 cpu 96GB)": 
> [error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; lineNumber: 82; columnNumber: 80; 
> cvc-pattern-valid: Value ' ' is not facet-valid with respect to pattern '\S+' 
> for type 'NonEmptyStringLiteral'.
> [error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; lineNumber: 82; columnNumber: 80; 
> cvc-attribute.3: The value ' ' of attribute 'textStringPadCharacter' on 
> element 'dfdl:format' is not valid with respect to its type, 
> 'NonEmptyStringLiteral'.
> [error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/usmtf/src/main/resources/ato/DefaultProperties.xsd;
>  lineNumber: 82; columnNumber: 80; cvc-pattern-valid: Value ' ' is not 
> facet-valid with respect to pattern '\S+' for type 'NonEmptyStringLiteral'.
> [error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/usmtf/src/main/resources/ato/DefaultProperties.xsd;
>  lineNumber: 82; columnNumber: 80; cvc-attribute.3: The value ' ' of 
> attribute 'textStringPadCharacter' on element 'dfdl:format' is not valid with 
> respect to its type, 'NonEmptyStringLiteral'.
> [error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/usmtf/src/main/resources/ato/DefaultProperties.xsd;
>  lineNumber: 82; columnNumber: 80; cvc-pattern-valid: Value ' ' is not 
> facet-valid with respect to pattern '\S+' for type 'NonEmptyStringLiteral'.
> [error] Schema Definition Error: Error loading schema due to 
> org.xml.sax.SAXParseException; systemId: 
> file:/home/dfdl/dfdl-dataformats/data-formats/usmtf/src/main/resources/ato/DefaultProperties.xsd;
>  lineNumber: 82; columnNumber: 80; cvc-attribute.3: The value ' ' of 
> attribute 'textStringPadCharacter' on element 'dfdl:format' is not valid with 
> respect to its type, 'NonEmptyStringLiteral'.
> Rolled commit back to the previous commit and the exception does not occur.
> Got the same exception using schema from nighty performance test data and 
> from dfdl-schema usmtf - ato repo.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to