IBM Support

istool workbench query Command Fails With ClassNotFoundException

Troubleshooting


Problem

istool workbench query command fails with ClassNotFoundException for MwbExtensions.MwbExtensionsPackage class after upgrading Information Server to 11.7.1 SP2.
This error is also observed in Information Server 11.5.0.2 with JR61183 fix applied.

Symptom

istool log shows below stacktrace

java.lang.ExceptionInInitializerError
    at java.lang.J9VMInternals.ensureError(J9VMInternals.java:146)
    at java.lang.J9VMInternals.recordInitializationFailure(J9VMInternals.java:135)
    at com.ibm.iis.flowgraph.util.FrUtil.registerObjectFactory(FrUtil.java:55)
.
.
.
Caused by: com.unicorn.mdrepository.util.MDRUnexpectedCoreException: Error reading metamodel for level=2
    at com.unicorn.ontology.project.ProjectModelImpl.deserializeOntology(ProjectModelImpl.java:526)
    at com.unicorn.ontology.project.ProjectModelImpl$4.execute(ProjectModelImpl.java:315)
.
.
.
Caused by: java.lang.NoClassDefFoundError: MwbExtensions.MwbExtensionsPackage
    at com.ibm.iis.xmeta.datamgmt.ca.impl.CustomAttributeServiceImpl.<clinit>(CustomAttributeServiceImpl.java:120)
    at com.ibm.iis.xmeta.datamgmt.ca.CustomAttributeServiceFactory.createService(CustomAttributeServiceFactory.java:55)
    at com.ibm.wb.customattributes.impl.CommonCustomAttributeServiceImpl.getCAService(CommonCustomAttributeServiceImpl.java:77)
.
.
.
Caused by: java.lang.ClassNotFoundException: MwbExtensions.MwbExtensionsPackage
    at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
    at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
    at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:852)
 

Document Location

Worldwide

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSZJPZ","label":"IBM InfoSphere Information Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"11.7.1 SP2;11.5.0.2","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:
25 April 2025

UID

ibm11125795