karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Felix marezki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5642) karaf:deploy goal broken
Date Sat, 24 Feb 2018 18:04:00 GMT

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

Felix marezki commented on KARAF-5642:
--------------------------------------

I'm just using it for deploying a bundle on the Karaf instance from my local maven repository.
So I've my bundle installed locally as well as my Karaf instance running and I execute the
deploy goal on my project (that produces the bundle).

The above is the error message that I got and it seems to be due to the PrintWriter as it
doesn't provide a toString mehtod on its own so instead the Objects toString is called and
its return is used for execution in the shell session.

So I changed it to use it's lowest stream member which is the StringWriter, that provides
it's own implementation of the toString mehtod which produces a viable return.

Hope that makes sense :)

 

> karaf:deploy goal broken
> ------------------------
>
>                 Key: KARAF-5642
>                 URL: https://issues.apache.org/jira/browse/KARAF-5642
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-tooling
>    Affects Versions: 4.2.0.M2
>            Reporter: Felix marezki
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> Error message on deploy:
> Command not found: java.io.PrintWriter@6dc1dc69



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message