Bug 98 - java.lang.NullPointerException every 10 seconds
Summary: java.lang.NullPointerException every 10 seconds
Status: RESOLVED INVALID
Alias: None
Product: ZeXtras
Classification: Unclassified
Component: ZxCore (show other bugs)
Version: 1.8.11
Hardware: -- Ubuntu 12 - 64 bit
: Normal normal
Assignee: ZeXtras Bugzilla Admin
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2013-11-03 07:35 CET by NiKo
Modified: 2013-11-04 14:25 CET (History)
1 user (show)

See Also:
Browser: ---
Zimlet Chat version: ---
Zimbra Version: 8.0.4


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NiKo 2013-11-03 07:35:59 CET
Hello,

First, as usual, BugZilla doesn't allow to select the lastest version of ZeXtras. This bug actually happen on version 1.8.11 :

zextras_version     1.8.11
zextras_target      8.0.4
zextras_commit      12ed6da8d41a35f272aeb1e563813c16cd51f178
zextras_lib_version 1.0.0
zextras_lib_commit  0b95acdc823857622e841c39f3858036f122a0a2


Bug :
Every 10 seconds, in the mailbox.log, I can see this exception :

2013-11-03 00:00:53,860 ERROR [ZeXtras Real Time Notifier Thread] [] extensions - ZeXtras Real Time Notifier: Exception: java.lang.NullPointerException
        at com.zimbra.cs.mailbox.calendar.Invite.decodeMetadata ( Invite.java:659 )
        at com.zimbra.cs.redolog.op.SetCalendarItem.deserializeSetCalendarItemData ( SetCalendarItem.java:98 )
        at com.zimbra.cs.redolog.op.SetCalendarItem.deserializeData ( SetCalendarItem.java:214 )
        at com.zimbra.cs.redolog.op.RedoableOp.deserialize ( RedoableOp.java:273 )
        at com.zimbra.cs.redolog.op.RedoableOp.deserializeOp ( RedoableOp.java:382 )
        at com.zextras.lib.ZERedologNotifier.readNextOp ( ZERedologNotifier.java:371 )
        at com.zextras.lib.ZERedologNotifier.run ( ZERedologNotifier.java:300 )

Not sure what it means and I heven't notice any unusual behavior in ZeXtras...

Regards
Comment 1 Cine 2013-11-04 14:25:23 CET
Hello NiKo,

the issue you report is related to a Calendar-type item found in Zimbra's RedoLog which is unparsable by Zimbra itself (hence the resolution status set to "INVALID").
The Dev Team has been notified of the case, and an appropriate ZeXtras Suite exception will be created and handled starting from ZeXtras Suite 1.8.12.

This specific issue should disappear as soon as the redolog is rotated and the mailboxd service is restarted.
Please note that it's possible that this invalid item will cause additional errors when accessed from any kind of client.