nlight-jdev / jcouchdb

Automatically exported from code.google.com/p/jcouchdb
Other
0 stars 0 forks source link

runtime compatibility problem with svenson-1.30 #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've updated my project to jcouchdb-0.9.0-2 and svenson-1.3.0, now my
(previously working code) throws a funny exception:

java.lang.NoSuchMethodError:
org.svenson.JSONParser.parse(Ljava/lang/Class;Lorg/svenson/tokenize/JSONCharacte
rSource;)Ljava/lang/Object;
    at org.jcouchdb.db.Response.getContentAsBean(Response.java:140)
    at org.jcouchdb.db.Database.getDocument(Database.java:235)
    at org.jcouchdb.db.Database.getDocument(Database.java:195)
    at
net.ltr.semgraph.processor.controllers.QueueTicketController.handleRequest(Queue
TicketController.java:40)

reverting to jcouchdb-0.9.0-1 + svenson-1.2.8 solves the problem

Original issue reported on code.google.com by matteo.c...@gmail.com on 29 Apr 2009 at 10:59

GoogleCodeExporter commented 8 years ago
This sounds like a problem on your side to me.

JSONCharacterSource was introduced as input abstraction in 1.3.0. the method is
definitely there. checked both the jcouchdb and svenson distribution. 

It sounds like you are effectively using jcouchdb-0.9.2 with svenson-1.2.8.. is
svenson-1.2.8 somewhere on your classpath?

Original comment by ff...@gmx.de on 29 Apr 2009 at 2:14

GoogleCodeExporter commented 8 years ago
if this was a general problem, the jcouchdb's test would not run either

Original comment by ff...@gmx.de on 29 Apr 2009 at 2:15

GoogleCodeExporter commented 8 years ago

Original comment by ff...@gmx.de on 31 May 2009 at 9:08