Sounds weird. Assuming that you call the packagemanager API from Java,
I'd expect you get a RuntimeException ("null-ref given!").
my 2 cents,
Daniel
Tobias Krais wrote:
> Hi together,
>
> currently I implement a package manager in Java for deploying my UNO
> extension. But I experienced some weird problems I want to share with you.
> First this information: my extension is an .oxt package containing a jar
> file. The problem I describe next does not occur with the non-Java
> packages I tested.
>
> I use the XPackageManager.addPackage() method. This method takes 4
> arguments. The second is the "media-type of package, empty string if to
> be detected". If I pass "null" for the second argument, the package is
> installed without failures. But I cannot use my implemented protocol
> handler! If I pass just an empty String (""), the package is also
> installed (again, no failures while installing) and my protocol handler
> works.
> Is this a bug or a feature?
>
> Greetings, Tobias
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]