Gen EDGE

 View Only
Expand all | Collapse all

8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

  • 1.  8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Posted Jun 30, 2016 12:48 PM

    It seems like this might be a view matching problem between the java proxy interface and the server. A new text view had been added.

    It also seems like it may be a data type problem (the proxy is expecting a particular data type but the server is sending back something different; again, could be mismatched views).

    This particular message references type (P)

    In the past I have also seen type (O), type (Z), and others. What is the significance of these types?



  • 2.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Posted Jun 30, 2016 12:50 PM

    Forgot to ask, is this documented in the manuals somewhere? I searched both the CA support site and Google and could not get a match on this error coming from the java proxy.



  • 3.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Broadcom Employee
    Posted Jun 30, 2016 05:19 PM

    Doug,

     

    I will do some research to see if I can find the meaning of the (P) (O) (Z), ...  I will update this post with my findings.

     

    Your insight into the problem is correct.  I did a search in our problem database and see the error was resolved by "syncing" the client and the server, regenerating and installing both from the same version of the load module.

     

    Regards,

    Andy Hebert



  • 4.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Broadcom Employee
    Posted Jul 05, 2016 10:16 AM

    Doug,

     

    P is for Packed – the actual description is: 15-digit signed fixed-decimal number

    O is Single character

    Z is a Numeric with a value of zero.

     

    Regards,

    Andy Hebert

     



  • 5.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Posted Jul 05, 2016 10:28 AM

    Andy, thanks for following up.

    Are these codes documented somewhere that the user community can access?

    If not, are there other codes in addition to the ones listed here?



  • 6.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Broadcom Employee
    Posted Jul 06, 2016 09:34 AM

    Doug,

     

      The Gen runtime will manage, compress and reconstitute the CFB data to and from Views as well as the algorithm, but this type of internal information is not documented.

      There does not appear to be any more codes other than the ones listed in this thread.

     

    Regards,

    Andy Hebert



  • 7.  RE: Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Posted Jan 20, 2021 09:25 AM
    [Function: CFBDynamicMessage:uncompressInt]Unexpected type found (W)/  - what does W means?

    Got kode W - are using CAGen86
    The server is running, seems like this might be a view matching problem with the return from the server 


  • 8.  RE: Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Broadcom Employee
    Posted Jan 20, 2021 04:59 PM
    Hi Steinar,
    I searched our problem database and it seems 'W' means TYPE_FIXED format. 
    The problem could refer to a numeric attribute whose length is over 15 digits which for a distributed processing client (C, C# or Java) requires the decimal precision flag to be set for the Common Format Buffer code to be able to handle it i.e. the attribute property "Implement in C, C# and JAVA with decimal precision". More details here near the bottom of the page:
    Hope that helps. If it does not help I would suggest you log a support case so we can research in more detail.
     
    Regards,
     
    Lynn


    ------------------------------
    Lynn Williams
    Senior Principal Support Engineer
    Broadcom
    Australia
    ------------------------------



  • 9.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]

    Posted Jul 25, 2017 11:22 AM

    We are testing a new Java proxy and are getting this error. Note that the type is no one of the ones listed before - this time type (S).

     

    Exception on PsSInqVehicleKeptInHistorycom.ca.gen85.jprt.ProxyException:  [Function: doPsSInqVehicleKeptInHistoryOperation]com.ca.gen85.csu.exception.CSUException: com.ca.gen85.csu.exception.CSUException:  [Function: CFBDynamicMessage:uncompressShort]Unexpected type found (S)



  • 10.  Re: 8.5 Java proxy fails with CSUException [Function: CFBDynamicMessage:uncompressChar]Unexpected type found (P)]
    Best Answer

    Posted Jul 26, 2017 04:16 PM

    We actually found a problem in the data. And we were able to use the CMIDEBUG trace in the java code to see that the problem was occurring in the parsing of the Views (shown):

     

    07/26/17-08:55:55:599[main]: CFBDynamicMessage:parseViewArea(): entered
    07/26/17-08:55:55:630[main]: CSUException(): CSUException created:
    07/26/17-08:55:55:630[main]: com.ca.gen85.csu.exception.CSUException: [Function: CFBDynamicMessage:uncompressShort]Unexpected type found (S)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.uncompressShort(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.uncompressViewBytes(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.uncompressBytes(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.parseViewArea(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.setMessage(Unknown Source)
    at com.ca.gen85.odc.coopflow.tcpip.TCPIPDynamicCoopFlow.doFlow(Unknown Source)
    at com.ca.gen85.odc.coopflow.tcpip.TCPIPDynamicCoopFlow.doCoopFlow(Unknown Source)
    at com.ca.gen85.odc.coopflow.CoopFlow.coopFlow(Unknown Source)
    at E3ff.Abean.PsSInqVehicleKeptInHistoryOperation.doPsSInqVehicleKeptInHistoryOperation(Unknown Source)
    at E3ff.Abean.PsSInqVehicleKeptInHistory.execute(Unknown Source)
    at dot.prdtmgt.ecdl.intg.cust.ProxyTest.testGetVehicleKeptInHistoryList(ProxyTest.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at dot.prdtmgt.ecdl.BaseTest.runTest(BaseTest.java:98)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    07/26/17-08:55:55:630[main]: doPsSInqVehicleKeptInHistoryOperation(): Received CSUException:
    07/26/17-08:55:55:630[main]: com.ca.gen85.csu.exception.CSUException: [Function: CFBDynamicMessage:uncompressShort]Unexpected type found (S)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.uncompressShort(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.uncompressViewBytes(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.uncompressBytes(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.parseViewArea(Unknown Source)
    at com.ca.gen85.odc.msgobj.cfb.CFBDynamicMessage.setMessage(Unknown Source)
    at com.ca.gen85.odc.coopflow.tcpip.TCPIPDynamicCoopFlow.doFlow(Unknown Source)
    at com.ca.gen85.odc.coopflow.tcpip.TCPIPDynamicCoopFlow.doCoopFlow(Unknown Source)
    at com.ca.gen85.odc.coopflow.CoopFlow.coopFlow(Unknown Source)
    at E3ff.Abean.PsSInqVehicleKeptInHistoryOperation.doPsSInqVehicleKeptInHistoryOperation(Unknown Source)
    at E3ff.Abean.PsSInqVehicleKeptInHistory.execute(Unknown Source)
    at dot.prdtmgt.ecdl.intg.cust.ProxyTest.testGetVehicleKeptInHistoryList(ProxyTest.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at dot.prdtmgt.ecdl.BaseTest.runTest(BaseTest.java:98)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    07/26/17-08:55:55:630[main]: CSUException(): CSUException created:
    07/26/17-08:55:55:630[main]: com.ca.gen85.jprt.ProxyException: [Function: doPsSInqVehicleKeptInHistoryOperation]com.ca.gen85.csu.exception.CSUException: com.ca.gen85.csu.exception.CSUException: [Function: CFBDynamicMessage:uncompressShort]Unexpected type found (S)
    at E3ff.Abean.PsSInqVehicleKeptInHistoryOperation.doPsSInqVehicleKeptInHistoryOperation(Unknown Source)
    at E3ff.Abean.PsSInqVehicleKeptInHistory.execute(Unknown Source)
    at dot.prdtmgt.ecdl.intg.cust.ProxyTest.testGetVehicleKeptInHistoryList(ProxyTest.java:90)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at java.lang.reflect.Method.invoke(Method.java:611)
    at junit.framework.TestCase.runTest(TestCase.java:164)
    at dot.prdtmgt.ecdl.BaseTest.runTest(BaseTest.java:98)
    at junit.framework.TestCase.runBare(TestCase.java:130)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:120)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)

    07/26/17-08:55:55:630[main]: PsSInqVehicleKeptInHistory(): notifying listeners of exception of operation PsSInqVehicleKeptInHistory ()

    07/26/17-08:55:55:646[main]: PsSInqVehicleKeptInHistory(): Listener heard that PsSInqVehicleKeptInHistoryOperation completed with Exception.PsSInqVehicleKeptInHistorycom.ca.gen85.jprt.ProxyException: [Function: doPsSInqVehicleKeptInHistoryOperation]com.ca.gen85.csu.exception.CSUException: com.ca.gen85.csu.exception.CSUException: [Function: CFBDynamicMessage:uncompressShort]Unexpected type found (S)