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 103995 - Error even on blank page with VWP 5.5.1 and SJSAS 9
Summary: Error even on blank page with VWP 5.5.1 and SJSAS 9
Status: RESOLVED INVALID
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: Pegah Sarram
URL:
Keywords:
Depends on:
Blocks: 107070
  Show dependency tree
 
Reported: 2007-05-15 16:42 UTC by radhika2
Modified: 2008-07-10 23:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description radhika2 2007-05-15 16:42:36 UTC
Entering this issue reported in several forums:

Link to the forum threads:
http://forum.java.sun.com/thread.jspa?threadID=5172800&tstart=0
http://www.nabble.com/vwp-problem-tf3374781.html#a9391501

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 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 
 
Caused by: 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.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
Comment 1 kretes 2007-05-18 13:02:32 UTC
I report the same issue with nb 5.5 and glassfish v2b47. However the page have
to be correct, cause page shown on glassfish v1ur01, so I'm not sure is it the
effect of nb or glassfish.
Comment 2 chiss 2007-05-28 16:19:34 UTC
I don't know if this helps, but I got this error too when I migrated my 5.5 
project from Glassfish B24 to a setup using 5.5.1 with Glassfish B41d. I then 
fixed the problem by going to each "sub project" and changing the "Libraries" 
used : right-click each project, -> Properties -> Run and choosing my new App 
Server. Initially I had only changed that setting on my EAR. Redeployed, the 
error went away.

Hope this helps,
Francis 
Comment 3 Jayashri Visvanathan 2007-06-15 05:39:56 UTC
Please try the suggested work around and if the bug persists, please reopen the bug.
Comment 4 Yousuf Haider 2007-06-20 00:41:55 UTC
Please try Clean and Build and then deploy project. 

This works for me. 
Comment 5 Matthew Bohm 2007-06-26 00:32:41 UTC
Based on jayashri's comment, marking worksforme. If workarounds written here do not succeed, please reopen the bug with
clear steps on how to reproduce it. (I myself have never encountered this issue.)
Comment 6 radhika2 2007-06-27 23:40:33 UTC
A customer is still having the same problem after having tried the workaround given here. I also requested him to try
using a new userdir to remove any of his old setting, and restart. 

Here's his message:
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)

Please refer to the following forum thread for more details:
http://forum.java.sun.com/thread.jspa?threadID=5172800&tstart=0

I have requested the customer to see this link and provide more info if requested.
Comment 7 Pegah Sarram 2007-08-17 00:55:02 UTC
I tried to reproduce this issue using NB 6.0 nightly build 200708150000, but didn't see any problem. Yousufh also tested
it with NB 5.5.1 and observed no issue.

Looks like the user is running NB 5.5.1 beta. I would suggest the user to reinstall the IDE and VWP with the latest
installers from netbeans site. Also, the problem could be with the woodstock build that the user downloaded which may
have had bugs. 

Comment 8 Allan Flow 2008-07-10 23:22:03 UTC
I,ve installed Netbeans 6 on Windows with the default Glassfish V2ur2
Also i have installed Glassfish V2ur2 on a Centos 5 server
my problem is that qhen i run my apps on netbeans (windows) i dont have any problems
but when i deploy the app.war on the server it gets the error taht you have mention before
Description:  An unhandled exception occurred during the execution of the web application. Please review the following
stack trace for more information regarding the error.

Exception Details: org.apache.jasper.JasperException
  /Page1.jsp(11,60) PWC6317: The attributes for a standard action or an uninterpreted tag cannot be deferred expressions

Possible Source of Error:
   Class Name: org.apache.jasper.compiler.DefaultErrorHandler
   File Name: DefaultErrorHandler.java
   Method Name: jspError
   Line Number: 62

Source not available. Information regarding the location of the exception can be identified using the exception stack
trace below.

Stack Trace:

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:62)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:357)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:138)
org.apache.jasper.compiler.Validator$ValidateVisitor.getJspAttribute(Validator.java:1329)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:754)
org.apache.jasper.compiler.Node$UninterpretedTag.accept(Node.java:1218)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:854)
org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1482)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:519)
org.apache.jasper.compiler.Node$JspRoot.accept(Node.java:558)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2307)
org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2313)
org.apache.jasper.compiler.Node$Root.accept(Node.java:481)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2257)
org.apache.jasper.compiler.Validator.validate(Validator.java:1837)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:195)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:409)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:344)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
javax.servlet.http.HttpServlet.service(HttpServlet.java:831)
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:855)
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:703)
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:542)
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:474)
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:366)
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:442)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:115)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:320)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:411)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:317)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
com.sun.webui.jsf.util.UploadFilter.doFilter(UploadFilter.java:267)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:198)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:288)
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:271)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:202)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:206)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:150)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:632)
org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:577)
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:571)
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1080)
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:272)
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:637)
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:568)
com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:813)
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)