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.

Bug 230251

Summary: Display Tag library 1.2
Product: ide Reporter: engin.ata
Component: BlueJAssignee: issues@ide <issues>
Status: NEW ---    
Severity: normal Keywords: PLATFORM
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Exception Reporter:
Attachments: Display Tag Netbeans JSP parser error

Description engin.ata 2013-05-25 01:55:56 UTC
Hi,

We have a struts 1.x project utilizing display tag library - which is accessible at http://www.displaytag.org/1.2/.
After upgrading to Netbeans IDE 7.3 our projects began giving jsp parser errors, like the one below:

	java.lang.NoClassDefFoundError: Could not initialize class org.displaytag.tags.ColumnTag
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:169)
	at org.displaytag.tags.ColumnTagBeanInfo.class$(ColumnTagBeanInfo.java:41)
	at org.displaytag.tags.ColumnTagBeanInfo.getPropertyDescriptors(ColumnTagBeanInfo.java:40)
	at java.beans.Introspector.getTargetPropertyInfo(Introspector.java:501)
	at java.beans.Introspector.getBeanInfo(Introspector.java:410)
	at java.beans.Introspector.getBeanInfo(Introspector.java:167)
	at org.apache.jasper.runtime.JspRuntimeLibrary.getWriteMethod(JspRuntimeLibrary.java:817)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.checkSetter(Validator.java:1056)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1137)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:859)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1502)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2347)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:879)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1502)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2347)
	at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:879)
	at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1502)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2297)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2347...

The error is easy to recreate, create a struts project, add display tag dependencies and try to use the table tag like this one:

<display:table >
            <display:column property="categoryTitle" sortable="true"
                            title="" 
                            style="width:200px;"/>
</display:table>

The error manifests itself immediately at this point.


Product Version = NetBeans IDE 7.3 (Build 201302132200)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_37
Runtime = Java HotSpot(TM) 64-Bit Server VM 20.12-b01
Comment 1 engin.ata 2013-05-25 01:58:11 UTC
I also added a screen shot as an attachment.
Comment 2 engin.ata 2013-05-25 01:58:18 UTC
Created attachment 134887 [details]
Display Tag Netbeans JSP parser error