This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes Betwixt -- Reader returning null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Betwixt -- Reader returning null" Watch "Betwixt -- Reader returning null" New topic

Betwixt -- Reader returning null

Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
Hello All,

I am newbie to Betwixt. I am trying some tutorial programs.
I succesfully executed the part of generating XML from bean instance.

When i tried XML-Bean I am getting null bean instance at command
BetwixtLearner learner = (BetwixtLearner) beanReader.parse(xmlReader);

I registerd class before calling parse method.

Please guide me out of this NULL.

Also pls explain why this registering class is requried?

subject: Betwixt -- Reader returning null