Issue Details (XML | Word | Printable)

Key: CAL-254
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Jonathan Nolen
Reporter: Michael Spoonauer
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Confluence Calendar Plugin

Receive NullPointerException when attempting to specify an internal page for a link

Created: 16/May/08 05:21 PM   Updated: 22/May/08 01:52 PM
Component/s: None
Affects Version/s: 2.3
Fix Version/s: None

Time Tracking:
Not Specified

Environment:
System Information
System Date Friday, 16 May 2008
System Time 18:18:58
System Favourite Colour Myrtle
Java Version 1.5.0
Java Vendor IBM Corporation
JVM Version 1.0
JVM Vendor Sun Microsystems Inc.
JVM Implementation Version 2.3
Java Runtime Java(TM) 2 Runtime Environment, Standard Edition
Java VM IBM J9 VM
User Name imtqa
User Timezone America/New_York
Operating System Linux 2.4.21-53.ELsmp
OS Architecture x86
Filesystem Encoding UTF-8


Java VM Memory Statistics
Total Memory 270 MB
Free Memory 89 MB
Used Memory 181 MB
Memory Graph
   33 % Free
 


Runtime Information
Database Dialect net.sf.hibernate.dialect.Oracle9Dialect
Database Connection URL java:comp/env/jdbc/confluence
Database Driver Name N/A
Database Driver Version N/A
Application Server IBM WebSphere Application Server/6.1
Servlet Version 2.4
Confluence Home /collab/confluence
Uptime 8 days, 6 hours, 52 minutes, 47 seconds
Confluence Version 2.5.7
Build Number 813

Labels: link_attribute


 Description  « Hide
If I attempt to specify the name of an internal page (whether in the same space as the calendar or in a different space) as the value for the "Link" attribute of an event, I receive an error message stating that there's been a server error and to look at the logs.

When I look at the logs, I see this exception:

2008-05-16 15:21:35,671 ERROR [WebContainer : 201] [opensymphony.webwork.dispatcher.ServletDispatcher] serviceAction Could not execute action
– url: /plugins/calendar/ical/addEvent!doAdd.action | userName: user.name
java.lang.NullPointerException
at com.atlassian.confluence.extra.calendar.action.AbstractCalendarAction.getDomainName(AbstractCalendarAction.java:137)
at com.atlassian.confluence.extra.calendar.action.AbstractCalendarAction.getFullContextPath(AbstractCalendarAction.java:126)
at com.atlassian.confluence.extra.calendar.ical.action.ModifyICalEventAction.updateEventDetails(ModifyICalEventAction.java:223)
at com.atlassian.confluence.extra.calendar.ical.action.ModifyICalEventAction.doAdd(ModifyICalEventAction.java:74)



 All   Comments   Work Log   Change History   FishEye   Crucible   Builds      Sort Order: Ascending order - Click to sort in descending order
Michael Spoonauer added a comment - 19/May/08 08:40 AM
Is there any sort of ETA for when this NullPointerException might be able to be fixed?

We have a group of users that would like to specify a page that does or (more importantly) will exist in Confluence as their link for an event, without having to specify the full URL to that Wiki page.

Thanks,
Mike


Michael Spoonauer added a comment - 19/May/08 09:22 AM
FYI,

This error does not occur in the Confluence test area, which is running Confluence 2.8 and probably the latest version of the Calendar plug-in.

http://confluence.atlassian.com/display/TESTING/Test+Calendar+Functionality

However, it's unclear if it's an issue with the version of the Calendar plug-in we're using, or whether it's something about our configuration that's causing the issue (e.g. WebSphere, IHS configuration, etc.).

Thanks,
Mike


Michael Spoonauer added a comment - 22/May/08 01:52 PM - edited
FYI,

When we upgraded our Confluence 2.5.7 installation that additionally uses Adaptavist Theme Builder 2.0.9 to use the latest version of the Calendar plug-in, the above NullPointerException no longer occurred.

Thanks,
Mike