Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-2109

When Karaf installation directory contains a space, EIK does not work.

    XMLWordPrintableJSON

    Details

    • Type: Wish
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: eik-0.9.0
    • Fix Version/s: None
    • Component/s: eik
    • Environment:

      Win 7 professional SP1
      eclipse-rcp-indigo-SR2-win32-x86_64.zip
      jdk1.6.0_37

      Description

      When I create a new Karaf Installation, and selet a karaf installation directory as path, Eclispe come out an NullPointerException error, as following.
      <----------------------------------------------------------------
      !MESSAGE An internal error occurred during: "Launching New_configuration".
      !STACK 0
      java.lang.NullPointerException
      at org.apache.karaf.eik.ui.KarafLaunchConfigurationDelegate.augmentClasspathWithEquinox(KarafLaunchConfigurationDelegate.java:323)
      at org.apache.karaf.eik.ui.KarafLaunchConfigurationDelegate.getClasspath(KarafLaunchConfigurationDelegate.java:190)
      at org.eclipse.pde.launching.AbstractPDELaunchConfiguration.launch(AbstractPDELaunchConfiguration.java:70)
      at org.apache.karaf.eik.ui.KarafLaunchConfigurationDelegate.launch(KarafLaunchConfigurationDelegate.java:246)
      at org.eclipse.pde.launching.OSGiLaunchConfigurationDelegate.launch(OSGiLaunchConfigurationDelegate.java:47)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
      at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
      at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:937)
      at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1141)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      ...
      ------------------------------------------------------------------>

      My OS is win 7. And maybe everyone using win32 will encount this problem. The users of EIK can install karaf in another path to solve thie problem.

        Attachments

        1. KARAF-2109.patch.txt
          2 kB
          Filippo Balicchia

          Activity

            People

            • Assignee:
              fbalicchia Filippo Balicchia
              Reporter:
              wayang wayang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified