IBM Support

"UnsatisfiedLinkError: org/eclipse/swt/internal/C.PTR_sizeof()" and "Internal Error ... java.lang.NullPointerException: Can not set current context to null" errors when clicking JAVA menus (example 'Intercompany Report'), caused by Appsense

Troubleshooting


Problem

User clicks 'Company - Reports - Intercompany Report'. An error appears.
 - A similar error appears if the user clicks 'Group- Reports - Intercompany Report'.
Errors also occur using other Java based functionality.

Symptom

Group - Reports - Intercompany Report:
image-20190301072245-1
UnsatisfiedLinkError: org/eclipse/swt/internal/C.PTR_sizeof()
    
'Maintain - Jobs - Define':
image-20190301072458-3
Internal Error
com.ibm.cognos.ccr.integration.FatalIntegrationException: Failed to invoke method loadDataForView
    at com.ibm.cognos.ccr.integration.IntegrationServiceAdapter.internalInvoke(IntegrationServiceAdapter.java:265)
    at com.ibm.cognos.ccr.integration.IntegrationServiceAdapter.invoke(IntegrationServiceAdapter.java:243)
    at com.ibm.cognos.ccr.integration.ServiceCommand.loadData(ServiceCommand.java:196)
    at com.ibm.cognos.ccr.integration.ServiceCommand.doExecute(ServiceCommand.java:185)
    at com.ibm.cognos.ccr.integration.ServiceCommand$MyRunnable.run(ServiceCommand.java:47)
    at java.lang.Thread.run(Thread.java:811)
Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:90)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
    at java.lang.reflect.Method.invoke(Method.java:508)
    at com.ibm.cognos.ccr.integration.IntegrationServiceAdapter.internalInvoke(IntegrationServiceAdapter.java:262)
    ... 5 more
Caused by: java.lang.NullPointerException: Can not set current context to null
    at com.ibm.cognos.ccr.common.DefaultModelContext.setCurrentThreadContext(Unknown Source)
    at com.ibm.cognos.ccr.common.DefaultModelContext.setCurrentThreadContext(Unknown Source)
    at com.ibm.cognos.ccr.integration.application.internal.IntegrationServiceImpl.initializeModelContext(Unknown Source)
    at com.ibm.cognos.ccr.integration.application.internal.IntegrationServiceImpl.loadDataForView(Unknown Source)
    ... 10 more
Define Business Rules:
image-20190301072630-4

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Component":"","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.3.1","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}},{"Product":{"code":"SSMRTZ","label":"IBM Cognos Controller on Cloud"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":" ","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
09 May 2025

UID

ibm10874514