1

JAXBContext in javax.xml.bind.JAXBContext is neither creating an instance of the package nor it is throwing an exception. The flow of the applicaton is fine until it comes to the below line in the code:

JAXBContext jc = JAXBContext.newInstance("org.test.package");

after that i dont see any exception even if the code is in try catch block nor the flow is not moving furthur as i dont see any logs after that. I am not sure what is causing this issue.

step
  • 25
  • 1
  • 7
  • 1
    is jc null? Have you tried debugging? – qtips Apr 17 '17 at 17:14
  • Yes. @qtips I have tried to print he jc value but its not even printing the value. Thanks for the reply. – step Apr 17 '17 at 18:04
  • I am sorry, I meant debugging with a debugger. Alternatively, have you tried printing just before and after the jc = ...? Is the print line not reached? – qtips Apr 17 '17 at 18:07
  • Yes just before jc i have kept a log statement which is printing fine. @qtips. And sorry to say that i cant debug my application locally in eclipse by keeping breakpoints as there are lot of dependencies. – step Apr 17 '17 at 18:10

0 Answers0