Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

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

Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm
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/.
Reply | Threaded
Open this post in threaded view
|

Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm
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/.
Reply | Threaded
Open this post in threaded view
|

Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm


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" target="_blank" rel="nofollow" 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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4Kqd_WUUDAAJ" rel="nofollow" onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;">uporta...@apereo.org.
Visit this group at <a href="https://groups.google.com/a/apereo.org/group/uportal-user/" target="_blank" rel="nofollow" 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/.
Reply | Threaded
Open this post in threaded view
|

Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

Jonathan M. Tran-2

I should have read through the stacktrace more closely. My apologies.

What version of the portlet is deployed?

Jonathan

On 4/24/19 10:57 AM, 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" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJasig%2FAnnouncementsPortlet%2Fissues%2F80\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtnSTzqYWJcx17EwWbjDjszeyukA';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJasig%2FAnnouncementsPortlet%2Fissues%2F80\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtnSTzqYWJcx17EwWbjDjszeyukA';return true;" moz-do-not-send="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 <a href="javascript:" target="_blank" gdf-obfuscated-mailto="4Kqd_WUUDAAJ" rel="nofollow" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;" moz-do-not-send="true"> uporta...@apereo.org.
Visit this group at <a href="https://groups.google.com/a/apereo.org/group/uportal-user/" target="_blank" rel="nofollow" onmousedown="this.href='https://groups.google.com/a/apereo.org/group/uportal-user/';return true;" onclick="this.href='https://groups.google.com/a/apereo.org/group/uportal-user/';return true;" moz-do-not-send="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/.

--
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: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm
In reply to this post by ramaprasadm
We are using
<AnnouncementsPortlet.version>2.1.2</AnnouncementsPortlet.version>

uPortal version:
<version>4.1.2</version>


On Wednesday, April 24, 2019 at 11:21:00 AM UTC-7, Malini Ramaprasad wrote:

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/.
Reply | Threaded
Open this post in threaded view
|

Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm

But then deleting the topic should have solved the issue.



On Wednesday, April 24, 2019 at 11:22:28 AM UTC-7, Malini Ramaprasad wrote:
We are using
<AnnouncementsPortlet.version>2.1.2</AnnouncementsPortlet.version>

uPortal version:
<version>4.1.2</version>


On Wednesday, April 24, 2019 at 11:21:00 AM UTC-7, Malini Ramaprasad wrote:

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/.
Reply | Threaded
Open this post in threaded view
|

Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

ramaprasadm
In reply to this post by ramaprasadm
I tried restoring the TOPIC, ANNOUNCEMENT, ANNOUNCEMENT_ATTACHMENT tables but still not luck.

On Wednesday, April 24, 2019 at 11:22:28 AM UTC-7, Malini Ramaprasad wrote:
We are using
<AnnouncementsPortlet.version>2.1.2</AnnouncementsPortlet.version>

uPortal version:
<version>4.1.2</version>


On Wednesday, April 24, 2019 at 11:21:00 AM UTC-7, Malini Ramaprasad wrote:

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/.
Reply | Threaded
Open this post in threaded view
|

Re: Null pointer exception while checking the Offer Public RSS check box in Announcements portlet.

Jonathan M. Tran-2

Do you have any link as to how to upgrade Announcement portlet?
I simply bump the version string in pom.xml (since you're on uPortal 4). If there are any files being overlaid, I compare that against the version I'm updating to to make sure things are where they should be.


Jonathan M. Tran
[hidden email]

On 4/24/19 11:44 AM, Malini Ramaprasad wrote:
I tried restoring the TOPIC, ANNOUNCEMENT, ANNOUNCEMENT_ATTACHMENT tables but still not luck.

On Wednesday, April 24, 2019 at 11:22:28 AM UTC-7, Malini Ramaprasad wrote:
We are using
<AnnouncementsPortlet.version>2.1.2</AnnouncementsPortlet.version>

uPortal version:
<version>4.1.2</version>


On Wednesday, April 24, 2019 at 11:21:00 AM UTC-7, Malini Ramaprasad wrote:

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='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJasig%2FAnnouncementsPortlet%2Fissues%2F80\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtnSTzqYWJcx17EwWbjDjszeyukA';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fgithub.com%2FJasig%2FAnnouncementsPortlet%2Fissues%2F80\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFtnSTzqYWJcx17EwWbjDjszeyukA';return true;" moz-do-not-send="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='https://groups.google.com/a/apereo.org/group/uportal-user/';return true;" onclick="this.href='https://groups.google.com/a/apereo.org/group/uportal-user/';return true;" moz-do-not-send="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/.

--
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/.