The NullPointerException is the same one I noted. If you change the
line 412 in
org.jasig.portal.rendering.StaticRenderingPipeline.renderState from
log.error("UserInstance::renderState() : ...+e.getCause().toString());
to
log.error("UserInstance::renderState() : ...+e.toString());
I have created a jira for that: http://www.ja-sig.org/issues/browse/UP-2359.
I also am seeing the other errors in your trace backs.
Susan
SOO KIM wrote:
I am getting the same error... just could not explain well
like Susan. (Thanks Susan).
So.. I am willing to cooperate on this.
Another strange behavior is... after session expired.... any access to http://myportal/uPortal
is getting the following error
-------
uPortal Error
Sorry, but uPortal encountered an error that is preventing it from
rendering. The error must be corrected by system administrators. Try
again later.
------
portal.log shows...
INFO [TP-Processor3] provider.SimpleSecurityContext.[] Mar/13 08:38:36
- Principal or OpaqueCredentials not initialized prior to authenticate
INFO [TP-Processor3] jndi.JndiManagerImpl.[] Mar/13 08:38:36 - JNDI
Context configured for sessionId='A609B84BECBC069116DE1BBA62B734FA',
userId='8', and layoutId='1'
ERROR [TP-Processor3] portal.ExceptionHelper.[] Mar/13 08:38:36 -
Programming error
org.jasig.portal.PortalException: java.lang.NullPointerException
at
org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:682)
at
org.jasig.portal.PortalSessionManager.doGetInternal(PortalSessionManager.java:248)
at
org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:177)
Caused by: java.lang.NullPointerException
at
org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:412)
... 23 more
INFO [PortalEvent-5] handlers.LoggingEventHandler.[] Mar/13 08:38:36 -
Session created for GUEST_USER (guest) at Fri Mar 13 08:38:36 EDT 2009
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[ent-lo]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[welcome-lo]}]
isGuest:false while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[news-lo]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[staff]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[guest-lo]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[faculty]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
ERROR [uPortalTaskScheduler_Worker-3] dlm.RDBMDistributedLayoutStore.[]
Mar/13 08:40:34 - Failed to retrieve UserProfile for person
org.jasig.portal.security.provider.PersonImpl fullName=[null] id=[-1]
securityContext=[null] attributes=[{username=[student]}] isGuest:false
while cleaning fragment cache, person will be skipped
java.lang.Exception: Unable to find User Profile for user -1 and
profile 1
at
org.jasig.portal.layout.simple.RDBMUserLayoutStore.getUserProfileById(RDBMUserLayoutStore.java:1708)
at
org.jasig.portal.layout.dlm.RDBMDistributedLayoutStore.cleanFragments(RDBMDistributedLayoutStore.java:351)
at
org.jasig.portal.layout.dlm.FragmentCleanerRunner.run(FragmentCleanerRunner.java:33)
at sun.reflect.GeneratedMethodAccessor104.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at
org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:276)
at
org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:260)
at
org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
at
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
SOO IL KIM
----------------------------
On Fri, Mar 13, 2009 at 7:36 AM, Bramhall,
Susan <susan.bramh...@yale.edu>
wrote:
I
am seeing some interesting behavior in 3.1. I believe it occurs when I
hit the portal with a url from an expired session. For example http://portal.../uPortal/render.userLayoutRootNode.uP?uP_root=root&uP_sparam=activeTab&activeTab=2.
I have added the CAS gateway=true parameter to my web.xml and haven't
yet determined whether the problem still exists when that is not set.
Instead of displaying the guest page I get several problems. The first
one is a stack trace sent to the browser:
Caused by: java.lang.NullPointerException
at
org.jasig.portal.rendering.StaticRenderingPipeline.renderState(StaticRenderingPipeline.java:412)
That is actually trying to log an error with a null cause. So I change
that line to not use e.getCause() and just print the error and get:
ERROR [http-443-5] portal.ChannelManager.[] Mar/13 06:47:44 -
Encountered a portal exception while trying to start channel rendering!
:
org.jasig.portal.PortalException: Could not find a transient node for
id: u7l1n10
That's not too too surprising since the old session was dead I suppose
but it doesn't clear up. Once this problem occurs it does not go away.
Even if I hit the portal from another browser on another machine the
error behavioscontinues. I have lots more stack traces but will spare
you all for now. ;-) The screen shots showing tha uportal thinks I am
editing a fragment tell more. When I use the normal url to the portal
with no parameters I see the image attached as
up3expiredguestnoparms.jpg. The second is when I hit tab2 and is
attached as up3expiredguesttab2.jpg.
It looks to me like I am running into issues related to the new
impersonation support. It gets even more interesting if I actually get
myself a CAS session - then I get two messages to exit the fragment.
Image attached as up3expiredguestCASsession.jpg.
I suspect the Could not find a transient node problem has been around a
long time since our logs are full of an older varient which I bet is
due to CAS gateway and guest timeouts. It used to report the node as
ctf1 and the new message reports more meaningfull data. Our old error
is completely transient and has no effect on the user experience as far
as I can tell.
I am looking forward to debugging this (really) but though I'd post to
get thoughts from you all first.
Susan
--
You are currently subscribed to uportal-dev@lists.ja-sig.org
as: kimso...@bu.edu
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: susan.bramh...@yale.edu
To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
--
Susan Bramhall (susan.bramh...@yale.edu)
Senior Developer, Technology & Planning Operations (T&P)
Yale University Information Technology Services (ITS)
25 Science Park, 150 Munson St, New Haven, CT 06520
Phone: 203 432 6697
--
You are currently subscribed to uportal-dev@lists.ja-sig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/uportal-dev
|