You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by "wang273257881 (via GitHub)" <gi...@apache.org> on 2023/04/19 14:04:01 UTC

[GitHub] [inlong] wang273257881 commented on issue #7875: [Bug]使用python对pulsar中的数据进行自主消费时无法对消息体解码

wang273257881 commented on issue #7875:
URL: https://github.com/apache/inlong/issues/7875#issuecomment-1514795760

   我尝试使用了pyjnius调用了官网提供的InLongMsg解析方法,但在parseDefault方法中报错:JVM exception occurred: Illegal initial capacity: -187228160 java.lang.IllegalArgumentException ['java.lang.IllegalArgumentException: Illegal initial capacity: -187228160', 'java.util.HashMap.<init>(HashMap.java:450)', 'java.util.HashMap.<init>(HashMap.java:469)', 'java.util.LinkedHashMap.<init>(LinkedHashMap.java:359)', 'org.apache.inlong.common.msg.InLongMsg.parseDefault(InLongMsg.java:652)', 'org.apache.inlong.common.msg.InLongMsg.parse(InLongMsg.java:874)', 'org.apache.inlong.common.msg.InLongMsg.makeSureParsed(InLongMsg.java:940)', 'org.apache.inlong.common.msg.InLongMsg.getAttrs(InLongMsg.java:949)', 'com.companyname.bank.App.parserInLongMsg(App.java:19)'],传入的参数即How to reproduce中的示例数据


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org