Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Classcast exception  RSS feed

 
vishnu bola
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello - I am working on a desktop java application which has a jnlp file. When i try to run the application in my local it's throwing this error below. The same application seems to be working fine in my dev environment. Can someone please advise what must be causing this error and how to resolve it.
Thank you for all your help!

 
Campbell Ritchie
Sheriff
Posts: 55292
156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please supply more details; we would have to see the affected code and lots more information before we can help.
 
vishnu bola
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry this is the piece of code where the code throwing error at line 5



Here is the code for getProjectList () method.



As per suggestions on web i added LAX annotation to the list  that gets returned from getprojectLisresponse but still getting the same error.



can you please help me how to resolve this issue.
 
vishnu bola
Ranch Hand
Posts: 40
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This issue is related to proguard. Issue got fixed by following instructions in the link

http://java-plusplus.blogspot.com/2013/12/proguard-and-jaxb.html
 
Paul Clapham
Sheriff
Posts: 22374
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for posting that! It could help somebody else with the same problem, so I've given you a cow.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!