smehrbrodt/libreoffice-starter-extension

Error while loading another XDL file

coco33920 opened this issue · 4 comments

Sorry this does not strictly talk about this project.
The code for my extension is available here
The Test.xdl file works fine with this project i cloned,
The debugs shows the triggered function is called and the switch statements is working okay.

Also if i put a line like this,

    DialogHelper.showErrorMessage(m_xContext, null, "test : " + action);

before the Test object declation it shows
but if i put it after it do not shows, however it works well in this project cloned so my guess it was about consuming the context seems false?

I'm sorry for putting this there, but finding documentation and community for this kind of development in Java is like really difficult.

The code for my extension is available here

That link does not work for me.

Yeah sorry broken link, here is one

Ok, so have you tried debugging the Java side?

Yes the switch statements is called, as explained if I try to display a message box it kind of works?.

The XDL loading class is valid because i tried it with this project and it works fine.
I do not understand this strange behaviour I must have done something wrong but I can't pin it down