Closed kvaleev closed 3 years ago
Hi,
I know... The Archi developers changed a Java class in Archi 4.5 and I need to adapt all my plugins to the new class. I am concentrating to the database plugin at the moment and will adapt the specialization plugin asap.
Best regards Hervé
Has this been resolved yet ? Getting the same error with Archi 4.6.0.
to be honest, I haven't had much time and confinement did not arrange ...
Archi 4.7 introduces the ability to change objects label (using the same variables I created in my plugin). Would this suit your needs ?
Would this suit your needs ?
Archi 4.7 supports changing labels but unfortunately doesn't support icon replacement.
Hmm...this one has been open for a while. If you can point me to the code and pointers on how to solve this I can take a stab at it and submit a PR.
@herve91
Hi Herve, another thing that changed in Archi 4.7.1 is that the Figure classes changed to implement the com.archimatetool.editor.diagram.figures.ITextFigure
Java Interface.
Unfortunately, this means that your Figure classes in this plug-in don't inherit from the new Archi ones, so that an error is thrown if a user has this plug-in installed and also uses Archi's Label Expressions. See https://github.com/archimatetool/archi/issues/685
Just a heads up, really. The way to solve this would be to recompile your plug-in against the latest Archi code.
Regards,
Phil
Hi Phil,
Yes, I know there is an incompatibility of my plugin with version 4.7. I'll give priority to this :)
Best regards Hervé
Done.
Could you please test the alpha2 release ?
Best regards Hervé
Just did and in my limited testing (entering text into a note element) I wasn't able to reproduce the issue. So it appears that the issue has been fixed.
Great, I close the case then.
Best regards Hervé
When I updated Archi to the latest version 4.5.1, the 2.0.0.alpha version of the specialization plugin (
2.0.0.alpha1.jar
) causes the errorjava.lang.NullPointerException
when I try to add a new element to a model.The whole error log: