[CONTROLLER-498] Calling toString on an InstanceIdentifier results in NoSuchMethodError Created: 21/May/14  Updated: 19/Oct/17  Resolved: 22/May/14

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

Type: Bug
Reporter: Rob Adams Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 1057

 Description   

java.lang.NoSuchMethodError: com.google.common.base.Objects.toStringHelper(Ljava/lang/Object;)Lcom/google/common/base/Objects$ToStringHelper;
at org.opendaylight.yangtools.yang.binding.InstanceIdentifier.toString(InstanceIdentifier.java:159)



 Comments   
Comment by Tony Tkacik [ 21/May/14 ]

Could you provide bit more information about how you got that that problem?

Class is correctly imported, has correct imports, toString behaves correctly in the OSGI.

Comment by Rob Adams [ 22/May/14 ]

Looks like it was importing an old version of Guava

Generated at Wed Feb 07 19:53:10 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.