Code Monkey home page Code Monkey logo

d1_cn_index_tool's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d1_cn_index_tool's Issues

Replace the main branch by the tag 2.3.12

Currently, the main branch is based on the trunk from the svn repository. It should be the latest release tag, which is 2.3.12. We need to replace the main branch by the tag at some time.

Cannot use the index tool jar file to reindex jsonld objects

I noticed we can't reindex jsonld objects by the jar file and there was no obvious errors. After adding more debug statement, I found the error message:

java.lang.NoSuchFieldError: UTF_32BE
	at com.github.jsonldjava.utils.JsonUtils.fromInputStream(JsonUtils.java:104)
	at org.apache.jena.riot.lang.JsonLDReader.read(JsonLDReader.java:76)
	at org.apache.jena.riot.RDFDataMgr.process(RDFDataMgr.java:906)
	at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:257)
	at org.apache.jena.riot.RDFDataMgr.read(RDFDataMgr.java:243)
	at org.apache.jena.riot.adapters.RDFReaderRIOT.read(RDFReaderRIOT.java:70)
	at com.hp.hpl.jena.rdf.model.impl.ModelCom.read(ModelCom.java:277)
	at org.dataone.cn.indexer.parser.JsonLdSubprocessor.processDocument(JsonLdSubprocessor.java:303)
	at org.dataone.cn.indexer.SolrIndexService.processObject(SolrIndexService.java:230)
	at org.dataone.cn.indexer.SolrIndexService.insertIntoIndex(SolrIndexService.java:303)
	at org.dataone.cn.index.processor.IndexTaskUpdateProcessor.process(IndexTaskUpdateProcessor.java:50)
	at org.dataone.cn.index.processor.IndexTaskProcessor.processTask(IndexTaskProcessor.java:288)
	at org.dataone.cn.index.processor.IndexTaskProcessor.access$000(IndexTaskProcessor.java:80)
	at org.dataone.cn.index.processor.IndexTaskProcessor$1.run(IndexTaskProcessor.java:265)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.