Skip to main content

"Could not create the view: !Could not create controller of type..." launching Java-related functionality, caused by invalid 'CCR_JAVA_Home' variable


Technote (troubleshooting)


Problem(Abstract)

User tries to launch any JAVA-related menu item (for example "Command Center"). User receives error. All users affected.

Symptom

The error will vary depending on what menu item is launched:


Command Center
Could not create the view: !Could not create controller of type com.ibm.cognos.ccr.integration.internal.c4.ui.ControlBoardDialogController for composite class com.ibm.cognos.ccr.integration.internal.c4.ui.ControlBoardDialogUI!

[Details]
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at..................

Maintain - system Audit Log - Browse
Multiple problems have occurred
Something unexpected happened. You may have to restart the application to continue.
Unexpected Error
Unhandled event loop exception

Stacktrace:
org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTException: Widget is disposed)
org.eclipse.swt.SWT.error(SWT.java:4282)
org.eclipse.swt.SWT.error(SWT.java:4197)
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
com.ibm.cognos.ccr.integration.application.internal.IntegrationApplication.start(IntegrationApplication.java:85)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
com.ibm.cognos.ccr.integration.IntegrationServiceAdapter$MyEclipseStarter.run(IntegrationServiceAdapter.java:144)
java.lang.Thread.run(Thread.java:736)
Caused by:
org.eclipse.swt.SWTException: Widget is disposed
org.eclipse.swt.SWT.error(SWT.java:4282)

Cause

There are several possible causes for this error message.

  • TIP: For more examples, see separate IBM Technote #1612000.

Invalid/incorrect System Variable " CCR_JAVA_Home" on the Controller application server.

Resolving the problem

Ensure that the System variable CCR_JAVA_Home is configured correctly. Afterwards, restart the Windows services "IBM Cognos Controller Java Proxy".

Steps:

  1. Logon to the Controller application server as an administrator
  2. Launch Windows Explorer, and right-click on "Computer"
  3. Choose "Properties"
  4. Choose "Advanced System Settings"
  5. Inside the tab "Advanced" click "Environment Variables"
  6. Inside the section "System Variables" check that there is an entry for "CCR_JAVA_Home"
  7. Check that the 'value' is correct (no typos). TIP: By default, this is: C:\Program Files (x86)\IBM\java60\jre
  8. Restart the Windows services "IBM Cognos Controller Java Proxy".

Related information

1612000 - ** Troubleshooting ** "Could not create the v
1415368 - How to install JAVA JRE version 1.6 for use w

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Cognos Controller

Controller


Software version:
10.1, 10.1.1


Operating system(s):
Windows


Reference #:
1615017


Modified date:
2013-02-25

Translate my page

Content navigation