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 174899 - Cannot deploy maven web application
Summary: Cannot deploy maven web application
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Alexey Butenko
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-19 15:49 UTC by Jaroslav Pospisil
Modified: 2009-12-11 05:27 UTC (History)
24 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160433


Attachments
stacktrace (973 bytes, text/plain)
2009-10-19 15:50 UTC, Jaroslav Pospisil
Details
packed userdir (7.53 MB, application/x-compressed)
2009-10-20 17:32 UTC, Jaroslav Pospisil
Details
project dir (4.28 MB, application/x-compressed)
2009-10-20 18:15 UTC, Jaroslav Pospisil
Details
This patch works for me - Milos/Alexey, can you please review + apply? Thanks. (782 bytes, text/plain)
2009-10-21 10:38 UTC, Petr Jiricka
Details
stacktrace (973 bytes, text/plain)
2009-10-21 13:55 UTC, martin_zmrhal
Details
stacktrace (973 bytes, text/plain)
2009-10-26 03:10 UTC, David Konecny
Details
stacktrace (973 bytes, text/plain)
2009-11-18 03:43 UTC, Vitaly Bychkov
Details
stacktrace (1.96 KB, text/plain)
2009-11-18 04:29 UTC, Sergey Lunegov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Pospisil 2009-10-19 15:49:48 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910171337)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows Vista, 6.0, x86

User Comments:
jpospisil: Created JavaEE6 web project on Gfv3 (default option)



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$4.propertyChange(BaseJspEditorSupport.java:176)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
        at org.openide.text.CloneableEditorSupport.firePropertyChange(CloneableEditorSupport.java:527)
        at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:2320)
        at org.openide.text.CloneableEditorSupport.closeDocument(CloneableEditorSupport.java:2201)
Comment 1 Jaroslav Pospisil 2009-10-19 15:50:19 UTC
Created attachment 89689 [details]
stacktrace
Comment 2 Jaroslav Pospisil 2009-10-19 16:29:08 UTC
The issue doesn't stop at showing exception.Although framework is added otherwise without any problem and no error
indication is shown through IDE,such project isn't deployable anymore (Glassfish v3 log):

java.lang.NullPointerException
        at com.sun.faces.util.Util.loadClass(Util.java:200)
        at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:312)
        at
com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:416)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:370)
        at
com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:313)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:262)
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:337)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:219)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4664)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5289)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1831)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1515)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:283)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1154)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1213)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1202)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
        at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
        at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)
SEVERE: PWC1306: Startup of context /mavenproject35 failed due to previous errors
SEVERE: PWC1305: Exception during cleanup after start failed
org.apache.catalina.LifecycleException: PWC2769: Manager has not yet been started
        at org.apache.catalina.session.StandardManager.stop(StandardManager.java:892)
        at org.apache.catalina.core.StandardContext.stop(StandardContext.java:5479)
        at com.sun.enterprise.web.WebModule.stop(WebModule.java:529)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5307)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1831)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1515)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:283)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1154)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1213)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1202)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
        at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
        at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)
SEVERE: ContainerBase.addChild: start: 
org.apache.catalina.LifecycleException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5312)
        at com.sun.enterprise.web.WebModule.start(WebModule.java:499)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1831)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1515)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:283)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1154)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1213)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1202)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
        at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
        at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)
Caused by: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:354)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:219)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4664)
        at org.apache.catalina.core.StandardContext.start(StandardContext.java:5289)
        ... 38 more
Caused by: java.lang.NullPointerException
        at com.sun.faces.util.Util.loadClass(Util.java:200)
        at com.sun.faces.config.processor.AbstractConfigProcessor.loadClass(AbstractConfigProcessor.java:312)
        at
com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processHandlerClass(FaceletTaglibConfigProcessor.java:416)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTags(FaceletTaglibConfigProcessor.java:370)
        at
com.sun.faces.config.processor.FaceletTaglibConfigProcessor.processTagLibrary(FaceletTaglibConfigProcessor.java:313)
        at com.sun.faces.config.processor.FaceletTaglibConfigProcessor.process(FaceletTaglibConfigProcessor.java:262)
        at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:337)
        ... 41 more
WARNING: java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException:
com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:932)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1831)
        at com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1515)
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:283)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1154)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1213)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1202)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
        at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
        at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)
