• Could not load class com.ibm.xsp.extlib.mobile.themes.MobileStyleKitFactory

    By Thomas Feucht 1 decade ago
    OpenNTF Extension library 9.0.0.v00_02_20130515-2200 installed on our Testserver via UpdateSite.nsf as OSGi-plugin.
    Installed Xpages Multi Database Search Custom Control demo database on server, signed design elements and tried to do a search.
    I get an error - trace (see below). Can anybody give me a hint where to look at? Would be great!
    
    
    CLFAD0271W: Could not create an instance of com.ibm.xsp.extlib.mobile.themes.MobileStyleKitFactory, contributed to the extension point com.ibm.commons.Extension with type com.ibm.xsp.stylekit.StyleKitFactory.
    org.eclipse.core.runtime.CoreException: Das Plug-in com.ibm.xsp.extlib.mobile konnte die Klasse com.ibm.xsp.extlib.mobile.themes.MobileStyleKitFactory nicht laden.
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(Unknown Source)
        at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Unknown Source)
        at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(Unknown Source)
        at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Unknown Source)
        at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(Unknown Source)
        at com.ibm.commons.extension.ExtensionManager$EclipseProvider.findInitializer(Unknown Source)
        at com.ibm.commons.extension.ExtensionManager.loadServices(Unknown Source)
        at com.ibm.commons.extension.ExtensionManager.findApplicationServices(Unknown Source)
        at com.ibm.designer.runtime.Application.findServices(Unknown Source)
        at com.ibm.xsp.application.DesignerApplicationEx.findServices(Unknown Source)
        at com.ibm.xsp.application.ApplicationExImpl$1.run(Unknown Source)
        at com.ibm.xsp.application.ApplicationExImpl$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Unknown Source)
        at com.ibm.xsp.application.ApplicationExImpl._loadTheme(Unknown Source)
        at com.ibm.xsp.application.ApplicationExImpl.getStyleKit(Unknown Source)
        at com.ibm.xsp.context.FacesContextExImpl.getStyleKit(Unknown Source)
        at com.ibm.xsp.context.FacesContextExImpl.getProperty(Unknown Source)
        at com.ibm.xsp.component.UIViewRootEx.(Unknown Source)
        at com.ibm.xsp.component.UIViewRootEx2.(Unknown Source)
        at xsp.Home2$Home2Page.createView(Unknown Source)
        at xsp.Home2$Home2Page.createComponent(Unknown Source)
        at com.ibm.xsp.page.compiled.AbstractCompiledPage.buildComponent(Unknown Source)
        at com.ibm.xsp.page.compiled.AbstractCompiledPage.createTree(Unknown Source)
        at com.ibm.xsp.page.compiled.AbstractCompiledPage.createViewRoot(Unknown Source)
        at com.ibm.xsp.application.ViewHandlerExImpl._createViewRoot(Unknown Source)
        at com.ibm.xsp.application.ViewHandlerExImpl.createViewRoot(Unknown Source)
        at com.ibm.xsp.application.ViewHandlerExImpl.doCreateView(Unknown Source)
        at com.ibm.xsp.application.ViewHandlerEx.createView(Unknown Source)
        at com.ibm.xsp.webapp.FacesServlet.serviceView(Unknown Source)
        at com.ibm.xsp.webapp.FacesServletEx.serviceView(Unknown Source)
        at com.ibm.xsp.webapp.FacesServlet.service(Unknown Source)
        at com.ibm.xsp.webapp.FacesServletEx.service(Unknown Source)
        at com.ibm.xsp.webapp.DesignerFacesServlet.service(Unknown Source)
        at com.ibm.designer.runtime.domino.adapter.ComponentModule.invokeServlet(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFComponentModule.invokeServlet(Unknown Source)
        at com.ibm.designer.runtime.domino.adapter.ComponentModule$AdapterInvoker.invokeServlet(Unknown Source)
        at com.ibm.designer.runtime.domino.adapter.ComponentModule$ServletInvoker.doService(Unknown Source)
        at com.ibm.designer.runtime.domino.adapter.ComponentModule.doService(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFComponentModule.doService(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFService.doServiceInternal(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFService.access$0(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceRequest.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
        at com.ibm.domino.xsp.module.nsf.NSFService$NsfServiceThread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: com.ibm.xsp.stylekit.StyleKitListFactory
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(Unknown Source)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Unknown Source)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Unknown Source)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(Unknown Source)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_LockClassLoader(Unknown Source)
        at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Unknown Source)
        ... 48 more
    Caused by: java.lang.ClassNotFoundException: com.ibm.xsp.stylekit.StyleKitListFactory
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
        at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(Unknown Source)
        at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 66 more
    

    • Sorry,forgot to mention the version I have downloaded: Xpages Multi Database Search Custom Control - v2.1

      By Thomas Feucht 1 decade ago
    • Not tested on Domino 9

      By F. Kranenburg 1 decade ago

      Domino 9 comes with a newer extension library and newer Dojo 1.8 and I haven't tested this control with it. Can you confirm it does not work on Domino 9?

      • Still on 8.53

        By Thomas Feucht 1 decade ago

        Hi Ferry,

        thanks for the info. Cannot confirm the error for Notes 9. We are still using 8.53. First I tried to do a search in the browser but failed (see attachment). Then I openend the Xpages Multi Database Search v2.0 home.xsp in NotesClient and did a search.
        Same error - so I had a look at the trace in notesclient and that's what I posted.

        Testserver: Domino Release 8.5.3FP1 (Windows/Longhorn/64 6.1 )/ OpenNTF Extensions 9.0.0.v00_02_20130515-2200 installed as OSGi)
        Browser is IE 8.0.6001
        Notes Client: 8.53

        Will give it another try in the next days.

        • Known problem in demo application

          By F. Kranenburg 1 decade ago

          There's a known problem in the demo. I tries to search across the first 20 databases and it throws an error when it couldn't find a full text indexed database. Try to use the control on one full text indexed database, it will work.

          I see that you're using the extlib from 9.0xx but I don't believe it's fully supported on 8.5.3.

          • Solved! Thanks!

            By Thomas Feucht 1 decade ago

            That was it! Many thanks also for the hint about using OpenNTF Extensions 9.00 in an 8.53 environment.

            Best

            Tom