Error even on blank page with VWP 5.5.1 and SJSAS 9

I get this error even if I create a blank new Visual Web Project using NB VWP 5.5.1 (Beta) with all the latest patches installed. The project runs on Sun Java System Application Server 9 (bundled one for 5.5.1). I have also installed enterprise pack 5.5.1.

According to the TLD, deferred-value is specifiedfor the attribute id of the tag handler com.sun.webui.jsf.component.PageTag, but the argumentfor the setter method is not a javax.el.ValueExpression

Caused by: org.apache.jasper.JasperException: /Page1.jsp(5,60) PWC6341: According to the TLD, deferred-value is specifiedfor the attribute id of the tag handler com.sun.webui.jsf.component.PageTag, but the argumentfor the setter method is not a javax.el.ValueExpression

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:49)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:344)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:172)

at org.apache.jasper.compiler.Validator$ValidateVisitor.checkSetter(Validator.java:1036)

at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1099)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)

at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1469)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2294)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:841)

at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1469)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2294)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:506)

at org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:545)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2294)

at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2300)

at org.apache.jasper.compiler.Node$Root.accept(Node.java:468)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2244)

at org.apache.jasper.compiler.Validator.validate(Validator.java:1824)

at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:169)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:376)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:571)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:464)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:358)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)

at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:398)

at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:839)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:528)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:461)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:422)

... 39 more

executePhase(RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@bdc53e) threw exception

[3909 byte] By [Sabira] at [2007-11-27 4:26:40]
# 1
Hi,I have reported this issue. you can check the issue at: http://www.netbeans.org/issues/show_bug.cgi?id=103995Thanks
Rradhikaa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 2

Hello, Do we have a solution to this issue. I am also having the same issue. I have tried jdk1.5.0_06 and jdk1.5.0_12. Same error. I am using Netbeans with Visual web pack and glassfish server as server.

Error:

ApplicationDispatcher[/MAReports] PWC1231: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: /Page1.jsp(5,60) PWC6341: According to the TLD, deferred-value is specified for the attribute id of the tag handler com.sun.webui.jsf.component.PageTag, but the argument for the setter method is not a javax.el.ValueExpression

ELANGO_KANDASAMYa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 3
There is a workaround given in the reported issue here: http://www.netbeans.org/issues/show_bug.cgi?id=103995If you still get the error, please let us know with details. Either you can re-open the bug, or I can do it for you.
Rradhikaa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 4

Hi Radhika,

I am still getting this error. So, could you please re-open this issue. I am not sure if I am missing any jar or something. Could you let me how what are the default libraries that I should use? Ever since I had this issue, i have been changing the libraries to use and Now I am at the point where even If i create a new project, it is not showing the design view of page1.jsp file. It says, "Missing Body Element" error. I tried to use different Themes and still no use. Anyway, that is my seperate issue. But here is the full stack trace of the TLD error.

[#|2007-06-26T15:11:18.930-0400|SEVERE|sun-appserver9.1|javax.enterprise.system .container.web|_ThreadID=19;_ThreadName=httpSSLWorkerThread-8080-0;_RequestID=db ddf724-acff-44e0-9bdf-8de8f5f9af04;|ApplicationDispatcher[/MAReports] PWC1231: Servlet.service() for servlet jsp threw exception

org.apache.jasper.JasperException: /Page2.jsp(5,60) PWC6341: According to the TLD, deferred-value is specified for the attribute id of the tag handler com.sun.webui.jsf.component.PageTag, but the argument for the setter method is not a javax.el.ValueExpression

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.jav a:62)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:185)

at org.apache.jasper.compiler.Validator$ValidateVisitor.checkSetter(Validator.java :1049)

at org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validat or.java:1112)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:834)

at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:854)

at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)

at org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:519)

at org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:558)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)

at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)

at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313)

at org.apache.jasper.compiler.Node$Root.accept(Node.java:481)

at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)

at org.apache.jasper.compiler.Validator.validate(Validator.java:1837)

at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:195)

