lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens Wyss DEV <clemens...@mysign.ch>
Subject Solr 4.x to Solr 5 => org.noggit.JSONParser$ParseException
Date Mon, 23 Feb 2015 13:00:39 GMT
Just about to upgrade to Solr5. My UnitTests fail:
13:50:41.178 [main] ERROR org.apache.solr.core.CoreContainer - Error creating core [1-de_CH]:
null
java.lang.ExceptionInInitializerError: null
	at org.apache.solr.core.SolrConfig.getConfigOverlay(SolrConfig.java:359) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.SolrConfig.getOverlay(SolrConfig.java:808) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.SolrConfig.getSubstituteProperties(SolrConfig.java:798) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.Config.<init>(Config.java:152) ~[solr-core.jar:5.0.0 1659987
- anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.Config.<init>(Config.java:92) ~[solr-core.jar:5.0.0 1659987
- anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.SolrConfig.<init>(SolrConfig.java:180) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.SolrConfig.readFromResourceLoader(SolrConfig.java:158) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.ConfigSetService.createSolrConfig(ConfigSetService.java:80) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:61) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:511) [solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at org.apache.solr.core.CoreContainer.create(CoreContainer.java:488) [solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	at ch.mysign.search.solr.EmbeddedSolrMode.prepareCore(EmbeddedSolrMode.java:51) [target/:na]
...
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
[.cp/:na]
Caused by: org.noggit.JSONParser$ParseException: Expected string: char=u,position=2 BEFORE='{
u' AFTER='pdateHandler : { autoCo'
	at org.noggit.JSONParser.err(JSONParser.java:223) ~[noggit.jar:na]
	at org.noggit.JSONParser.nextEvent(JSONParser.java:671) ~[noggit.jar:na]
	at org.noggit.ObjectBuilder.getObject(ObjectBuilder.java:123) ~[noggit.jar:na]
	at org.apache.solr.core.ConfigOverlay.<clinit>(ConfigOverlay.java:213) ~[solr-core.jar:5.0.0
1659987 - anshumgupta - 2015-02-15 12:26:10]
	... 56 common frames omitted

Look like the exception occurs in the ConfigOverlay static block, line 213:
editable_prop_map =  (Map)new ObjectBuilder(new JSONParser(new StringReader(
          MAPPING))).getObject();

What is happening?
Mime
View raw message