Re: [uportal-user] Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: [uportal-user] Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

Jonathan M. Tran-2

Does the feed have a description? If it doesn't have a description, you've run into this bug: https://github.com/Jasig/AnnouncementsPortlet/issues/80. Updating to Announcements-2.4.3 or later should fix it

Jonathan

On 4/24/19 9:07 AM, Malini Ramaprasad wrote:
We are running version uportal 4.1.2.




On Wednesday, April 24, 2019 at 8:52:40 AM UTC-7, Malini Ramaprasad wrote:
Getting null pointer exception for logged in users after checking the Offer Public RSS check box in Announcements Admin portlet.

Any ideas as to how to fix this?

WARN [uP-PortletExec-36-xx-RENDER-[announcements]] portlet.DispatcherPortlet.[] 2019-04-24 08:48:39,463 - Handler execution resulted in exception - forwarding to resolved error view
java.lang.NullPointerException
        at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:128)
        at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscriptionEdit(UserConfiguredTopicSubscriptionService.java:198)
        at org.jasig.portlet.announcements.controller.AnnouncementsPreferencesController.editPreferences(AnnouncementsPreferencesController.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
        at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(Annotation
--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.
Reply | Threaded
Open this post in threaded view
|

Re: [uportal-user] Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm

Hi Jonathan,

Do you have any link as to how to upgrade Announcement portlet?



On Wednesday, April 24, 2019 at 10:57:08 AM UTC-7, Malini Ramaprasad wrote:


On Wednesday, April 24, 2019 at 10:47:36 AM UTC-7, jmt wrote:

Does the feed have a description? If it doesn't have a description, you've run into this bug: <a href="https://github.com/Jasig/AnnouncementsPortlet/issues/80" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJasig%2FAnnouncementsPortlet%2Fissues%2F80\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtnSTzqYWJcx17EwWbjDjszeyukA&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJasig%2FAnnouncementsPortlet%2Fissues%2F80\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtnSTzqYWJcx17EwWbjDjszeyukA&#39;;return true;"> https://github.com/Jasig/AnnouncementsPortlet/issues/80. Updating to Announcements-2.4.3 or later should fix it

Jonathan

On 4/24/19 9:07 AM, Malini Ramaprasad wrote:
We are running version uportal 4.1.2.

Thanks Jonathan.

I deleted the topic where I checked the Offer Public RSS checkbox. But still having problem displaying the portlet.


On Wednesday, April 24, 2019 at 8:52:40 AM UTC-7, Malini Ramaprasad wrote:
Getting null pointer exception for logged in users after checking the Offer Public RSS check box in Announcements Admin portlet.

Any ideas as to how to fix this?

WARN [uP-PortletExec-36-xx-RENDER-[announcements]] portlet.DispatcherPortlet.[] 2019-04-24 08:48:39,463 - Handler execution resulted in exception - forwarding to resolved error view
java.lang.NullPointerException
        at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscription(UserConfiguredTopicSubscriptionService.java:128)
        at org.jasig.portlet.announcements.service.UserConfiguredTopicSubscriptionService.getTopicSubscriptionEdit(UserConfiguredTopicSubscriptionService.java:198)
        at org.jasig.portlet.announcements.controller.AnnouncementsPreferencesController.editPreferences(AnnouncementsPreferencesController.java:75)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)
        at org.springframework.web.portlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(Annotation
--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at <a href="https://groups.google.com/a/apereo.org/group/uportal-user/" rel="nofollow" target="_blank" onmousedown="this.href=&#39;https://groups.google.com/a/apereo.org/group/uportal-user/&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/a/apereo.org/group/uportal-user/&#39;;return true;"> https://groups.google.com/a/apereo.org/group/uportal-user/.

--
You received this message because you are subscribed to the Google Groups "uPortal Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
Visit this group at https://groups.google.com/a/apereo.org/group/uportal-user/.