N/APosted on - 05/10/2012
I have written a Java program for iPhone with the help of HTML tags. I have completed writing an executable file. The file must run when clicked, however, there is an error came up. The error is about “UNEXPECTED EXCEPTION”. Please enlighten me on this matter. Any ideas will be accepted.
Error: Unexpected exception: java.lang.reflect.InvocationTargatException
<?xml version = "1.0" encoding = "utf-8"?>
<! – JNLP File for the SocketClient Application – >
<j2se version = "1.6"/>
<jar href = "TwoFrame.jar"/>
<application-desc main-class = "TwoFrame">
JAVA PROGRAM FOR IPHONE: UNEXPECTED EXCEPTION ERROR
2. Upload your app to the PhoneGapBuildService.
3. Download and install Titanium Appcelerator
If you have already followed these 3 important steps. Maybe the restriction is the reason why there is an error, but it can be overcome by jail breaking and terminal installed. But your iPhone is prone to computer viruses however only few cases reported. iPhone SIM carriers also restricted (for postpaid subscribers) the use of some aspect of iPhone, but it can be open, when you finish the contract with the provider. Maybe the slow internet connection is the cause too of the error. Or maybe Java is not updated to the latest version. Please refer to this link for more information: