Exception reported when clicking the rulebase in the Admin GUI Hawk console.

Exception reported when clicking the rulebase in the Admin GUI Hawk console.

book

Article ID: KB0088830

calendar_today

Updated On: 01-14-2017

Products Versions
TIBCO Hawk -
Not Applicable -

Description

Description:
In  TIBCO Administrator (Hawk Console link), when clicking on the link of a rulebase, the following error is reported. "javax.xml.transform.TransformerException: java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence".

Symptoms:

Created a Hawk Rulebase through Hawk Display, applied changes, checked the rulebase at TIBCO Administrator (Hawk Console link). When clicking on the link, the following error is reported.



javax.xml.transform.TransformerException: java.io.UTFDataFormatException: Invalid byte 2 of 3-byte UTF-8 sequence.
    at org.apache.xalan.transformer.TransformerImpl.fatalError(TransformerImpl.java:741)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:715)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1129)
    at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:1107)
    at com.tibco.hawk.console.HawkDomainDetailPaneAgentRulebaseTab.transform(HawkDomainDetailPaneAgentRulebaseTab.java:302)
    at com.tibco.hawk.console.HawkDomainDetailPaneAgentRulebaseTab.onClickRulebase(HawkDomainDetailPaneAgentRulebaseTab.java:282)
    at com.tibco.hawk.console.HawkDomainDetailPaneAgentRulebaseTab.access$300(HawkDomainDetailPaneAgentRulebaseTab.java:46)
    at com.tibco.hawk.console.HawkDomainDetailPaneAgentRulebaseTab$2.actionPerformed(HawkDomainDetailPaneAgentRulebaseTab.java:89)
    at com.tibco.wfc.AbstractComponent.notifyListeners(AbstractComponent.java:143)
    at com.tibco.wfc.AbstractComponent.fireActionPerformed(AbstractComponent.java:133)
    at com.tibco.wfc.AbstractComponent.processCommand(AbstractComponent.java:157)
    at com.tibco.wfc.AbstractFrame.processCommand(AbstractFrame.java:115)
    at com.tibco.wfc.FrameManager.a(FrameManager.java:254)
    at com.tibco.wfc.FrameManager.service(FrameManager.java:142)
    at com.tibco.administrator.AdministratorServlet.service(AdministratorServlet.java:949)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:420)
    at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:134)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:544)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
    at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
    at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
    at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
    at java.lang.Thread.run(Thread.java:595)
Cause:
The problem is that there are special letters in the rulebase file. There is a coding problem when Administrator displays it. Open your rulebase file with an editor and you will see that. 

Issue/Introduction

Exception reported when clicking the rulebase in the Admin GUI Hawk console.

Resolution

Modify the lines which contain the special letters.