You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by bruno nunes jacinto <Ba...@oninet.pt> on 2003/03/12 12:53:29 UTC

URGENT - "Exception during processing of coplet:"

Hello
 
I am working with cocoon 2.1-dev.
When i make a refresh, some coplets are unavailable and i have this entry in core.log:

ERROR   (2003-03-11) 17:49.44:521   [core.portal-manager] (Unknown-URI) Unknown-thread/CopletThread: Exception during processing of coplet: Agente_ForAdmin
java.lang.NullPointerException
	at org.apache.coyote.tomcat4.CoyoteRequestFacade.getQueryString(CoyoteRequestFacade.java:325)
	at org.apache.cocoon.environment.http.HttpRequest.getQueryString(HttpRequestjava:177)
	at org.apache.cocoon.environment.wrapper.RequestWrapper.<init>(RequestWrapper.java:110)
	at org.apache.cocoon.environment.wrapper.EnvironmentWrapper.<init>(EnvironmentWrapper.java:166)
	at org.apache.cocoon.components.source.impl.SitemapSource.<init>(SitemapSource.java:199)
	at org.apache.cocoon.components.source.impl.CocoonSourceFactory.getSource(CocoonSourceFactory.java:99)
	at org.apache.excalibur.source.impl.SourceResolverImpl.resolveURI(SourceResolverImpl.java:263)
	at org.apache.cocoon.components.CocoonComponentManager.resolveURI(CocoonComponentManager.java:412)
	at org.apache.cocoon.environment.AbstractEnvironment.resolveURI(AbstractEnvironment.java:509)
	at org.apache.cocoon.components.source.SourceUtil.getSource(SourceUtil.java:280)
	at org.apache.cocoon.webapps.portal.components.CopletThread.run(CopletThreadjava:214)
	at java.lang.Thread.run(Thread.java:536)


The coplet definition in copletprofile is:

		<coplet id="Agente_ForAdmin">
			<configuration>
				<mandatory>true</mandatory>
				<sizable>true</sizable>
				<active>false</active>
				<!-- this is only active for USER-admins -->
				<handlesParameters>true</handlesParameters>
				<handlesSizable>true</handlesSizable>
				<customizable>false</customizable>
			</configuration>
			<title>Agente - Detalhe</title>
			<status>
				<visible>true</visible>
				<size>max</size>
			</status>
			<resource uri="cocoon:/secured-portlet-Agente-ForAdmin.xml"/>
		</coplet>
I am using <resourse uri=""> without "raw" because i need to pass same parameter.

Maybe this problem is related with: 

http://archives.real-time.com/pipermail/cocoon-users/2002-August/021532.html

Thanks a lot
Best regards
Bruno Jacinto

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org