Premature end of file error in tibco


















I am trying to parse an XML response , but I am failing miserably. I thought initially that the xml was just not being returned in the response, so I crafted up the code below with a direct link to my xml file online.

I am able to print the XML to screen with no problems. However when I call my parse method I get Premature end of file. You are getting the error because the SAXBuilder is not intelligent enough to deal with "blank states".

I came across the same error, and could easily find what was the problem by logging the exception:. Or, instead of logging the error, you can throw it and catch it where you handle the entries, so you can print the entry itself to get a better indication on the error.

One of the other reason is , you should whitelist your IP address IPv4 in your mongodb settings. Hope it resolves! Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Why am I getting this error Premature end of file?

Ask Question. Asked 9 years, 9 months ago. Active 1 year, 9 months ago. Viewed k times. How exactly we can fix this issue? Also when i pass the same file in my local machine and run the code it is getting successful which is windows environment. Please check if you have checked 'Validate Output' option for parse xml activity.

If not checked this might cause 'premature end of file' issue. Also share your files. You are here Home » Answers » Excel: Premature end of file. Excel: Premature end of file Posted on August 18, at am. By: Kjetil T. The creation of the sourcefile seems to be OK the sourcefile occurs in the correct directory , but when I'm running the application, I receive the following error s : org.

Digester - Parse Fatal Error at line -1 column Premature end of file. The following workaround can be used to upgrade in case of external library storage. Attachments Attached File. Attached File. Feedback Was this information helpful? Yes No Somewhat.



0コメント

  • 1000 / 1000