This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NB 5.0 build 20051012220 Some of the error messages can be missleadnig when wrong combination of atributes of standard jsp actions are provided. Here is the list: 1) jsp:useBean action: When 'class' nor 'type' attribute are not provided error message 'jsp.error.useBean.missingType' is shown. When 'beanName' is provided and 'type' attribute is omitted error message 'jsp.error.useBean.missingType' is shown When 'class' and 'beanName' are provided together error message 'jsp.error.useBean.notBoth' is shown 2) jsp:setProperty action When 'param' and 'value' attributes are provided error message 'jsp.error.setProperty.invalid' is shown 3) jsp:element action When 'name' attribute is omitted missleading message is shown: ...'NegativeArraySizeException'
These messages are gotten directly from our patched tomcat's parser. We would have to implement a map of "tomcat messages" to "human friently" messages which is doable. AFAIK the messages should be the same as messages provided by tomcat compiler when you want to execute the broken page. No time for this now.
It is rather an enhancement
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss