Schneider Electric Exchange Community

Discuss and solve problems in energy management and automation. Join conversations and share insights on products and solutions. Co-innovate and collaborate with a global network of peers.

Register Now
Learn about the Community. Join our Core Community to Get Started
Knowledge Base
cancel
Showing results for 
Search instead for 
Did you mean: 

Converted OGC to TGML graphics will not display on web interface of Xenta Server

Issue

XBuilder project was upgraded and OGC graphic pages were converted to TGML using the automatic conversion. The same names were used for the graphic pages, but they will not display in the web interface.

Java console reports:

java.io.IOException: Wrong file format feature < 0 or reature > 7
 at se.tac.applet.graphics.ogc.OGCStreamHeader.load(Unknown Source)
 at se.tac.applet.graphics.ogc.OGCPicture.loadPicture(Unknown Source)
 at se.tac.applet.graphics.GraphicsViewer.go(Unknown Source)
 at se.tac.applet.graphics.GraphicsViewer.init(Unknown Source)
 at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
java.lang.NullPointerException

Product Line

Satchwell MicroNet, TAC INET, TAC Vista

Environment

  • XBuilder 5.x.x
  • Xenta Servers
  • Xenta 511, 527, 711, 731

Cause

The graphic object was properly converted, but the graphic page is still using the old template (Graphics.html) which is designed for OGC graphics instead of the new graphics page template (TgmlGraphics.html).

This causes the java to interpret a TGML graphic file as an OGC graphic file.

Resolution

This can be resolved two ways

  1. Manually edit the Template property of the Graphic page objects in XBuilder to be TgmlGraphics.html.
  2. Delete the graphics page in XBuilder and recreate it. When the graphic object is linked to the graphics page it will properly assign the correct template based on the type of graphics file type.
Tags (1)
No ratings