reva oday

Greenhorn
+ Follow
since Dec 18, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by reva oday

there is the need to open this topic again......

So for i done the sablotron with out any Error only under windows

But there are some issues with linux environment.While executing the External command sabcmd -<.......> it looks for the xml and xsl files in the sablotron bin directory for windows...For Linux how do we do this..
I am in stuck
Please help me.Thanks in advance if anyone helps me........
18 years ago
Hi,
As i am new to Java i need some one's help..

I got the exception while i try to parse XML which is generated from the PHP code.. and i use sax to read the xml and convert to some formats using TransformerFactory...

Since the samefile gets executed with out any problem last month..i dont even touch the java and php code..But we makes the application secure with some security settings after that only i got the error while execute the code..

I search through the web forums regarding it.but i am not able to solve it..

following is my stack trace

Parser could not read XML from reportresponse...
org.jdom.JDOMException: Error on line -1: Premature end of file.
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:300)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:617)
at sen.extractor.Report.runReport(Report.java:217)
at sen.extractor.Report.Extract(Report.java:189)
at sen.extractor.Extractor.Execute(Extractor.java:457)
at sen.extractor.Extractor.run(Extractor.java:583)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1183)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:287)
... 6 more
Root cause:
org.xml.sax.SAXParseException: Premature end of file.
at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1183)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:287)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:617)

can anyone help me.I am in stuck....
Thanks for all ur advice..

Tony morris site is very usefule to me to understand first of all..
18 years ago
string filename is getting null pointer exception...
as in stack what i provided..i need to catch the error with some error messages.

i havent idea of how to do...please help me..
18 years ago
Hi

I need to avoid having null pointer exception...

As i am new bie to java programming i need urgent help from anyone...

look at the following functionality it is having try..catch ...part and if there is any error it is hanled by log messages we created.



the same function executes properly before one month with out having any exception..If there is any data to be extract comes with null it throws null pointer..I need to give the log message instead of getting null pointer...

i am in stuck to do it...please any one give vluable suggestions...
see the stack trace of some piece of error

Dec 14 14:40:31 Connected to tcp://localhost
Dec 14 14:40:31 Execute Status: 2
Dec 14 14:40:31 Extraction is about to start
Dec 14 14:40:31 Exception while running report REPORT381-389
java.lang.NullPointerException
at sen.extractor.Report.Extract(Report.java:176)
at sen.extractor.Extractor.Execute(Extractor.java:457)
at sen.extractor.Extractor.run(Extractor.java:583)
at java.lang.Thread.run(Thread.java:534)
Dec 14 14:40:31 Job failed to RUN and Notification sent and process is STOPPED
Dec 14 14:40:31 Setting Status to: ERROR

please help...

[EDIT by mw: Added Code Tags using original poster's indentation.]
[ December 20, 2005: Message edited by: marc weber ]
18 years ago
Hi sri ram,
Thanks for ur reply....

I got it now

Regards
revathy
18 years ago