Reputation: 3037
I am using JDOM to create XML and during parsing i am getting this exception "Could not find class 'java.rmi.RemoteException', referenced from method org.jdom.JDOMException.getNestedException " which cause a crash in program .This exception occurs very frequently but not always Any body has faced same problem . Any help would be appreciated Thanks in advance.
Upvotes: 1
Views: 601
Reputation: 8935
Well there is no RMI implementation in android platform, so it pretty obviously the reason of the exception. Don't know why JDOM needs java.rmi.RemoteException
through
Edit:
There is a code inside of JDOMException
which checks instanceof
expression against java.rmi.RemoteException
so this is the root of problem.
Upvotes: 2