You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/08/15 05:51:24 UTC

[GitHub] jtulach commented on issue #690: [NETBEANS-1074] Review of the ergonomics cluster

jtulach commented on issue #690: [NETBEANS-1074] Review of the ergonomics cluster
URL: https://github.com/apache/incubator-netbeans/pull/690#issuecomment-413100750
 
 
   I have fixed all the test errors except ones in `FilesAndAttributesCheck.java`. Looks like the missing Javac is causing problems and Java related templates don't have their iterator:
   ```
   value = org.netbeans.modules.java.source.queries.api.TemplateWizardFactory.create from Templates/GUIForms/OkCancelDialog.java
   java.lang.ClassNotFoundException: com.sun.source.tree.DirectiveTree
   	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:197)
   Caused: java.lang.ClassNotFoundException: com.sun.source.tree.DirectiveTree starting from ModuleCL@5e4d08f4[org.netbeans.modules.java.project.ui] with possible defining loaders null and declared parents [ModuleCL@632ea9c3[org.netbeans.modules.classfile], ModuleCL@3f3fe5f6[org.openide.filesystems.nb], ModuleCL@9dc8629[org.netbeans.api.templates], ModuleCL@49fb642d[org.openide.execution], ModuleCL@21b7f02[org.netbeans.modules.project.ant], ModuleCL@2b9afd0e[org.netbeans.modules.project.libraries], org.netbeans.MainImpl$BootClassLoader@2ea6137, ModuleCL@44cea167[org.netbeans.api.progress.nb], ModuleCL@44bb3719[org.netbeans.modules.java.project], ModuleCL@44a261d4[org.netbeans.modules.queries], ...23 more]
   	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:199)
   	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   Caused: java.lang.NoClassDefFoundError: com/sun/source/tree/DirectiveTree
   	at org.netbeans.spi.java.project.support.ui.templates.JavaTemplates.createJavaTemplateIterator(JavaTemplates.java:114)
   	at org.netbeans.modules.java.source.queriesimpl.TemplateWizardIterator.<init>(TemplateWizardIterator.java:77)
   ```
   It would be better, if this test worked correctly. @jlahoda, do you have any advice?
   
   One the `DynamicVerifyTest` passes, it is essential (as part of [static analysis and dynamic verification](http://wiki.netbeans.org/FitnessForever#Static_Analysis_and_Dynamic_Verification) concept) to include it in the Travis check. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists