You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "filippo balicchia (JIRA)" <ji...@apache.org> on 2013/01/14 11:26:14 UTC

[jira] [Comment Edited] (KARAF-2109) When Karaf installation directory contains a space, EIK does not work.

    [ https://issues.apache.org/jira/browse/KARAF-2109?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552549#comment-13552549 ] 

filippo balicchia edited comment on KARAF-2109 at 1/14/13 10:24 AM:
--------------------------------------------------------------------

The problem is independent from Os type and version.
Eik fail to manage karaf installation Directory where in the path are present a space
For example in windows there is possible to install karaf in  
{noformat}<drive>\Program Files\<KARAF_INSTALLATION_DIR>{noformat}
a possible WA can be to install karaf
{noformat}<drive>\<KARAF_INSTALLATION_DIR>{noformat}
obviously the problem can be extended to linuxBoxes where an empty space is present in the karaf installation.
                
      was (Author: fbalicchia):
    The problem is independent from Os type and version.
Eik fail to manage karaf installation Directory where in the path are present a space
For example in windows there is possible to install karaf in  
{noformat}<drive>\Program Files\<KARAF_INSTALLATION_DIR>{noformat}
a possible WA can be to install karaf
{noformat}<drive>\<KARAF_INSTALLATION_DIR>{noformat}
obviously the problem can be extend to linux box where in the karaf installation dir is present an empty space
                  
> When Karaf installation directory contains a space, EIK does not work.
> ----------------------------------------------------------------------
>
>                 Key: KARAF-2109
>                 URL: https://issues.apache.org/jira/browse/KARAF-2109
>             Project: Karaf
>          Issue Type: Wish
>          Components: eik-core
>    Affects Versions: eik-0.9.0
>         Environment: Win 7 professional SP1 
> eclipse-rcp-indigo-SR2-win32-x86_64.zip
> jdk1.6.0_37
>            Reporter: wayang
>              Labels: NullPointerException, eclipse, eik
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira