Error in method invocation: Method importDimensionValueIdMappings

  1. Home
  2. Blog
  3. Error in method invocation: Method importDimensionValueIdMappings

Error in method invocation: Method importDimensionValueIdMappings

Endeca application initialization failed for CAS deployed application.

Problem
[07.10.16 20:49:12] INFO: [ITLHost] Starting shell utility 'mkpath_-'.
[07.10.16 20:49:13] INFO: Setting definition for script 'BaselineUpdate'.
[07.10.16 20:49:13] INFO: Setting definition for script 'PartialUpdate'.
[07.10.16 20:49:13] INFO: Setting definition for component 'Dgidx'.
[07.10.16 20:49:13] INFO: Definition updated.
[07.10.16 20:49:13] INFO: Provisioning site from prototype...
[07.10.16 20:49:14] INFO: Finished provisioning site from prototype.
[07.10.16 20:49:14] SEVERE: Caught an exception while invoking method 'run' on object 'InitialSetup'. Releasing locks.

Caused by java.lang.reflect.InvocationTargetException
sun.reflect.NativeMethodAccessorImpl invoke0 - null
Caused by com.endeca.soleng.eac.toolkit.exception.AppControlException
com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Unknown error executing a BeanShell script.
Caused by bsh.EvalError
bsh.BSHMethodInvocation eval - Sourced file: inline evaluation of: ``             IFCR.provisionSite();     CAS.importDimensionValueIdMappings("Disco . . . '' : Error in method invocation: Method importDimensionValueIdMappings( java.lang.String, java.lang.String ) not found in class'com.endeca.soleng.eac.toolkit.component.CustomComponent'

Failure to initialize EAC application.
Fix

Solution to this is simple, add casStubs.jar from CAS_ROOT\lib\cas-dt\ to classpath in runcommand script. Below example from runcomman.bat file.
set CLASSPATH=%CLASSPATH%;C:\Endeca\CAS\11.1.0\lib\cas-dt\casStubs.jar

 

 

Let's Share
Show Buttons
Hide Buttons