IBM Support

"Could not create ... java.lang.OutOfMemoryError ... Java heap space" using 'Company - Command Center', but all other JAVA functions work OK

Troubleshooting


Problem

User clicks 'Company - Command Center'. There is a pause while the 'Loading Data' screen loads. After a few seconds, an error appears.

Symptom

Initial screen:


Command Center error:

Could not create the view: Model not found: userrights[UserRightsModel]

com.ibm.cognos.ccr.common.InvalidContextException: Model not found: userrights[UserRightsModel]
at com.ibm.cognos.ccr.core.ui.databinding.ModelContainer.bindModel(ModelContainer.java:99)
at com.ibm.cognos.ccr.core.ui.databinding.ModelContainer.<init>(ModelContainer.java:71)
at com.ibm.cognos.ccr.core.ui.view.AbstractViewPart.bindModels(AbstractViewPart.java:513)
at com.ibm.cognos.ccr.integration.internal.c4.ui.ControlBoardDialogView.createPartControl(ControlBoardDialogView.java:75)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:386)
<....>
at com.ibm.cognos.ccr.core.ui.util.WorkbenchUtil.openPerspective(WorkbenchUtil.java:725)
at com.ibm.cognos.ccr.integration.application.internal.IntegrationServiceImpl$MyPerspectiveOpener.openNewPerspective(IntegrationServiceImpl.java:158)
at com.ibm.cognos.ccr.integration.application.internal.IntegrationServiceImpl$MyPerspectiveOpener.run(IntegrationServiceImpl.java:128)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
<....>
at com.ibm.cognos.ccr.integration.IntegrationServiceAdapter$MyEclipseStarter.run(IntegrationServiceAdapter.java:168)
at java.lang.Thread.run(Thread.java:798)

ccr.log:
<.............>
09:32:51,632 INFO [cognos.ccr.integration.ServerIntegrationFacade] Executing inUserModelDAO.getLatestSequenceNumber...
09:32:51,633 INFO [cognos.ccr.integration.ServerIntegrationFacade] Model context setup for user FGC3: 1 ms
09:32:51,633 INFO [cognos.ccr.integration.ServerIntegrationFacade] Prepared context with shared models: 0 ms
09:32:51,655 INFO [cognos.ccr.integration.ServerIntegrationFacade] Operation execution time: 21 ms
09:32:51,656 INFO [cognos.ccr.integration.ServerIntegrationFacade] Finished inUserModelDAO.getLatestSequenceNumber (108 bytes): 23 ms, memory usage [kb]: max=524 288 | total=19 328 | free=4 201 | total free=509 161
09:32:51,694 INFO [cognos.ccr.integration.ServerIntegrationFacade] Executing inUserModelDAO.load...
09:32:51,696 INFO [cognos.ccr.integration.ServerIntegrationFacade] Model context setup for user FGC3: 0 ms
09:32:51,696 INFO [cognos.ccr.integration.ServerIntegrationFacade] Prepared context with shared models: 1 ms
09:32:51,990 INFO [cognos.ccr.integration.ServerIntegrationFacade] Operation execution time: 294 ms
09:32:51,994 INFO [cognos.ccr.integration.ServerIntegrationFacade] Finished inUserModelDAO.load (23 052 bytes): 299 ms, memory usage [kb]: max=524 288 | total=19 328 | free=4 607 | total free=509 567
09:32:52,049 INFO [cognos.ccr.integration.ServerIntegrationFacade] Executing inUserRightsModelDAO.getLatestSequenceNumber...
09:32:52,050 INFO [cognos.ccr.integration.ServerIntegrationFacade] Model context setup for user FGC3: 1 ms
09:32:52,050 INFO [cognos.ccr.integration.ServerIntegrationFacade] Prepared context with shared models: 0 ms
09:32:52,070 INFO [cognos.ccr.integration.ServerIntegrationFacade] Operation execution time: 20 ms
09:32:52,071 INFO [cognos.ccr.integration.ServerIntegrationFacade] Finished inUserRightsModelDAO.getLatestSequenceNumber (108 bytes): 21 ms, memory usage [kb]: max=524 288 | total=19 328 | free=4 231 | total free=509 191
09:32:52,088 INFO [cognos.ccr.integration.ServerIntegrationFacade] Executing inUserRightsModelDAO.load...
09:32:52,089 INFO [cognos.ccr.integration.ServerIntegrationFacade] Model context setup for user FGC3: 1 ms
09:32:57,310 INFO [cognos.ccr.integration.ServerIntegrationFacade] Prepared context with shared models: 5 221 ms
09:33:26,550 ERROR [cognos.ccr.integration.ServerIntegrationFacade] Failed when invoking method,
java.lang.OutOfMemoryError
:
Java heap space
at
org.apache.commons.codec.binary.BaseNCodec
.
resizeBuffer
(
BaseNCodec.java
:
2
3
2
)
at
org.apache.commons.codec.binary.BaseNCodec
.
ensureBufferSize
(

<..........>

1
1
3
)
09:33:26,573 INFO [cognos.ccr.integration.ServerIntegrationFacade] Finished inUserRightsModelDAO.load (22 bytes): 34 485 ms, memory usage [kb]: max=524 288 | total=524 288 | free=91 079 | total free=91 079
09:33:26,850 INFO [cognos.ccr.integration.ServerIntegrationFacade] Executing inRoleModelDAO.getLatestSequenceNumber...
09:33:26,851 INFO [cognos.ccr.integration.ServerIntegrationFacade] Model context setup for user FGC3: 1 ms
09:33:26,851 INFO [cognos.ccr.integration.ServerIntegrationFacade] Prepared context with shared models: 0 ms
09:33:26,857 INFO [cognos.ccr.integration.ServerIntegrationFacade] Operation execution time: 6 ms
09:33:26,859 INFO [cognos.ccr.integration.ServerIntegrationFacade] Finished inRoleModelDAO.getLatestSequenceNumber (108 bytes): 8 ms, memory usage [kb]: max=524 288 | total=524 288 | free=90 888 | total free=90 888
09:33:26,870 INFO [cognos.ccr.integration.ServerIntegrationFacade] Executing inCompanyModelDAO.getLatestSequenceNumber...
09:33:26,871 INFO [cognos.ccr.integration.ServerIntegrationFacade] Model context setup for user FGC3: 1 ms
09:33:26,871 INFO [cognos.ccr.integration.ServerIntegrationFacade] Prepared context with shared models: 0 ms
<.....>

[{"Product":{"code":"SS9S6B","label":"IBM Cognos Controller"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Controller","Platform":[{"code":"PF033","label":"Windows"}],"Version":"10.2.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:
08 May 2025

UID

swg22001051