fanyong920 / jvppeteer

Headless Chrome For Java (Java 爬虫)
Apache License 2.0
730 stars 158 forks source link

关于CookiePartitionKey异常问题 #168

Open shenkeGit opened 2 hours ago

shenkeGit commented 2 hours ago

emit error com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of com.ruiyun.jvppeteer.entities.CookiePartitionKey (although at least one Creator exists): no String-argument constructor/factory method to deserialize from String value ('http://gofund.cn') at [Source: UNKNOWN; byte offset: #UNKNOWN] (through reference chain: com.ruiyun.jvppeteer.events.ResponseReceivedExtraInfoEvent["cookiePartitionKey"]) at com.fasterxml.jackson.databind.exc.MismatchedInputException.from(MismatchedInputException.java:63) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.DeserializationContext.reportInputMismatch(DeserializationContext.java:1728) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.DeserializationContext.handleMissingInstantiator(DeserializationContext.java:1353) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.std.StdDeserializer._deserializeFromString(StdDeserializer.java:311) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.BeanDeserializerBase.deserializeFromString(BeanDeserializerBase.java:1495) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.BeanDeserializer._deserializeOther(BeanDeserializer.java:197) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:187) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.impl.MethodProperty.deserializeAndSet(MethodProperty.java:129) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.BeanDeserializer.vanillaDeserialize(BeanDeserializer.java:314) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.BeanDeserializer.deserialize(BeanDeserializer.java:177) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.deser.DefaultDeserializationContext.readRootValue(DefaultDeserializationContext.java:323) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.ObjectMapper._readValue(ObjectMapper.java:4650) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:2831) ~[jackson-databind-2.13.5.jar:2.13.5] at com.fasterxml.jackson.databind.ObjectMapper.treeToValue(ObjectMapper.java:3295) ~[jackson-databind-2.13.5.jar:2.13.5] at com.ruiyun.jvppeteer.transport.CDPSession.onMessage(CDPSession.java:130) ~[jvppeteer-2.2.5.jar:?] at com.ruiyun.jvppeteer.transport.Connection.lambda$handleMessageRunnable$1(Connection.java:120) ~[jvppeteer-2.2.5.jar:?] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) ~[?:?] at java.util.concurrent.FutureTask.run(Unknown Source) ~[?:?] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[?:?] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[?:?] at java.lang.Thread.run(Unknown Source) [?:?]

fanyong920 commented 2 hours ago

你现在用什么版本的chrome for testing呢