Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown Source)

 
Sharon Wong
Ranch Hand
Posts: 37
IBM DB2 Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi team,

below is my coding


my xml obj coding


When my java restarted, all xml can run without error. But Jnotify detect new file, it have error. I confirm my Jnotify can get the path and the file.

this is my error:
2017-03-13 07:30:27,238 javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(Unknown Source)
2017-03-13 07:30:27,238 com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(Unknown Source)
  2017-03-13 07:30:27,238 com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(Unknown Source)
2017-03-13 07:30:27,238 com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(Unknown Source)
2017-03-13 07:30:27,238 javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
2017-03-13 07:30:27,238 javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(Unknown Source)
2017-03-13 07:30:27,238 com.n2n.NikkeiFlashNews.client.imp.PacketToObjectNewsHostServer.processRawNews(PacketToObjectNewsHostServer.java:104)
2017-03-13 07:30:27,238 com.n2n.NikkeiFlashNews.client.Listener.fileCreated(Listener.java:31)
2017-03-13 07:30:27,238 net.contentobjects.jnotify.win32.JNotifyAdapterWin32.notifyChangeEvent(Unknown Source)
2017-03-13 07:30:27,238 net.contentobjects.jnotify.win32.JNotifyAdapterWin32$1.notifyChange(Unknown Source)
2017-03-13 07:30:27,238 net.contentobjects.jnotify.win32.JNotify_win32.callbackProcessEvent(Unknown Source)

I know it error in


How should i do?

Thanks
 
Sharon Wong
Ranch Hand
Posts: 37
IBM DB2 Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Example xml file:
XML file
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!