SEVERE: Exception while invoking class com.sun.enterprise.web.WebApplication start method
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:118)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:283)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1154)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1213)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1202)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
        at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
        at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)
SEVERE: Exception while loading the app
java.lang.Exception: java.lang.IllegalStateException: ContainerBase.addChild: start:
org.apache.catalina.LifecycleException: com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED! null
        at com.sun.enterprise.web.WebApplication.start(WebApplication.java:118)
        at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
        at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:219)
        at org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:240)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:308)
        at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:169)
        at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:283)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:305)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:320)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1154)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$900(CommandRunnerImpl.java:83)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1213)
        at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1202)
        at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:362)
        at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:201)
        at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:166)
        at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:100)
        at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:241)
        at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:789)
        at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:697)
        at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:951)
        at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:166)
        at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
        at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
        at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
        at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
        at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
        at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.doWork(FixedThreadPool.java:431)
        at com.sun.grizzly.util.FixedThreadPool$BasicWorker.run(FixedThreadPool.java:410)
        at java.lang.Thread.run(Thread.java:619)

Raising priority to P2,since problem is restricted to Maven web project and JSF framework only.
Comment 3 Marek Fukala 2009-10-20 09:28:28 UTC
The first exception looks like a duplicate of Issue #172631, which was fixed in jet-main on Oct 14th. Maybe the fix is
not correct, I am not even sure if the change is in the build, but it seems to since the changeset appears in the
release68_beta http://hg.netbeans.org/release68_beta/rev/d5087655d23e.

Can you please check it on the newer beta build.

As for the other execeptions, I am investigating...
Comment 4 Marek Fukala 2009-10-20 10:03:01 UTC
The second issue is reproducible, new maven web project with JSF framework is not deployable on Glassfish v3 build 68.
Comment 5 Vince Kraemer 2009-10-20 16:00:59 UTC
Please attach the project directory...

Do you have Maven installed? Which version?

Where is the IDE installed?

Where is GF installed?

Besides creating a Maven web app project that uses JSF (version?) is there any other info that you have left out of this
report that will help me recreate the issue?
Comment 6 Vince Kraemer 2009-10-20 16:04:51 UTC
Can you replicate this issue with the dev build or is this a beta build only issue?
Comment 7 Vince Kraemer 2009-10-20 16:07:21 UTC
Even better q: have you been able to reproduce this issue with the web-main repository build?
Comment 8 Vince Kraemer 2009-10-20 16:17:04 UTC
This seems relevant... http://forums.java.net/jive/thread.jspa?threadID=68260&tstart=0

I ma checking on the issue and code change right now.
Comment 9 Lukas Jungmann 2009-10-20 16:19:43 UTC
let me try it... ;-)
Comment 10 Vince Kraemer 2009-10-20 16:24:04 UTC
Here is the fix in the mojarra repository... https://mojarra.dev.java.net/servlets/ReadMsg?list=commits&msgNo=8075
Comment 11 Jaroslav Pospisil 2009-10-20 17:09:49 UTC
For the first couple of questions:
-I have all installer of Beta installed in default location(both IDE and Gfv3 under C:\Program Files\...),everything
left default,but custom userdir. I use external Maven 2.2.1 (path without spaces).I  left everything default for maven
web app creation,so JSF version is 2.0 .
Comment 12 Jaroslav Pospisil 2009-10-20 17:32:51 UTC
Created attachment 89789 [details]
packed userdir
Comment 13 Vince Kraemer 2009-10-20 17:41:25 UTC
I cannot replicate this issue with recent pull of web-main on mac os x...

But the steps I need to follow are not clear, so I will just leave this issue marked as incomplete.

Step-by-step instructions on how to reproduce this would be helpful.
Comment 14 Petr Jiricka 2009-10-20 17:44:17 UTC
Thanks a lot Vince for investigating. If this indeed needs to be fixed on the runtime side, how can the fix be
propagated to NetBeans? Will it be automatically included in the next nightly build of GlassFish, and which one? Does
b69-10_20 contain the fix? Or will b69-10_21 contain it? Can we include a nightly build in the beta, or should we wait
for promoted build 69?
Comment 15 Vince Kraemer 2009-10-20 17:49:49 UTC
why did you attach the userdir?
Comment 16 Vince Kraemer 2009-10-20 17:58:03 UTC
PJiricka:  Since I cannot replicate the issue with web-main on mac os x, there may be something else at play here...
Comment 17 Jaroslav Pospisil 2009-10-20 18:13:06 UTC
Aw,sorry,you wanted Project dir.I'll correct this asap ;-)
Comment 18 Jaroslav Pospisil 2009-10-20 18:15:27 UTC
Created attachment 89791 [details]
project dir
Comment 19 Vince Kraemer 2009-10-20 18:43:03 UTC
Ah!  I see that the user or maven put the jsf libraries into the app... So, the app's libs are used instead of the jsf
libs that are packaged with GF v3 b68....

The snapshot has the bug (mavenproject4/target/mavenproject4/WEB-INF/lib/jsf-impl-2.0.0-SNAPSHOT.jar), which is why you
get an error as the app is started.

While the JSF bug is a problem, the fact that the jars are packaged in the app is probably a maven project issue that is
worth being investigated.

Again: detailed steps on how to reproduce the issue would be extremely valuable for discovering the root cause.
Comment 20 Vince Kraemer 2009-10-20 19:03:39 UTC
PJiricka: just spoke to one of the JSF 2.0 implementers.  The issue that is reported here does not appear if your JSF
2.0 web app does not include the a buggy version of JSF.  If the app uses the JSF that is part of GF v3, the app will
start and execute (due to some sort of osgi magic...).  So, it seems like we do not need to wait for v3 b69 or attempt
to use a nightly build of GF v3 in the Beta
Comment 21 Jaroslav Pospisil 2009-10-20 19:03:48 UTC
Scenario is really very simple:
1) start IDE with new userdir (all installed as default)
2) Create new default maven web application (javaee6)
3) Open project properties and add JSF fraamework in Frameworks tab (first exception appears)
4) Close Properties and Run project (when asked,select Glassfish v3 as server)
Project is not deployed and nothing shown in browser. Glassfish log exception attached previously.
Comment 22 Lukas Jungmann 2009-10-20 20:04:58 UTC
issue is reproducible with steps in desc22, additional, not sure if relevant info, is to have full beta/gf installed in
default location

workaround was already mentioned by Vince - do not use jsf-impl-2.0.0-SNAPSHOT.jar version for now - ie change the
dependency scope of jsf-impl in the project to "provided" (if GF is in use)

=> since there's a workaround decreasing to P2
Comment 23 Milos Kleint 2009-10-21 08:53:33 UTC
maven support adds the jsf-impl dependency to the project because the jsf framework implementation tells it to do so via
teh ClassPathExtender/Modifier APIs. either the library definition has a maven-pom volume for that entry, or it is found 
by SHA1 checksum search in the java.net maven2 repository. 
the repository is probably populated by the glasfish team -
http://download.java.net/maven/2/com/sun/faces/jsf-impl/2.0.0-SNAPSHOT/
In either case it's not in the maven support domain to tell if the dependency shall be added or not and what scope it
should have. the jsf support needs to decide that. reassigning to jsf. but might be also fixable just by the gf team
uploading the correct content.
Comment 24 Petr Jiricka 2009-10-21 09:44:45 UTC
Milos, it looks like the 2.0.0-SNAPSHOT is outdated, since now there is a 2.0.0 final release (which unfortunately also
has some problems), and there are dev builds of 2.0.1. The most recent one is here:
http://download.java.net/maven/2/com/sun/faces/jsf-impl/2.0.1-b02/
So should not this URL be changed in the maven-pom volume? Currently it points to the snapshot.

As for packaging - the correct approach would be to add this library to the compilation classpath, but not to package it
in the war file. Can this be done using the ClassPathExtender/Modifier APIs?
Comment 25 Petr Jiricka 2009-10-21 10:38:56 UTC
Created attachment 89836 [details]
This patch works for me - Milos/Alexey, can you please review + apply? Thanks.
Comment 26 Exceptions Reporter 2009-10-21 11:05:35 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160433
Comment 27 Exceptions Reporter 2009-10-21 11:06:24 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160433
Comment 28 Exceptions Reporter 2009-10-21 11:07:18 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=160433
Comment 29 Alexey Butenko 2009-10-21 11:21:04 UTC
http://hg.netbeans.org/web-main/rev/8fdff7184788
Comment 30 Milos Kleint 2009-10-21 11:46:37 UTC
patch looks ok.

