XML parsing Android
I am using JDOM to create XML and during parsing i am getting this exception "Could not find class 'java.rmi.RemoteException', referenced fr开发者_如何学Com 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.
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.
精彩评论