IBM Support

RS03155: JAVA.LANG.CLASSCASTEXCEPTION: JAVA.LANG.STRING INCOMPATIBLE WITH JAVA.LANG.BOOLEAN WHEN LOADING THE DECISION TABLE IN BC.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When loading the decision table in business console, the
    following exception occurs:
    
    [12/27/17 14:22:49:884 CST] 0000009c DtxCommandMan E   An
    unexpected problem occurred while performing command
    'GetColumns'
                                     java.lang.ClassCastException:
    java.lang.String incompatible with java.lang.Boolean
            at
    com.ibm.rules.bdsl.dtx.commands.GetColumns.execute(GetColumns.ja
    va:84)
            at
    com.ibm.rules.bdsl.dtx.commands.GetColumns.execute(GetColumns.ja
    va:27)
            at
    com.ibm.rules.bdsl.dtx.DtxCommandManager.doExecute(DtxCommandMan
    ager.java:110)
            at
    com.ibm.rules.bdsl.dtx.DtxCommandManager.execute(DtxCommandManag
    er.java:164)
            at
    com.ibm.rules.bdsl.dtx.DtxEditorServlet.doExecute(DtxEditorServl
    et.java:234)
            at
    com.ibm.rules.bdsl.dtx.DtxEditorServlet.execCmd(DtxEditorServlet
    .java:212)
            at
    com.ibm.rules.bdsl.dtx.DtxEditorServlet.doPost(DtxEditorServlet.
    java:123)
            at
    com.ibm.rules.bdsl.dtx.DtxEditorServlet.doGet(DtxEditorServlet.j
    ava:51)
            at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:575)
            at
    javax.servlet.http.HttpServlet.service(HttpServlet.java:668)
            at
    com.ibm.ws.cache.servlet.ServletWrapper.serviceProxied(ServletWr
    apper.java:307)
            at
    com.ibm.ws.cache.servlet.CacheHook.handleFragment(CacheHook.java
    :562)
            at
    com.ibm.ws.cache.servlet.CacheHook.handleServlet(CacheHook.java:
    255)
            at
    com.ibm.ws.cache.servlet.ServletWrapper.service(ServletWrapper.j
    ava:259)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWr
    apper.java:1232)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:781)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(Ser
    vletWrapper.java:480)
            at
    com.ibm.ws.webcontainer.servlet.ServletWrapperImpl.handleRequest
    (ServletWrapperImpl.java:178)
            at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.invokeTarget(We
    bAppFilterChain.java:136)
            at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:97)
            at
    com.ibm.rules.decisioncenter.web.core.filters.SecurityCheckPoint
    Filter.doFilter(SecurityCheckPointFilter.java:95)
            at
    com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(Fi
    lterInstanceWrapper.java:195)
            at
    com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebApp
    FilterChain.java:91)
            at
    com.ibm.rules.decisioncenter.web.core.filters.RemoteSessionFilte
    r.doFilterInternal(RemoteSessionFilter.java:79)
    

Local fix

  • The workaround is go to the Rule Designer, and add
    Type="xs:boolean" to the Check.Gap and Check.Overlap properties
    in the dta files. Then synhronize the changes back to decision
    center.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users in the Decision Center                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * In old decision tables the check gap and overlap properties  *
    * can be stored as String (instead of Booleans) in the dta.    *
    * The dtx loader fails to load such tables, whereas Rule       *
    * Designer can.                                                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • The code was fixed.
    

Temporary fix

  • Fix the DTA content or open the table in Rule Designer, edit the
    properties and save the table
    

Comments

APAR Information

  • APAR number

    RS03155

  • Reported component name

    WS DECISION CTR

  • Reported component ID

    5725B6900

  • Reported release

    881

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-09-17

  • Closed date

    2018-09-20

  • Last modified date

    2018-09-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    WS DECISION CTR

  • Fixed component ID

    5725B6900

Applicable component levels

  • R881 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"881","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
01 September 2021