Error : liquibase.servicelocator.ServiceLocator.findClasses(java.lang.Class) of a null object returned from liquibase.servicelocator.ServiceLocator.getInstance()

Error : "liquibase.servicelocator.ServiceLocator.findClasses(java.lang.Class) of a null object returned from liquibase.servicelocator.ServiceLocator.getInstance()"

Symptom 

When launching a 360Eyes CMS job, the following error is received:
Error during the job launch: java.lang.RuntimeException: java.lang.NullPointerException: while trying to invoke the method liquibase.servicelocator.ServiceLocator.findClasses(java.lang.Class) of a null object returned from liquibase.servicelocator.ServiceLocator.getInstance()

Environment

  • 360Eyes 2020.3 and later versions
  • SAP BusinessObjects Business Intelligence 4.2 SP3

Cause

360eyes is using internally a tool, Liquibase, to manage the database schema. This tool is having issue combined with some SAP Business Objects versions, because of a damaged jar file in the Business Objects SDK.

Resolution

Instead of directly using the BOBJ SDK path, use a a copy of the BOBJ SDK path:
  1. Locate the BOBJ SDK path (C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java\lib\ by default)
  2. Copy the content of the folder to a folder under your 360eyes folder, like C:\360eyes\bobj_sdk\
  3. Modify the 360eyes_GUI_BI4.bat:
  1. java -Xmx1024m -cp "C:\360eyes\bobj_sdk\*;360eyes.jar" com.gbs.eyes.LauncherGui
If you run jobs via CMC, modify the classpath of each job to C:\360eyes\bobj_sdk\*

Keywords

liquibase, servicelocator, classpath

Product

Product or Product version

  • 360Eyes

Languages

  • English 

    • Related Articles

    • Error : "java.lang.OutOfMemoryError: GC overhead limit exceeded"

      Symptom When running 360Eyes jobs, the following error may be encountered: "java.lang.OutOfMemoryError: GC overhead limit exceeded"  2014-11-14 15:05:00 +0100 INFO Creating hash for CUID-ShortName/path universe link: done 2014-11-14 13:52:18 -0500 ...
    • Error : "java.sql.SQLException: I/O Error: SSO Failed: Native SSPI library not loaded"

      Symptom When running a 360eyes job (from the CMC or the GUI), the following error is received: "The program failed to run and supplied the following information: com.gbs.a.h: Error during Database update/migration: com.gbs.a.h: Error during ...
    • Error : "Can't instanciate Webi Factory"

      Symptom When running WEBI jobs, the following error may be encountered: 2014-11-14 15:05:00 +0100 INFO Creating hash for CUID-ShortName/path universe link: done 2014-11-14 15:05:00 +0100 INFO Getting url 2014-11-14 15:05:00 +0100 INFO Found url ...
    • Configure 360Eyes to run on SAP Business Objects 4.3SP2

      Symptom You run 360Eyes using the 360Eyes GUI or Command-Line against an SAP Business Objects Environment 4.3SP2. or  java -Xmx1024m -cp "../libs/;*%SDK_LIB_FOLDER%/*" com.gbs.eyes.Launcher <job> <cms> <BO_user> <BO_user_passwd> <auth> <360Eyes_dir> ...
    • List of 360Eyes universes incompatibilities

      Symptom Are there limitations or incompatibilities in the 360Eyes universes? Environment 360Eyes SAP BusinessObjects Enterprise XI 3.1 SAP BusinessObjects Business Intelligence 4.0 SAP BusinessObjects Business Intelligence 4.1 SAP BusinessObjects ...