[MDSAL-189] Warning on union instantiation hitting slow path Created: 19/Jul/16  Updated: 09/Mar/18  Resolved: 20/Sep/16

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Lori Jakab Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File karaf.log    
External issue ID: 6238

 Description   

Instantiating some union types results in the following warnings:

2016-07-19 08:47:57,645 | WARN | qtp759912542-408 | UnionTypeCodec | 93 - org.opendaylight.mdsal.binding-dom-codec - 0.9.0.SNAPSHOT | Union value 192.0.2.1 failed to deserialize efficiently, falling back to String-based instantiation
2016-07-19 08:47:57,646 | WARN | qtp759912542-408 | UnionTypeCodec | 93 - org.opendaylight.mdsal.binding-dom-codec - 0.9.0.SNAPSHOT | Union value 192.0.2.2 failed to deserialize efficiently, falling back to String-based instantiation

Attached log file, with debug enabled on UnionTypeCodec and UnionValueOptionContext.



 Comments   
Comment by Lori Jakab [ 19/Jul/16 ]

Attachment karaf.log has been added with description: Karaf log

Comment by Robert Varga [ 19/Jul/16 ]

https://git.opendaylight.org/gerrit/#/c/42076/3

Comment by Lori Jakab [ 19/Jul/16 ]

(In reply to Robert Varga from comment #1)
> https://git.opendaylight.org/gerrit/#/c/42076/3

This does silence the warnings, and I haven't seen any obvious breakage.

I'll follow up if merging this causes weird handling of our binary types.

Generated at Wed Feb 07 20:08:56 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.