tuteng edited a comment on issue #6303: [hotfix] Remove problematic semicolon 
from conf
URL: https://github.com/apache/pulsar/pull/6303#issuecomment-590029228
 
 
   Add label release/2.5.1, ping @codelipenghui 
   
   due Error:
   
   ```
   [AppClassLoader@18b4aac2] info register aspect 
org.apache.pulsar.zookeeper.ZooKeeperServerAspect
   Exception in thread "main" java.lang.IllegalArgumentException: failed to 
initialize bookkeeperExplicitLacIntervalInMills field while setting value 0;
        at 
org.apache.pulsar.common.util.FieldParser.lambda$update$0(FieldParser.java:146)
        at 
java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
        at 
java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
        at 
org.apache.pulsar.common.util.FieldParser.update(FieldParser.java:135)
        at 
org.apache.pulsar.common.configuration.PulsarConfigurationLoader.create(PulsarConfigurationLoader.java:97)
        at 
org.apache.pulsar.common.configuration.PulsarConfigurationLoader.create(PulsarConfigurationLoader.java:74)
        at 
org.apache.pulsar.PulsarStandaloneStarter.<init>(PulsarStandaloneStarter.java:60)
        at 
org.apache.pulsar.PulsarStandaloneStarter.main(PulsarStandaloneStarter.java:117)
   Caused by: java.lang.RuntimeException: Cannot convert from java.lang.String 
to java.lang.Integer. Conversion failed with null
        at 
org.apache.pulsar.common.util.FieldParser.convert(FieldParser.java:119)
        at org.apache.pulsar.common.util.FieldParser.value(FieldParser.java:190)
        at 
org.apache.pulsar.common.util.FieldParser.lambda$update$0(FieldParser.java:141)
        ... 7 more
   Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.apache.pulsar.common.util.FieldParser.convert(FieldParser.java:115)
        ... 9 more
   Caused by: java.lang.NumberFormatException: For input string: "0;"
        at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:580)
        at java.lang.Integer.valueOf(Integer.java:766)
        at 
org.apache.pulsar.common.util.FieldParser.stringToInteger(FieldParser.java:262)
        ... 13 more
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to