re : "As for packaging - the correct approach would be to add this library to the compilation classpath, but not to
package it in the war file. Can this be done using the ClassPathExtender/Modifier APIs?"

there is no such way in the CpExtender/Modifier API as far as I know. There's one way that always adds the "provided"
scope dependencies (thus adds on classpath and not in war).
See org.netbeans.modules.j2ee.core.api.support.classpath.ContainerClassPathModifier, using that one however requires
changes on both sides of the contracts - see org.netbeans.modules.maven.j2ee.ContainerCPModifierImpl

However i'm not sure that the "provided" scope is always desired. As I understood the problem it only affects j2ee 6 +
gf 3, right?
If you add provided scoped dep to the project and run on different app server you will get classnotfounds at runtime.
Comment 31 martin_zmrhal 2009-10-21 13:55:31 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910202101)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-11-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$4.propertyChange(BaseJspEditorSupport.java:176)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
        at org.openide.text.CloneableEditorSupport.firePropertyChange(CloneableEditorSupport.java:527)
        at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:2320)
        at org.openide.text.CloneableEditorSupport.closeDocument(CloneableEditorSupport.java:2201)
Comment 32 martin_zmrhal 2009-10-21 13:55:49 UTC
Created attachment 89860 [details]
stacktrace
Comment 33 martin_zmrhal 2009-10-21 14:00:54 UTC
Just opened NB with one Web project opened. I have experienced the same error when just creating the project. See
http://statistics.netbeans.org/analytics/detail.do?id=160433
Comment 34 Jindrich Sedek 2009-10-21 14:09:42 UTC
verified in web-main repo.
NetBeans IDE Dev (Build web-main-1878-on-091021)
Comment 35 Jindrich Sedek 2009-10-21 14:29:01 UTC
please merge the fix into beta clone
thanks in advance
Comment 36 Jindrich Sedek 2009-10-21 15:05:13 UTC
please merge into beta clone
Comment 37 Vitezslav Stejskal 2009-10-21 16:15:47 UTC
Transplanted to release68_beta clone as http://hg.netbeans.org/release68_beta/rev/a439ab0dcdd8
Comment 38 Petr Jiricka 2009-10-21 16:55:38 UTC
I filed a separate issue 175130 for the packaging aspect.
Comment 39 Quality Engineering 2009-10-22 23:53:02 UTC
Integrated into 'main-golden', will be available in build *200910221401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8fdff7184788
User: Alexey Butenko <alexeybutenko@netbeans.org>
Log: #174899: Cannot deploy maven web application
Comment 40 giorgio42 2009-10-23 13:53:38 UTC
Just got this from the freshly installed beta, when I tried to open the first JSP. I am neither using Maven nor JSF.
Seems to happen only on the very first JSP opened (not yet sure about that).
Comment 41 Alexey Butenko 2009-10-23 14:03:59 UTC
It is not included in Beta, it is pushed into development branch and will be available in FCS
Comment 42 David Konecny 2009-10-26 03:08:12 UTC
Build: NetBeans IDE Dev (Build 091021)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.24-24-generic, i386

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$4.propertyChange(BaseJspEditorSupport.java:176)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
        at org.openide.text.CloneableEditorSupport.firePropertyChange(CloneableEditorSupport.java:527)
        at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:2320)
        at org.openide.text.CloneableEditorSupport.closeDocument(CloneableEditorSupport.java:2201)
Comment 43 David Konecny 2009-10-26 03:10:53 UTC
Created attachment 90068 [details]
stacktrace
Comment 44 Alexey Butenko 2009-11-03 15:35:05 UTC
Last exception was fixed by Marek in http://hg.netbeans.org/main-golden/rev/227658ecae7c
Comment 45 Vitaly Bychkov 2009-11-18 03:43:19 UTC
Created attachment 91228 [details]
stacktrace
Comment 46 Sergey Lunegov 2009-11-18 04:29:20 UTC
Created attachment 91233 [details]
stacktrace
Comment 47 Jaroslav Pospisil 2009-12-11 05:27:11 UTC
v.