You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Alex Rudyy (Jira)" <ji...@apache.org> on 2022/02/08 11:24:00 UTC

[jira] [Created] (QPID-8575) [Broker-J] The BDB HA VirtualHostNode can fail to start due to BDB JE Environment recovery NumberFormatException

Alex Rudyy created QPID-8575:
--------------------------------

             Summary: [Broker-J] The BDB HA VirtualHostNode can fail to start due to BDB JE Environment recovery NumberFormatException
                 Key: QPID-8575
                 URL: https://issues.apache.org/jira/browse/QPID-8575
             Project: Qpid
          Issue Type: Bug
          Components: Broker-J
    Affects Versions: qpid-java-broker-8.0.6
            Reporter: Alex Rudyy


BDB JE  ReplicatedEnvironment recovery can fail with NumberFormatException as below
{noformat}
Caused by: java.lang.NumberFormatException: For input string: "12370247684"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:583)
        at java.lang.Integer.parseInt(Integer.java:615)
        at com.sleepycat.je.rep.InsufficientLogException.<init>(InsufficientLogException.java:218)
        at com.sleepycat.je.rep.impl.RepImpl.handleRestoreRequired(RepImpl.java:2298)
        at com.sleepycat.je.recovery.RecoveryManager.findEndOfLog(RecoveryManager.java:543)
        at com.sleepycat.je.recovery.RecoveryManager.recover(RecoveryManager.java:339)
        at com.sleepycat.je.dbi.EnvironmentImpl.finishInit(EnvironmentImpl.java:841)
        at com.sleepycat.je.dbi.DbEnvPool.getEnvironment(DbEnvPool.java:222)
        at com.sleepycat.je.Environment.makeEnvironmentImpl(Environment.java:267)
        at com.sleepycat.je.Environment.<init>(Environment.java:252)
        at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:607)
        at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:466)
        at com.sleepycat.je.rep.ReplicatedEnvironment.<init>(ReplicatedEnvironment.java:540)
{noformat}

It seems that BDB JE version has a defect causing an integer overflow whilst recovering the environment. 

This issue is raised just for tracking purposes. It is not a defect in Qpid code.

[https://community.oracle.com/tech/developers/discussion/4494512/replicatedenvironment-recovery-can-fail-with-numberformatexception/p1?new=1]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org