hi,
i write a OOCalc Addin with Java and got the following error when i want
to create the java-classes with javamaker:
[EMAIL PROTECTED]:~$ javamaker -nD -Gc -BUCR -O ./build/classes/
build/idl/rdb/types.rdb
/usr/lib/openoffice/sdk/linux/bin/javamaker.bin ERROR: Bad type
information: com/sun/star/uno/XComponentContext
I don't know what to do now. I didn't find something about this error in
the net.
The file types.rdb looks like this (checked with regview):
-
/
/ UCR
/ de
/ solarstrike
/ thermal
/ oocalc
/ XOOCalcAddin_Thermal
Value: Type = RG_VALUETYPE_BINARY
Size = 325
Data = version: 1
documentation:
file name:
type class: interface
type name:
de/solarstrike/thermal/oocalc/XOOCalcAddin_Thermal
super type count: 1
super type name 0:
com/sun/star/uno/XInterface
field count: 0
method count: 1
method 0:
documentation:
flags: synchronous
name: function1
return type name: long
parameter count: 1
parameter 0:
flags: in
name: parameter0
type name: long
exception count: 0
reference count: 1
reference 0:
documentation: used to set an add-in
locale for formatting reasons for example
flags: optional
sort: supports
type name:
com/sun/star/lang/XLocalizable
Value: Type = RG_VALUETYPE_BINARY
Size = 72
Data = version: 0
documentation:
file name:
type class: module
type name: de/solarstrike/thermal/oocalc
super type count: 0
field count: 0
method count: 0
reference count: 0
/ OOCalcAddin_Thermal
Value: Type = RG_VALUETYPE_BINARY
Size = 180
Data = version: 1
documentation:
file name:
type class: service
type name:
de/solarstrike/thermal/oocalc/OOCalcAddin_Thermal
super type count: 1
super type name 0:
de/solarstrike/thermal/oocalc/XOOCalcAddin_Thermal
field count: 0
method count: 1
method 0:
documentation:
flags: synchronous
name:
return type name: void
parameter count: 0
exception count: 0
reference count: 0
Value: Type = RG_VALUETYPE_BINARY
Size = 65
Data = version: 0
documentation:
file name:
type class: module
type name: de/solarstrike/thermal
super type count: 0
field count: 0
method count: 0
reference count: 0
Value: Type = RG_VALUETYPE_BINARY
Size = 57
Data = version: 0
documentation:
file name:
type class: module
type name: de/solarstrike
super type count: 0
field count: 0
method count: 0
reference count: 0
Value: Type = RG_VALUETYPE_BINARY
Size = 45
Data = version: 0
documentation:
file name:
type class: module
type name: de
super type count: 0
field count: 0
method count: 0
reference count: 0
-
Any ideas what the problem could be? Or do you need more information?
I use ubuntu 8.04, Openoffice 2.4 and java6. I created already some
other Addins with netbeans6 and this addins work well. I don't know why
this one isn't