Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
-
1
Description
With 2.6.0 release candidate 6a364d4bb3234cc5091fe239dbd26d35d7e5abff, there are a lot of error messages like
19:35:09 [2436.80 INFO] (SDKD log:137) log4net:ERROR Exception while rendering object of type [Common.Logging.Factory.AbstractLogger+StringFormatFormattedMessage]
|
19:35:09 [2436.80 INFO] (SDKD log:137) System.FormatException: Input string was not in a correct format.
|
19:35:09 [2436.80 INFO] (SDKD log:137) +++ Received exception of ID 0
|
19:35:09 [2436.80 INFO] (SDKD log:137) log4net:ERROR Exception while rendering object of type [Common.Logging.Factory.AbstractLogger+StringFormatFormattedMessage]
|
19:35:09 [2436.80 INFO] (SDKD log:137) System.FormatException: Input string was not in a correct format.
|
19:35:09 [2436.80 INFO] (SDKD log:137) +++ Received exception of ID 0
|
19:35:09 [2436.80 INFO] (SDKD log:137) log4net:ERROR Exception while rendering object of type [Common.Logging.Factory.AbstractLogger+StringFormatFormattedMessage]
|
Looks like caused by https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/IO/ConnectionBase.cs#L327
Attachments
For Gerrit Dashboard: NCBC-1724 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
97812,5 | NCBC-1724: JSON brackets cause log4Net format error | master | couchbase-net-client | Status: MERGED | +2 | +1 |
I tried and cannot replicate, however stacktrace points here: https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/IO/ConnectionBase.cs#L327
And a similar, previous issue makes me think the bug is related to the JSON "{" and "}" brackets causing a formatting issue: https://github.com/couchbase/couchbase-net-client/blob/master/Src/Couchbase/Tracing/OperationContext.cs#L43