org.apache.jena.riot.RiotParseException

[line: 1, col: 1 ] Bad character encoding

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Justin Littman,
  • via Unknown by Justin Littman,
  • Stack trace

    • org.apache.jena.riot.RiotParseException: [line: 1, col: 1 ] Bad character encoding at org.apache.jena.riot.tokens.TokenizerText.hasNext(TokenizerText.java:105) at org.apache.jena.atlas.iterator.PeekIterator.fill(PeekIterator.java:50) at org.apache.jena.atlas.iterator.PeekIterator.<init>(PeekIterator.java:44) at org.apache.jena.riot.lang.LangEngine.<init>(LangEngine.java:45) at org.apache.jena.riot.lang.LangBase.<init>(LangBase.java:32) at org.apache.jena.riot.lang.LangNTuple.<init>(LangNTuple.java:61) at org.apache.jena.riot.lang.LangNTriples.<init>(LangNTriples.java:42) at org.apache.jena.riot.RiotReader.createParserNTriples(RiotReader.java:360) at org.apache.jena.riot.RiotReader.createParserNTriples(RiotReader.java:354) at org.apache.jena.riot.RiotReader.createIteratorTriples(RiotReader.java:244) at edu.cornell.mannlib.vitro.webapp.searchindex.IndexingChangeListener.parseTriple(IndexingChangeListener.java:147) at edu.cornell.mannlib.vitro.webapp.searchindex.IndexingChangeListener.addedStatement(IndexingChangeListener.java:116) at edu.cornell.mannlib.vitro.webapp.utils.developer.listeners.DeveloperDisabledChangeListener.addedStatement(DeveloperDisabledChangeListener.java:35) at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.RDFServiceImpl.notifyListeners(RDFServiceImpl.java:119) at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.ListeningGraph.performAdd(ListeningGraph.java:60) at com.hp.hpl.jena.graph.GraphUtil.addIteratorWorker(GraphUtil.java:194) at com.hp.hpl.jena.graph.GraphUtil.addInto(GraphUtil.java:183) at com.hp.hpl.jena.rdf.model.impl.ModelCom.add(ModelCom.java:208) at com.hp.hpl.jena.rdf.model.impl.ModelCom.add(ModelCom.java:202) at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.RDFServiceJena.operateOnModel(RDFServiceJena.java:117) at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.RDFServiceJena.notifyListenersOfChanges(RDFServiceJena.java:99) at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.jena.sdb.RDFServiceSDB.changeSetUpdate(RDFServiceSDB.java:90) at edu.cornell.mannlib.vitro.webapp.rdfservice.impl.logging.LoggingRDFService.changeSetUpdate(LoggingRDFService.java:35) at edu.cornell.mannlib.vitro.webapp.controller.jena.RDFUploadController.addUsingRDFService(RDFUploadController.java:239) at edu.cornell.mannlib.vitro.webapp.controller.jena.RDFUploadController.doPost(RDFUploadController.java:147) at javax.servlet.http.HttpServlet.service(HttpServlet.java:648) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at edu.cornell.mannlib.vitro.webapp.controller.VitroHttpServlet.service(VitroHttpServlet.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.PageRoutingFilter.doNonDisplayPage(PageRoutingFilter.java:108) at edu.cornell.mannlib.vitro.webapp.filters.PageRoutingFilter.doFilter(PageRoutingFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.ClickjackFilter.doFilter(ClickjackFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.RequestModelsPrep.doFilter(RequestModelsPrep.java:56) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.URLRewriterFilter.doFilter(URLRewriterFilter.java:38) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.JSessionStripFilter.doFilter(JSessionStripFilter.java:60) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.CachingResponseFilter.produceBasicResponse(CachingResponseFilter.java:321) at edu.cornell.mannlib.vitro.webapp.filters.CachingResponseFilter.doFilter(CachingResponseFilter.java:115) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionFilter.doFilter(LocaleSelectionFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.CharsetEncodingFilter.doFilter(CharsetEncodingFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.SessionTimeoutLimitingFilter.doFilter(SessionTimeoutLimitingFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at edu.cornell.mannlib.vitro.webapp.filters.StartupStatusDisplayFilter.doFilter(StartupStatusDisplayFilter.java:64) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:668) at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:223) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1517) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1474) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.