Groov view works in production, but not in design mode

Good afternoon

I have a set of groov view pages that work in production, but when switched to build mode the all gadgets show that tags are not specified. Seems impossible - suggestions?

What version are you using?
What is groov View running on? (What hardware).
Also, is there anything in the logs?

Version: groov version R4.1b (r53351)
Hardware: groov epic
Logs: Where would I look for that?

Click on ‘Help’, then ‘View Logs’.

Ah. I set the level to trace.

Nothing remarkable during a ‘view’ operation:

2020-02-21, 11:51:49 GMT-06:00 INFO com.opto22.groov.server.rpc.ClientServiceImpl - User ‘admin’ is viewing page ‘ERROR MESSAGES’.

2020-02-21, 11:51:48 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - groov View version R4.1b (r53351), built Friday, April 12, 2019 1:29:02 AM UTC, is loading in a browser.

2020-02-21, 11:51:48 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - Browser info - Platform = ‘Win32’, User Agent = ‘Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0’.

After reloading a ‘build’ session

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 WARN com.allen_sauer.gwt.log.client.Log - ClientDeviceManager.getCanonicalTag() - Failed to find a tag for id 2

2020-02-21, 11:53:08 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - ClientContentManager.imagesLoadedCallback() - Loaded 0 images.

2020-02-21, 11:53:08 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - ClientContentManager.imagesLoaded - Firing update event.

2020-02-21, 11:53:05 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - Browser info - Platform = ‘Win32’, User Agent = ‘Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:73.0) Gecko/20100101 Firefox/73.0’.

2020-02-21, 11:53:05 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - groov View version R4.1b (r53351), built Friday, April 12, 2019 1:29:02 AM UTC, is loading in a browser.

2020-02-21, 11:52:57 GMT-06:00 INFO com.allen_sauer.gwt.log.client.Log - Page ERROR MESSAGES is selected. Clearing gadget properties panel.

So digging through the groov view backup archives, it seems that the tag definitions in tags_opc table have dissapeared. The tag references, indexes, etc in the individual gadget configurations seem to be intact. Recreating a tag in tags_opc and updating the metadata in tags makes everything (for tags that references it) start working again.

Huh, that sounds like a tag reference counting issue, I’ll take a look into it.

OPC-UA tag libraries can get ridiculously big, so we don’t keep them all in groov View’s project database. We store only the tags that are in use and clean out any others at startup time. If something goes wrong with making a count of which tags are in use you could run into this.