Re: No Class Def found and other issues I get with my own plugin in 8.2

Neil C Smith <[email protected]> Tue, 04 Jul 2017 15:44:27 +0000
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAMYaZEsvaRTPVcXyKrHvUrgjpvAKt6Kd+v9FPVJzszsXgLry=A@mail.gmail.com>
Hi,

On Tue, Jul 4, 2017 at 3:54 PM Volodymyr <[email protected]> wrote:

> Anyone, please help, when install the plugin in NetBeans, I get the
> strange error below. But when run/debug it from my dev environment, so it
> starts another NetBeans instance, it works just fine in the instance. Maybe
> someone ran into such issue, or maybe has at least an idea why it might be
> happening and what are the possible ways to fix it?
>
>
>
Long shot, but have you ever used Install / reload in development IDE?  It
sounds like you have that class coming from two different classloaders?

Also, although not sure it's your problem, the Javadoc from Project says
never to cast to a subclass as the project infrastructure is free to wrap
in a proxy.  Use lookup instead.

Best wishes,

Neil
-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org