Hello all - i am a newbie in java and recently working on troubleshooting a web start application running on Java 1.7. This is the exception below which i want to troubleshoot in eclipse.
Internal error occurred. It might be necessary to restart the application.
java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.ElementNSImpl cannot be cast to com.services.projects.operations.GetUnitListResponse$UnitKey
at com.designer.ui.actions.tasks.AirspaceUnitProjectListOfflineTask.doOffline
at com.designer.ui.actions.tasks.AirspaceUnitProjectListOfflineTask.doOffline
at com.designer.ui.actions.tasks.OfflineTaskDialog.run(OfflineTaskDialog.java)
at java.lang.Thread.run(Unknown Source)
So i want to start attach a debugger and executed the following command from command line
javaws -verbose -J-Xdebug -J-Xnoagent -J-Xrunjdwp:transport=dt_socket,server=n,suspend=y,address=8009 http://localhost:8080/saace/saa.jnlp
Also in eclipse i defined a new Remote java application with hostname : localhost and port 8009 and set my breakpoints. I see when i switch to debug mode the project seems to be connected.
But from my webstart application when i try to fetch the unitlist i was hoping the control would be switched to eclipse and will halt at the break point but it's not happening.
Can you please help if i am missing something.
thanks for your help in advance.