[api-dev] OLE Bridge - Strange exception

2008-11-12 Thread Carlos Rocha

Hi,

Using VB with Automation Bridge.

The folowing code raises an exception when calling 
"releaseDispatchProviderInterceptor". Everything else works fine, 
including the interception, but I'm unable to release it before closing 
the document.


//--
Set oXDispatchProviderInterceptor = New XDispatchProviderInterceptor

oFrame.registerDispatchProviderInterceptor oXDispatchProviderInterceptor
oFrame.releaseDispatchProviderInterceptor oXDispatchProviderInterceptor
//--

The error message is: (in case I can't attach the image)

/
Runtime error '1001':

com.sun.star.uno.RuntimeException: [automation bridge] unexpected 
exception in IUnknownWrapper_Impl::Invoke !!

/

What does this mean? anything wrong with oXDispatchProviderInterceptor 
object?


Thanks,
Carlos

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-11-12 Thread Benjamin Vollmer

Hi,

Juergen Schmidt wrote:

Hi Benjamin,

did the project wizard work for you in this environment?

Yes, I can create new OpenOffice.org add-on projects without problems. 
My existing add-on project was created with plugin version 2.0.0.


regards
Benjamin





Juergen

Benjamin Vollmer wrote:

Juergen Schmidt wrote:
You should use the latest plugin (2.0.1, not available via the 
update center so far) and you should create the xcu/xcs files with 
the new file wizard. The plugin will create the files under a new 
directory registry/[data/**/*.xcu|schema/**/*.xcs]. The reason for 
that is first a clear separation of related office only files. And 
take care of the package name in the xcu file. For example for an 
options page it should be 
/registry/data/org/openoffice/Office/OptionsDialog.xcu


The new file wizard doesn't work for me. I tried it with the new 
2.0.1 version, but I get a NullPointerException when I click on Next 
after I choose the xcs or xcu template. Cutted stacktrace:

java.lang.NullPointerException
   at java.lang.String.concat(String.java:2008)
   at 
org.openoffice.extensions.filetypes.registry_ui.RegistryVisualPanel1.getName(RegistryVisualPanel1.java:71) 



System configuration is Ubuntu 8.10, Netbeans 6.1, OpenJDK 6 and OOo 
SDK 3.0 DEV300_m27.


The reason for this is a potentially easier integration in the open 
office build and localization process.


I will provide a detailed step by step example online asap (part of 
my oocon workshop).


Ok, thats a good news. I will wait for further informations before I 
start a new try.



-
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]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [api-dev] Netbeans OOo Plugin 2.0: How to add custom files for an option dialog to an add-on project?

2008-11-12 Thread Juergen Schmidt

Hi Benjamin,

did the project wizard work for you in this environment?

Juergen

Benjamin Vollmer wrote:

Juergen Schmidt wrote:
You should use the latest plugin (2.0.1, not available via the update 
center so far) and you should create the xcu/xcs files with the new 
file wizard. The plugin will create the files under a new directory 
registry/[data/**/*.xcu|schema/**/*.xcs]. The reason for that is first 
a clear separation of related office only files. And take care of the 
package name in the xcu file. For example for an options page it 
should be /registry/data/org/openoffice/Office/OptionsDialog.xcu


The new file wizard doesn't work for me. I tried it with the new 2.0.1 
version, but I get a NullPointerException when I click on Next after I 
choose the xcs or xcu template. Cutted stacktrace:

java.lang.NullPointerException
   at java.lang.String.concat(String.java:2008)
   at 
org.openoffice.extensions.filetypes.registry_ui.RegistryVisualPanel1.getName(RegistryVisualPanel1.java:71) 



System configuration is Ubuntu 8.10, Netbeans 6.1, OpenJDK 6 and OOo SDK 
3.0 DEV300_m27.


The reason for this is a potentially easier integration in the open 
office build and localization process.


I will provide a detailed step by step example online asap (part of my 
oocon workshop).


Ok, thats a good news. I will wait for further informations before I 
start a new try.



-
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]