Yes, great -- and everything you learn in this migration process, please make notes, and then we can put a document together based on your findings. That will help the next person/team going through this process.
Gj On Thu, Jul 18, 2019 at 11:09 PM Jerome Lelasseux <lelass...@yahoo.com> wrote: > I have not found the origin of the problem but I found a workaround: I did > a clean reinstall of NB11 and this time I did not let NB11 "import settings > from NB8.2", and everything compiled OK ! > > > > Le jeudi 18 juillet 2019 à 21:35:18 UTC+2, Geertjan Wielenga < > geert...@apache.org> a écrit : > > > OK, I'd suggest since you're seeing that, to see if making that change > will fix this problem. > > You're going to encounter a lot of things you need to change, small and > large, between 8.2 and 11.0, so this is a small step in that direction, > please be prepared for more. > > Gj > > On Thu, Jul 18, 2019 at 9:24 PM Jerome Lelasseux <lelass...@yahoo.com> > wrote: > > I don't think the message is clear, it does not even mention the file name > where problem occured... > > And I had checked the doc, the enabledOn parameter is only for context > aware actions, here my action is a simple always-enabled action. > > > Le jeudi 18 juillet 2019 à 21:06:05 UTC+2, Geertjan Wielenga < > geert...@apache.org> a écrit : > > > The message is clear: > > java.lang.annotation.IncompleteAnnotationException: > org.openide.awt.ActionRegistration > missing element enabledOn > > See: > > > http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#enabledOn-- > > It sounds like you need to add that attribute to the ActionRegistration > annotation, everywhere where you're using it. > > Gj > > > > > On Thu, Jul 18, 2019 at 8:27 PM Jerome Lelasseux > <lelass...@yahoo.com.invalid> wrote: > > So I tried recompiling my RCP application with Netbeans 11 (Win10, Oracle > JDK 8). > > I get these annotation exceptions for all registered actions: > > An annotation processor threw an uncaught exception.Consult the following > stack trace for details. > java.lang.annotation.IncompleteAnnotationException: > org.openide.awt.ActionRegistration missing element enabledOn > at > sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:81) > at com.sun.proxy.$Proxy371.enabledOn(Unknown Source) > at > org.netbeans.modules.openide.awt.ActionProcessor.handleProcess(ActionProcessor.java:302) > > > Here is an example of source code which fails : > > @ActionID(category = "Help", id = "org.jjazzlab.base.actions.AboutAction") > @ActionRegistration(displayName = "#CTL_About", lazy=true) > @ActionReference(path = "Menu/Help", position = 2000) > @Messages("CTL_About=About") > public final class AboutAction implements ActionListener > { > @Override > public void actionPerformed(ActionEvent e) > { > AboutDialog dialog = new AboutDialog(); > dialog.setVisible(true); > } > } > > > I removed all module dependencies and readded them in Netbeans 11 to make > sure I have the appropriate versions but it did not solve the problem... > > Any idea ? > > > > > Le jeudi 18 juillet 2019 à 15:45:12 UTC+2, Geertjan Wielenga < > geert...@apache.org> a écrit : > > > Stop using 8.2 and use the latest Apache NetBeans instead, see > netbeans.apache.org. > > Gj > > On Thu, Jul 18, 2019 at 3:37 PM Jerome Lelasseux > <lelass...@yahoo.com.invalid> wrote: > > Hello, > > Sometimes Netbeans takes forever at startup (more than 5 min of splash > screen, usually it's about 10-20sec) and I don't understand why. During > general use (compilation etc) it also became much slower than it used to > be. I have not done changes to my PC which could explain this, other apps > run fine. I tried reinstall, cleaning Netbeans cache, disabling antivirus, > ... > > What should I try to identify the source of the problem ? > > Thank you. > > > *Product Version:* NetBeans IDE 8.2 (Build 201610071157) > > *Updates:* NetBeans IDE is updated to version NetBeans 8.2 Patch 2 > <http://wiki.netbeans.org/NetBeans8.2PatchesInfo> > > *Java:* 1.8.0_221; Java HotSpot(TM) 64-Bit Server VM 25.221-b11 > > *Runtime:* Java(TM) SE Runtime Environment 1.8.0_221-b11 > > *System:* Windows 10 version 10.0 running on amd64; Cp1252; en_US (nb) > > *User directory:* > C:\Users\Administrateur.000\AppData\Roaming\NetBeans\8.2 > > *Cache directory:* > C:\Users\Administrateur.000\AppData\Local\NetBeans\Cache\8.2 > > > Jerome > >