Issue Details (XML | Word | Printable)

Key: PUB-3861
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: P3 - Defect P3 - Defect
Assignee: Wonu Yoloye
Reporter: M. Nageshwar Rao
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Artix Data Services

NPE thrown when parsing a valid XML after an invalid XML has failed

Created: Wed 30-Apr-08 13:04   Updated: Tue 09-Sep-08 06:09
Component/s: None
Affects Version/s: 3.6.4
Fix Version/s: 3.6.4, 3.7.0

Time Tracking:
Not Specified

File Attachments: 1. Java Archive File artix-ds-api-3.6.4.jar (1.53 MB)
2. Java Archive File artix-ds-api-3.6.4.jar (1.53 MB)
3. Zip Archive FinessesML_Swdml.zip (97 kB)


Tag Issue:


 Description  « Hide
java.lang.NullPointerException
 at biz.c24.io.api.presentation.DefaultContext$DocumentContext.receive(DefaultContext.java:551)
 at biz.c24.io.api.presentation.DefaultContext.pop(DefaultContext.java:110)
 at biz.c24.io.api.presentation.ExpectedTypeLoader.onEndElement(ExpectedTypeLoader.java:132)
 at biz.c24.io.api.presentation.SAXSource$Handler.endElement(SAXSource.java:494)
 at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
 at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
 at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
 at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
 at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)
 at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
 at biz.c24.io.api.presentation.XMLSource.readObject(XMLSource.java:233)
 at com.rbsfm.finesse.artix.XMLTransform.getComplexDataObject(XMLTransform.java:61)
 at com.rbsfm.finesse.artix.ArtixTransform.transformXML(ArtixTransform.java:71)
 at com.rbsfm.finesse.artix.XMLTransformer.transformXML(XMLTransformer.java:224)
 at com.rbsfm.finesse.artix.XMLTransformer.convertFinesseMLToSWDML(XMLTransformer.java:167)
 at com.rbsfm.finesse.artix.TestApp.doTransform(TestApp.java:436)
 at com.rbsfm.finesse.artix.TestApp.runTransform(TestApp.java:360)
 at com.rbsfm.finesse.artix.ArtixTestHarness.run(ArtixTestHarness.java:132)
 at com.rbsfm.finesse.artix.ArtixTestHarness.testFinesse_to_SWDML(ArtixTestHarness.java:73)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at junit.textui.TestRunner.doRun(TestRunner.java:116)
 at junit.textui.TestRunner.doRun(TestRunner.java:109)
 at junit.textui.TestRunner.run(TestRunner.java:72)
 at junit.textui.TestRunner.run(TestRunner.java:57)
 at com.rbsfm.finesse.artix.ArtixTestHarness.main(ArtixTestHarness.java:114)
 
Nageshwar Rao
RBS Global Banking & Markets
40-42 Islington High Street, London N1 8XL


 

***********************************************************************************
The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB.
Authorised and regulated by the Financial Services Authority
 
This e-mail message is confidential and for use by the
addressee only. If the message is received by anyone other
than the addressee, please return the message to the sender
by replying to it and then delete the message from your
computer. Internet e-mails are not necessarily secure. The
Royal Bank of Scotland plc does not accept responsibility for
changes made to this message after it was sent.

Whilst all reasonable care has been taken to avoid the
transmission of viruses, it is the responsibility of the recipient to
ensure that the onward transmission, opening or use of this
message and any attachments will not adversely affect its
systems or data. No responsibility is accepted by The
Royal Bank of Scotland plc in this regard and the recipient should carry
out such virus and other checks as it considers appropriate.
Visit our websites at:
www.rbs.com
www.rbs.com/gbm
www.rbsgc.com
***********************************************************************************

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Simon Heinrich added a comment - Wed 30-Apr-08 19:04
Nageshwar,

Can you please post the two XML files (the one with the date error, and the following one which throws this error) on to this issue?

Can you also please post all of the data models required to parse these instance documents.

Thanks,

Simon

Amanda Hall added a comment - Thu 01-May-08 12:05
Hi Nageshwar

An updated jar file has been added to this issue which should address the NPE you are seeing. I'm marking this issue as resolved for now, but please feel free to open it at any stage if the issue reoccurs.

Best wishes
Amanda