aspose file tools*
The moose likes Other Java Products and Servers and the fly likes ClassCastException while reading ics file with ical4j in JackRabit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "ClassCastException while reading ics file with ical4j in JackRabit" Watch "ClassCastException while reading ics file with ical4j in JackRabit" New topic
Author

ClassCastException while reading ics file with ical4j in JackRabit

vineet kumar chaudhry
Ranch Hand

Joined: Apr 02, 2011
Posts: 45
Hi

I am reading ics file using ical4j which are saved in JackRabit...

The below code is working fine

[/code]
Mohammad Monis
Greenhorn

Joined: Jan 04, 2012
Posts: 5
org.apache.jackrabbit.rmi.client.ClientNode cannot be cast to net.fortuna.ical4j.model.Component - I didn't see anywhere in the servlet code that you are casting ClientNode to Componet. So the error might be coming from different code section. Can you share the line no. indicated in the error log at which the cast is failing.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ClassCastException while reading ics file with ical4j in JackRabit