strugglejl / memcached-session-manager

Automatically exported from code.google.com/p/memcached-session-manager
0 stars 0 forks source link

No suitable constructor found for class java.math.BigInteger #150

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
2012-8-30 8:31:53 de.javakaffee.web.msm.serializer.javolution.ReflectionFormat 
writeElements
严重: Could not write element for field.
java.lang.IllegalArgumentException: No suitable constructor found for class 
java.math.BigInteger.
Available constructors: [public java.math.BigInteger(byte[]), public 
java.math.BigInteger(int,byte[]), public 
java.math.BigInteger(java.lang.String,int), public 
java.math.BigInteger(java.lang.String), public 
java.math.BigInteger(int,java.util.Random), public 
java.math.BigInteger(int,int,java.util.Random)]
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.createNumberFormat(ReflectionFormat.java:584)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.getNumberFormat(ReflectionFormat.java:561)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding.getFormat(ReflectionBinding.java:198)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:815)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:790)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLCollectionFormat.write(ReflectionBinding.java:383)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLCollectionFormat.write(ReflectionBinding.java:335)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:790)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLArrayFormat.writeElements(ReflectionBinding.java:329)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLArrayFormat.write(ReflectionBinding.java:323)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLArrayFormat.write(ReflectionBinding.java:284)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:439)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:389)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:439)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:389)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:790)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLCollectionFormat.write(ReflectionBinding.java:383)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLCollectionFormat.write(ReflectionBinding.java:335)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:790)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLArrayFormat.writeElements(ReflectionBinding.java:329)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLArrayFormat.write(ReflectionBinding.java:323)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLArrayFormat.write(ReflectionBinding.java:284)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:438)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:389)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:790)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLCollectionFormat.write(ReflectionBinding.java:383)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLCollectionFormat.write(ReflectionBinding.java:335)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.writeElements(ReflectionFormat.java:263)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionFormat.write(ReflectionFormat.java:245)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:439)
    at de.javakaffee.web.msm.serializer.javolution.ReflectionBinding$XMLMapFormat.write(ReflectionBinding.java:389)
    at javolution.xml.XMLFormat$OutputElement.add(XMLFormat.java:819)
    at javolution.xml.XMLObjectWriter.write(XMLObjectWriter.java:242)
    at de.javakaffee.web.msm.serializer.javolution.JavolutionTranscoder.doSerialize(JavolutionTranscoder.java:129)
    at de.javakaffee.web.msm.serializer.javolution.JavolutionTranscoder.serializeAttributes(JavolutionTranscoder.java:112)
    at de.javakaffee.web.msm.TranscoderService.serializeAttributes(TranscoderService.java:153)
    at de.javakaffee.web.msm.BackupSessionTask.serializeAttributes(BackupSessionTask.java:175)
    at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:109)
    at de.javakaffee.web.msm.BackupSessionTask.call(BackupSessionTask.java:50)
    at de.javakaffee.web.msm.BackupSessionService$SynchronousExecutorService.submit(BackupSessionService.java:346)
    at de.javakaffee.web.msm.BackupSessionService.backupSession(BackupSessionService.java:205)
    at de.javakaffee.web.msm.MemcachedSessionService.backupSession(MemcachedSessionService.java:1059)
    at de.javakaffee.web.msm.RequestTrackingHostValve.backupSession(RequestTrackingHostValve.java:229)
    at de.javakaffee.web.msm.RequestTrackingHostValve.invoke(RequestTrackingHostValve.java:154)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1001)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
    at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1770)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)

I use nginx + 2 tomcats + 1 memcached using memcached-session-manager-1.6.2.jar 
to share sessions,but i see above err logs.
(on winXP 32bit or ubuntu12.04 64bit,both have such err)

my Context config is

    <Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager" 

memcachedNodes="n1:localhost:11211" 

requestUriIgnorePattern=".*/.(png|gif|jpg|css|js)$" 

sticky="false"

sessionBackupAsync="false" 

sessionBackupTimeout="100"

transcoderFactoryClass="de.javakaffee.web.msm.serializer.javolution.JavolutionTr
anscoderFactory" 

copyCollectionsForSerialization="false"/>

can anyone can tell me the details about the err?
tks

Original issue reported on code.google.com by shuzui1...@gmail.com on 30 Aug 2012 at 1:51