• Navigation Test db not working

    By Jens Bruntt 2 decades ago

    I have all of the Test databases working except the one that contains the Navigation samples.

    On opening that database (CompLib Nav Tests) I get a page that at the bottom displays a document called Drop Down Navigator, while at the top I get A red "button" and the text "this part of the application is not available".

    In the left hand side I now click "Tree", here I get a page where I get the same error message, now placed to the left and with the option of clicking "View the diag". I do that.



    Here' sthe important bits:

    Views Referenced:

    View ID: com.ibm.workplace.noteswc.views.NotesViewData

    Contributor: com.ibm.notes.client

    Bundle Status: ACTIVE

    Bundle Last Modified: Tue Aug 26 10:32:20 CEST 2008

    View ID: com.ibm.cademo.util.comp.nav.ComboNavigatorView

    WARNING - The bundle for this view is not installed or located on the system

    View ID: com.ibm.cademo.util.comp.nav.TabNavigatorView

    WARNING - The bundle for this view is not installed or located on the system

    View ID: com.ibm.cademo.util.comp.nav.ToolBarNavigatorView

    WARNING - The bundle for this view is not installed or located on the system

    View ID: com.ibm.cademo.util.comp.nav.ButtonBarNavigatorView

    WARNING - The bundle for this view is not installed or located on the system

    View ID: com.ibm.cademo.util.comp.nav.TreeNavigatorView

    WARNING - The bundle for this view is not installed or located on the system



    Features Referenced

    Feature: com.ibm.complib2.comp.navigation.feature, Navigation Components

    Version: 8.1.20080530

    URL: file:/C:/lotus/Notes8/data/workspace/applications/eclipse/features/com.ibm.complib2.comp.navigation.feature_8.1.20080530/

    Operating System: null

    Is patch: false

    Plugins:

    Plugin id: com.ibm.cademo.core

    Version: 8.1.20080530

    Bundle Status: ACTIVE

    Bundle Last Modified: Wed Nov 19 10:45:22 CET 2008

    Plugin id: com.ibm.cademo.util.comp.nav

    Version: 8.1.20080530

    WARNING - This bundle is not installed or located on the system

    Plugin id: com.ibm.demo.util

    Version: 8.1.20080530

    Bundle Status: ACTIVE

    Bundle Last Modified: Wed Nov 19 10:45:22 CET 2008

    • Version?

      By Jo Grant 2 decades ago

      Hey Jens,

      What version of Notes are you running? I did most of my testing on 8.0.1, and then did regression testing on 8.0.2 when it shipped. I've only done light testing on the 8.5 betas. So there might be a problem there.

      Unfortunately the error message "The bundle for this view is not installed or located on the system" is given if the component isn't there or if one of the dependencies of the component aren't there. So, the easiest way to check to see if the feature got provisioned is to look in <notedata>\workspace\applications\eclipse\features for a directory "com.ibm.complib2.comp.navigation.feature_8.1.20080530". If it is not there, then for some reason the feature did not get provisioned. One way that sometimes helps kick start feature provisioning is to open up an app containing that feature in CAE. Open the Nav unit test, then do Actions -> Edit Applications. Hopefully that will trigger it.

      If it looks like the feature is provisioned, but it is not running, it may be a dependency problem. There are some debug commands available from the OSGI console that can help here. Shut down Notes. Edit the icon you launch it from (on Windows, there is probably something similar on Mac). Add " -RPARAMS -console" to the end of the command line. Relaunch Notes. This will bring up a DOS box like command console. Various messages will scroll up here, and some commands are available. You can type "?" for a list, but most are rather cryptic. For our purposes, the "diag" command is what we want. Type in "diag com.ibm.cademo.util.comp.nav" (the plugin that isn't loading, which you can get form the CompLib doc database) and, if it's a dependency problem, it should list, specifically, what isn't loading.

      If we're lucky, that will give us some more information to debug the problem.

      Cheers,<br/>
        Jo
      
      • diag com.ibm.cademo.util.comp.nav

        By Jens Bruntt 2 decades ago

        I am on Notes 8.0.2.



        I do have the directory that is called com.ibm.complib2.comp.navigation.feature_8.1.20080530.



        doing the diag com.ibm.cademo.util.comp.nav gives me this output:



        update@../../data/workspace/applications/eclipse/plugins/com.ibm.cademo.util.com

        p.nav_8.1.20080530.jar [1292]

        Missing imported package com.ibm.rcp.topologyhandler_0.0.0.



        Any suggestions on what to do next?

        • Could be 1, 2, or 3

          By Jo Grant 2 decades ago

          Hmm. This is a problem that came up during testing. The packaging of some of the innards changed between 8.0.1 and 8.0.2. (This version was primarily developed against 8.0.1.) The fix I used at the time was to remove the section of the feature.xml in the feature's jar file.

          Possibility 1: you have an early version of the library that didn't have this fix in it. Check that directory or jar file for a feature.xml and see if it has a tag in it.

          Possibility 2: I foobared and let the tag slip back into the library during a later update. Download the library again, and check in the Update Site NSF, feature view, feature doc, Manifest tab and see if slipped back in.

          Possibility 3: The "fix" doesn't completely "fix" the problem. :-(

          I can't respin the library till Monday, but let me know what it looks like the problem is.

          Cheers,

          Jo