at org.apache.jasper.compiler.Compiler.compile(Compiler.java:398)

at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)

at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)

at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:477)

at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:371)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:831)

at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilte rChain.java:411)

at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.j ava:855)

at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.jav a:703)

at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispat cher.java:542)

at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher. java:474)

at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.ja va:366)

at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408 )

at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImp l.java:442)

at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)

at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.ja va:285)

at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:10 6)

at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)

at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)

at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilte rChain.java:411)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:317)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:198)

at com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:203)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFil terChain.java:230)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain .java:198)

at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java: 288)

at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextVal ve.java:271)

at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java: 202)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)

at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)

at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)

at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:15 0)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:624)

at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)

at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)

at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)

at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:268)

at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(Def aultProcessorTask.java:631)

at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(Default ProcessorTask.java:562)

at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultPr ocessorTask.java:803)

at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(D efaultReadTask.java:339)

at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask .java:261)

at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask .java:212)

at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnifi cationPipeline.java:359)

at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)

at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThrea d.java:106)

|#]

Thanks.

ELANGO_KANDASAMYa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 5

Could you please restart the IDE with a clean userdir. This will help to see if the problem is reproducible without any of the changes you made earlier. When you get the problem, try the work-around. If you get the error still, please let me know, so I can reopen the bug with all the info for developers to re-evaluate.

To find out the exact userdir location go to the main menu, invoke the Help | About, and select Details page.

On windows it is generally located:

C:\Documents and Settings\yourname\.netbeans\5.0\

You just need to specify the userdir via the --userdir <path> option when starting NetBeans.

The <path> argument may refer to an existing or a new folder name. In the first case, the userdir will be reused. In the latter case, a new userdir will be created by NetBeans. You want to create a new userdir to test if the problem is reproducible with a clean userdir .

For example;

netbeans.exe --userdir C:\MyOtherUserdir

Rradhikaa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 6

Hi Radhika,

I have tried all the steps you have mentioned. Created a new user directory. restarted the netbeans, created new project and in the Page1.jsp, i just dragged in a text field and a label field. I am still getting the same error. I did also try clean and build the project as well. No use.

I am using GlassFish build 50. I have tried b33, b40, b43 and now I am at b50 beta3. I am using Java EE and Netbeans 5.5.1 with Visual Web Pack. Let me know if there is anything that I can try. Here is the section of the error message again. Just in case.

org.apache.jasper.JasperException: /Page1.jsp(5,60) PWC6341: According to the TLD, deferred-value is specified for the attribute id of the tag handler com.sun.webui.jsf.component.PageTag, but the argument for the setter method is not a javax.el.ValueExpression

at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.jav a:62)

at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)

at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:185)

at org.apache.jasper.compiler.Validator$ValidateVisitor.checkSetter(Validator.java :1049)

ELANGO_KANDASAMYa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 7

This is the info that i got out of message.log from netbeans user dir.

INFORMATIONAL *********** Exception occurred ************ at 3:34 PM on Jun 27, 2007

java.io.IOException: Server returned HTTP response code: 400 for URL: http://planetnetbeans.org/rss20.xml

at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.ja va:1152)

at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XML EntityManager.java:973)

at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion( XMLVersionDetector.java:184)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Config uration.java:798)

at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Config uration.java:764)

at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)

at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXP arser.java:1242)

at org.netbeans.modules.welcome.content.RSSFeed.buildItemList(RSSFeed.java:119)

[catch] at org.netbeans.modules.welcome.content.RSSFeed$Reload.run(RSSFeed.java:155)

at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)

at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)

ELANGO_KANDASAMYa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...
# 8

I have reopened this issue. However I think the engineers might need more information to reproduce (they were not able to reproduce this issue last time). I suggest keeping a watch on the link. You could get more suggestions for a work-around and/or they might request for more specific info. Here's the link again:

http://www.netbeans.org/issues/show_bug.cgi?id=103995

Thanks for reporting this.

Rradhikaa at 2007-7-12 9:35:14 > top of Java-index,Development Tools,Java Tools...