Debugging of JRubik

2008-06-09
2013-04-15
  • Cetin Akbulut
    Cetin Akbulut
    2008-06-09

    Hello,

    I have downloaded the sources of JRubik (JRubik_Olap4j_laboratory-src-0.0.0 and JRubik-src-0.9.4).

    In Eclipse I have created a new workspace and import the sources. The compilation works well there are no errors.
    The run settings I have configured as follows:

    Project: JRubik-src-0.9.4
    Main Class: org.java.plugin.boot.Boot

    When I start the runnig process (JRubik-src-0.9.4) there occur the following Exception after some log messages:

    ...
    2008-06-09 23:27:10,605 [main] DEBUG org.java.plugin.boot.DefaultApplicationInitializer got application plug-in {es.aeat.eett.workbench.core.CorePlugin: manager=org.java.plugin.standard.StandardPluginManager@503429, descriptor={PluginDescriptor: uid=es.aeat.eett.workbench.core@0.0.2}}, initializing application
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at es.aeat.eett.workbench.core.LayoutManager$ViewsLoader.createMainViews(LayoutManager.java:533)
        at es.aeat.eett.workbench.core.LayoutManager$ViewsLoader.buildAndLoad(LayoutManager.java:445)
        at es.aeat.eett.workbench.core.DockingWindows.createRootWindow(DockingWindows.java:137)
        at es.aeat.eett.workbench.core.DockingWindows.<init>(DockingWindows.java:118)
        at es.aeat.eett.workbench.core.CorePlugin$1.run(CorePlugin.java:239)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

    When I run the newest version with the following Run Configuration:

    Project: JRubik_Olap4j_laboratory-src-0.0.0
    Main Class: org.java.plugin.boot.Boot

    I get a the following Exception:

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at es.aeat.eett.workbench.core.ExtensionBuider.createMainViews(ExtensionBuider.java:50)
        at es.aeat.eett.workbench.core.ExtensionBuider.buildMainViews(ExtensionBuider.java:191)
        at es.aeat.eett.workbench.infonode.LayoutManager$ViewsLoader.createMainViews(LayoutManager.java:485)
        at es.aeat.eett.workbench.infonode.LayoutManager$ViewsLoader.buildAndLoad(LayoutManager.java:431)
        at es.aeat.eett.workbench.infonode.DockingWindows.createRootWindow(DockingWindows.java:131)
        at es.aeat.eett.workbench.infonode.DockingWindows.<init>(DockingWindows.java:117)
        at es.aeat.eett.workbench.infonode.CorePlugin$2.run(CorePlugin.java:198)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

    In both cases the start image of JRubik is shown.

    What is my mistake? How I must create the project in eclipse? How can I solve this problem?

    Best regards
    cakbulut

     
    • This page helped me : http://jpf.sourceforge.net/ide-eclipse.html
      Specifically the Run/Debug Configuration section.

      Hope it helps !

      Eduardo Andrade

       
    • Cetin Akbulut
      Cetin Akbulut
      2008-06-10

      Hello Eduardo,

      thank you, for your fast answer. It has worked well. Now JRubik starts out of eclipse. But there is a problem with loading the queries.
      In the Queries view under the root node mdxMenu I just get

      derby -> (Empty) car56792
               (Empty) car56798
               (Empty) car56806
               (Empty) car56808

      In the log the following messages appear:

      ...
      2008-06-10 14:10:33,375 [main] DEBUG org.java.plugin.boot.DefaultApplicationInitializer got application plug-in {es.aeat.eett.workbench.core.CorePlugin: manager=org.java.plugin.standard.StandardPluginManager@e41bc3, descriptor={PluginDescriptor: uid=es.aeat.eett.workbench.core@0.0.2}}, initializing application
      2008-06-10 14:10:34,297 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.export@0.1.0} is not activated yet
      2008-06-10 14:10:34,297 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.export@0.1.0} is not activated yet
      2008-06-10 14:10:34,843 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.export@0.1.0} is not activated yet
      2008-06-10 14:10:34,875 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:34,875 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:34,875 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:34,968 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:34,968 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:34,968 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,031 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.tableRubik@0.9.3} is not activated yet
      2008-06-10 14:10:35,031 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.tableRubik@0.9.3} is not activated yet
      2008-06-10 14:10:35,046 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.tableRubik@0.9.3} is not activated yet
      2008-06-10 14:10:35,109 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,124 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,124 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,296 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,296 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,296 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,421 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,421 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,421 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,421 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,421 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,421 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,436 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,436 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,436 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,436 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,436 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,483 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.workbench.toolBarViews@0.7.0} is not activated yet
      2008-06-10 14:10:35,546 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,546 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,546 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,624 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,624 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:35,639 [AWT-EventQueue-0] WARN  org.java.plugin.standard.StandardPluginClassLoader can't load class LocalizationBundle_de_DE, plug-in {PluginDescriptor: uid=es.aeat.eett.rubik.core@1.1.8} is not activated yet
      2008-06-10 14:10:36,326 [AWT-EventQueue-0] INFO  org.java.plugin.standard.StandardPluginManager plug-in started - es.aeat.eett.workbench.toolBarViews@0.7.0
      ...

      How I can fix this problem.

      Best regards
      cakbulut

       
    • Felix Saz
      Felix Saz
      2008-06-10

      Ty:
      Menu Bar->Work Mode->Mondrian Mode

      Note: Mondiran BookMarks != XMLA bookmarks.
      The XMLA work mode ingnore Mondiran BookMarks;

      Cheers,
      Felix.

       
    • Cetin Akbulut
      Cetin Akbulut
      2008-06-10

      Hello Felix,

      I work in Mondrian mode. I do not see the queries in the Queries View. In the bin-version it works.

      Best regards
      cakbulut

       
    • Felix Saz
      Felix Saz
      2008-06-10

      1-The folder  JRUBIK_HOME/resources/mdxmenu/derby/cart56792  is empty or contains invalid files.

      2-In boot.properties file
      These properties cannot change.
      # Folder where to store application data and configuration files
      es.aeat.eett.workbench.core.dataFolder = ${applicationRoot}/data
      # Folder where to store shared resources
      es.aeat.eett.workbench.core.sharedFolder = ${applicationRoot}/data/resources

      I hope that this serves you.

      Felix.