Skip to Content

Work Manager 6.1: java.lang.reflect.InvocationTargetException

Hi all,

Please, I need your help with this issue. I installed Work Manager 6.1 over SMP 3.0.3.

I added a field to complex table ctCatalogGroup. The field was already contemplated on the backend so I only had to add it in Agentry. It worked fine for a while but suddenly it started giving me this error during transmit every time since then:

My Java class looks like this:

And I added the field in Agentry accordingly:

Config Panel parameters for this are:

The first thing I noticed is this error in the SMP log:

2015/04/23 08:29:12.540: + WorkFunction=00000001496AF658

2015/04/23 08:29:12.540: + User=invpos_out30

2015/04/23 08:29:12.540: + Server=Agentry

2015/04/23 08:29:12.540: + Complex Table=ctcatalogprofile

2015/04/23 08:29:12.540: Update BHT 'ctcatalogprofile' for 'User': Client last data update 12:00:01 a.m. 01/01/1900

2015/04/23 08:29:12.540: Update BHT 'ctcatalogprofile' for 'User': Getting back end connections

2015/04/23 08:29:12.540: client last data update=12:00:01 a.m. 01/01/1900

2015/04/23 08:29:12.540: Backend step is configured as a Java Class; using Java class com.syclo.sap.ComplexTable

2015/04/23 08:29:12.540: Using Java Class com.syclo.sap.ComplexTable for ComplexTable

2015/04/23 08:29:12.555: + BackEnd=Java-SAPJavaConnection

2015/04/23 08:29:12.555: Exception while starting complex table update for table 'ctcatalogprofile': JavaBackEndError: JAVA EXCEPTION CAUGHT: java.lang.reflect.InvocationTargetException in AgentryComplexTableFactory::createComplexTable at AgentryComplexTableFactory.cpp:129

As well as this other one in the events.log:

04/23/2015 08:23:32, 0, 20, 16, Thr 9240, Threads in thread pool 'Runtime' expanded to 2. Adding thread 3580

04/23/2015 08:25:13, 1, 29, 1, Thr 3580, java/net/SocketException, java.net.SocketException: Connection reset by peer: socket write errorAngelJavaStreamsConnection.cpp#189:AngelJavaStreamsConnection::handleException

04/23/2015 08:25:13, 1, 4,3221225477, Thr 3580, EXCEPTION_ACCESS_VIOLATION, 000000018000DE02, 0, R, 0000000000000000, ..\agentry\threadManager.cpp#354:ThreadManager::WorkerThread::function

04/23/2015 08:25:27, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: 97E1F7AF-4E38-4ECB-8D3C-2E2D4AFEA2AE

04/23/2015 08:25:56, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: 15FAC37B-A017-46AB-B528-B2B4610423CC

04/23/2015 08:26:27, 0, 0, 6, Thr 7572, invpos_out30: relogin failed at ANGEL: B4A91958-A9A4-46F8-B323-20C61E7E76E8; attempt from ANGEL: BFDB1CBE-12D9-4A66-8EBA-A855B2B90D23

04/23/2015 08:29:12, 1, 20, 18, Thr 3580, JAVA EXCEPTION CAUGHT: java.lang.reflect.InvocationTargetException

I would like to know if anyone faced something like this before or any suggestions on how to dig deeper for a solution. What confuses me is that it worked ok at first and now I can no longer start the client. That is as far as I can get.

Best regards!

Leonardo.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Apr 23, 2015 at 03:11 PM

    check this thread.

    http://scn.sap.com/thread/3649701

    Manju

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 24, 2015 at 05:51 AM

    Hi,

    Can you modify the step

    public void setProperties(Table tbl) throws Exception {

    super.setProperties(tbl);

    setShortText(tbl.getString("KURZTEXT")).trim());

    }

    to

    public void setProperties(Table tbl) throws Exception {

    super.setProperties(tbl);

    setShortText(tbl.getString("KURZTEXT"));

    }

    Thanks & Regards,

    Sravanthi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Please try the following

      1) Verify the Class Path in SMP Cockpit Application Backend Definitions. Please make sure that your Jar file is included in class path and also it is before the Product Jar file in the path.

      2) If you changed the Java Class path, please make sure you either restart Agentry instance or SMP Server.

      thanks,

      Chandra

  • Posted on Apr 24, 2015 at 03:53 PM

    Hi Leonardo,

    Can you please make sure, you have restarted the SMP server.

    Whenever we do the changes in the Java the code or in the parameter mapping in the config panel, we should restart the SMP server to make effect of the changes.

    Thanks,

    Sudhir.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 12, 2015 at 09:51 AM

    Hi,

    There seems to be an issue with complex table index rebuilding.Please verify custom indexes in editor, table_check,table_refresh,enable_table,mobile data object settings in configpanel.

    Thanks & Regards,

    Sravanthi Polu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.