Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!