[
https://issues.apache.org/jira/browse/CODEC-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary D. Gregory closed CODEC-271.
---------------------------------
Resolution: Abandoned
Closing, no feedback.
> Base32 encoder may return empty string at high TPS
> --------------------------------------------------
>
> Key: CODEC-271
> URL: https://issues.apache.org/jira/browse/CODEC-271
> Project: Commons Codec
> Issue Type: Bug
> Affects Versions: 1.9
> Reporter: CHINMAY DANI
> Priority: Major
>
> I am using a static instance of *org.apache.commons.codec.binary.Base32*
> class in my application. For each request, there is a call made to the
> *encodeAsString* method. I ran a load test that called this method at >100
> requests per second, and noticed that at random times, the output of the
> method was an empty string. The test simply encoded the same input string
> into a Base32 encoded string.
> I never found the reason why this happened, but I tried a few things to try
> to resolve the issue. The only thing that worked for me was to instantiate a
> new object of the *Base32* class before each call made to the
> *encodeAsString* method.
>
> Do you have any thoughts/ideas why this could happen? Or whether anyone has
> noticed the same behavior?
>
> Thanks
--
This message was sent by Atlassian Jira
(v8.20.1#820001)