Skip to content

null ref in TwoStepDeviceBuilder.ElaborateTwoStepDeviceWithToken with some user agent strings from googlebot and bingbot #3

@jamesmanning

Description

@jamesmanning
Exception type: NullReferenceException 
Exception message: Object reference not set to an instance of an object.
   at Oddr.Builders.Devices.TwoStepDeviceBuilder.ElaborateTwoStepDeviceWithToken(UserAgent userAgent, String step1Token, String step2Token)
   at Oddr.Builders.Devices.TwoStepDeviceBuilder.Build(UserAgent userAgent, Int32 confidenceTreshold)
   at Oddr.Identificators.DeviceIdentificator.Get(UserAgent userAgent, Int32 confidenceTreshold)
   at Oddr.ODDRService.GetPropertyValues(IEvidence evdnc, IPropertyRef[] prs)
   at Oddr.ODDRService.GetPropertyValue(IEvidence evdnc, IPropertyRef pr)

User agent strings that appear to trigger it include these (the +'s are there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions