You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alexander Nofftz <al...@nofftz.name> on 2005/03/26 00:25:49 UTC

Portal Block in 2.1.7 broken?

Hi!

I've just downloaded Cocoon 2.1.7. However the portal block seems to be
broken. If I go to http://localhost:8888/samples/blocks/portal/ no
images of the coplet frames are displayed. I can log in, but this makes
no difference. Trying to call any of the new tool functions or accessing
an image directly (like
http://localhost:8888/samples/blocks/portal/images/customize.gif) let to
the following exception:

org.apache.avalon.framework.CascadingRuntimeException: Exception during
loading of profile.

cause: java.lang.NullPointerException

full exception chain stacktrace[hide] 

org.apache.avalon.framework.CascadingRuntimeException: Exception during
loading of profile.
at
org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager.getPortalLayout(AbstractUserProfileManager.java:363)
at
org.apache.cocoon.portal.components.modules.input.SkinModule.getAttribute(SkinModule.java:86)
at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.processModule(PreparedVariableResolver.java:257)
at
org.apache.cocoon.components.treeprocessor.variables.PreparedVariableResolver.resolve(PreparedVariableResolver.java:208)
at
org.apache.cocoon.components.treeprocessor.sitemap.ReadNode.invoke(ReadNode.java:70)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
at
org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:117)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:46)
at
org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:130)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:138)
at
org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:68)
at
org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:92)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:234)
at
org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:176)
at
org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:243)
at org.apache.cocoon.Cocoon.process(Cocoon.java:608)
at
org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:789)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:960)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:806)
at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:218)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:300)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: java.lang.NullPointerException
at
org.apache.cocoon.portal.profile.impl.AuthenticationProfileManager.loadProfile(AuthenticationProfileManager.java:90)
at
org.apache.cocoon.portal.profile.impl.AbstractUserProfileManager.getPortalLayout(AbstractUserProfileManager.java:345)
... 59 more

Thanks in advance,
  Alex

-- 
Alexander Nofftz, Leverkusen, Germany, EU, Terra, Solar System
Alexander@Nofftz.name --- http://www.AlexNofftz.de/
Jabber: alexnofftz@amessage.de (Jabber?! http://de.wikipedia.org/wiki/Jabber)

Re: Portal Block in 2.1.7 broken?

Posted by Alexander Nofftz <al...@nofftz.name>.
Hi!

Am 2005-03-27 schrieb Ralph Goers:
> I just downloaded the release and am not seeing any problems with the 
> portal.  What platform & compiler are you using?

I'm using Debian Unstable.

seneca:~$ uname -a
Linux seneca 2.6.10-1-k7 #1 Fri Mar 11 03:13:32 EST 2005 i686 GNU/Linux
seneca:~$ java -version
java version "1.4.2_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_01-b06)
Java HotSpot(TM) Client VM (build 1.4.2_01-b06, mixed mode)

Regards,
  Alex

-- 
Alexander Nofftz, Leverkusen, Germany, EU, Terra, Solar System
Alexander@Nofftz.name --- http://www.AlexNofftz.de/
Jabber: alexnofftz@amessage.de (Jabber?! http://de.wikipedia.org/wiki/Jabber)

Re: Portal Block in 2.1.7 broken?

Posted by Antonio Gallardo <ag...@agssa.net>.
On Mar, 29 de Marzo de 2005, 18:11, Mark Eggers dijo:
> There are some other issues that I've noticed.  I cannot get the JSP
> pages to work with JDK 1.5 under Tomcat 5.5.7, one of the Groovy
> generator examples throws an NPE, and some javascript objects don't
> appear to be present in the administration application for the portal.
>
> Once I get some time, I'll go through the blocks and report the issues
> to bugzilla.

Some sample problems are already reported in bugzilla, perhaps you can
help us to fix this problems. ;-)

Best Regards,

Antonio Gallardo


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


Re: Portal Block in 2.1.7 broken?

Posted by Mark Eggers <it...@yahoo.com>.
On Tue, 2005-03-29 at 22:41 +0200, Alexander Nofftz wrote:
> Hi!
> 
> Am 2005-03-27 schrieb Alexander Nofftz:
> > Sorry, I just noticed that Cocoon is using Sun's SDK 	1.5.0_01-b08
> > instead of the also installed version 1.4.
> 
> I've now recompiled and started Cocoon using Blackdown 1.4.2_01, still
> no success. :-(

Alex,

I just built Cocoon 2.1.7 using Sun's JDK 1.5.0_01-b08 on Fedora Core 3.
I ran the resulting application under Jetty/4.2.23 as supplied.

The portal application seems to work.  I can see the galleries.  It
appears that the galleries are from the pet store application.  Could it
be that if you don't compile the petstore block you won't get the images
in the default portal block?

There are some other issues that I've noticed.  I cannot get the JSP
pages to work with JDK 1.5 under Tomcat 5.5.7, one of the Groovy
generator examples throws an NPE, and some javascript objects don't
appear to be present in the administration application for the portal.

Once I get some time, I'll go through the blocks and report the issues
to bugzilla.

-- 
Mark Eggers <it...@yahoo.com>


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


Re: Portal Block in 2.1.7 broken?

Posted by Alexander Nofftz <al...@nofftz.name>.
Hi!

Am 2005-03-27 schrieb Alexander Nofftz:
> Sorry, I just noticed that Cocoon is using Sun's SDK 	1.5.0_01-b08
> instead of the also installed version 1.4.

I've now recompiled and started Cocoon using Blackdown 1.4.2_01, still
no success. :-(

Regards,
  Alex

-- 
Alexander Nofftz, Leverkusen, Germany, EU, Terra, Solar System
Alexander@Nofftz.name --- http://www.AlexNofftz.de/
Jabber: alexnofftz@amessage.de (Jabber?! http://de.wikipedia.org/wiki/Jabber)

Re: Portal Block in 2.1.7 broken?

Posted by Alexander Nofftz <al...@nofftz.name>.
Hi!

Sorry, I just noticed that Cocoon is using Sun's SDK 	1.5.0_01-b08
instead of the also installed version 1.4.

Regards,
  Alex

-- 
Alexander Nofftz, Leverkusen, Germany, EU, Terra, Solar System
Alexander@Nofftz.name --- http://www.AlexNofftz.de/
Jabber: alexnofftz@amessage.de (Jabber?! http://de.wikipedia.org/wiki/Jabber)

Re: Portal Block in 2.1.7 broken?

Posted by Ralph Goers <Ra...@dslextreme.com>.
I just downloaded the release and am not seeing any problems with the 
portal.  What platform & compiler are you using?

Ralph

Alexander Nofftz wrote:

>Hi!
>
>I've just downloaded Cocoon 2.1.7. However the portal block seems to be
>broken. If I go to http://localhost:8888/samples/blocks/portal/ no
>images of the coplet frames are displayed. I can log in, but this makes
>no difference. Trying to call any of the new tool functions or accessing
>an image directly (like
>http://localhost:8888/samples/blocks/portal/images/customize.gif) let to
>the following exception:
>
>org.apache.avalon.framework.CascadingRuntimeException: Exception during
>loading of profile.
>
>  
>


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