# Error reading tag properties from remote tag provider

**URL:** <https://forum.inductiveautomation.com/t/error-reading-tag-properties-from-remote-tag-provider/68216>\
**Category:** Ignition\
**Tags:** ignition79, ignition80\
**Created:** [January 4, 2023, 3:30pm UTC](https://forum.inductiveautomation.com/t/error-reading-tag-properties-from-remote-tag-provider/68216 "2023-01-04T15:30:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wtb](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@wtb](https://forum.inductiveautomation.com/u/wtb)\
**Post date:** [January 4, 2023, 3:30pm UTC](https://forum.inductiveautomation.com/t/error-reading-tag-properties-from-remote-tag-provider/68216/1 "2023-01-04T15:30:59Z")

</div>

I have an Ignition 8.0.2 gateway and a connected Ignition 7.9.4 gateway. I am trying to read tag properties from the connected v7 gateway and getting a NullReferenceException when reading the HistoryProvider, historicalDeadbandStyle and a UDT property.

This is my code sample:

```auto
private static final BasicProperty<InterpolationMode> DeadbandStyleProperty =
        new BasicProperty<>("historicalDeadbandStyle", InterpolationMode.class,
                InterpolationMode.Auto);

private static final BasicProperty<Object> UdtProperty =
        new BasicProperty<>("My User Defined Type", Object.class);

List<String> properties = List.of(
        WellKnownTagProps.HistoryProvider.getName(),
        DeadbandStyleProperty.getName(),
        UdtProperty.getName()
);

String tagPath = "";

List<TagPath> propertyPaths = properties.stream()
        .map(p -> TagPathParser.parseSafe(String.format("%s.%s", tagPath, p)))
        .collect(Collectors.toList());

List<QualifiedValue> values = tagManager.readAsync(propertyPaths).get();

```

Any idea what I am doing wrong?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 4, 2023, 3:33pm UTC](https://forum.inductiveautomation.com/t/error-reading-tag-properties-from-remote-tag-provider/68216/2 "2023-01-04T15:33:45Z")

</div>

IIRC, there were bugs in cross-version remote tag provider functionality well into the v8.1 series. You probably need to upgrade.

{ Well, since you are using a development version that became end-of-life as soon as v8.1 was released, you need to upgrade anyways. }

---

<div class="post-metadata">

**Author:** ![wtb](https://avatars.discourse-cdn.com/v4/letter/w/53a042/32.png) [@wtb](https://forum.inductiveautomation.com/u/wtb)\
**Post date:** [January 9, 2023, 4:25pm UTC](https://forum.inductiveautomation.com/t/error-reading-tag-properties-from-remote-tag-provider/68216/3 "2023-01-09T16:25:01Z")

</div>

Thank you. Upgrading to v8.1.23 seems to have fixed it
