Full/Smart Scan - java.lang.NullPointerException - ZEBackupStats
Results 1 to 2 of 2

Thread: Full/Smart Scan - java.lang.NullPointerException - ZEBackupStats

  1. #1
    Junior Member
    Join Date
    Dec 2013
    Posts
    1

    Full/Smart Scan - java.lang.NullPointerException - ZEBackupStats

    When you run any of the two operations (full/smart) the following error occurs:

    - exception -
    java.lang.NullPointerException
    at com.zextras.backup.ZEBackupStats.set ( ZEBackupStats.java:147 )
    at com.zextras.op.backup.ZESmartScanOperation.saveSma rtScanStats ( ZESmartScanOperation.java:291 )
    at com.zextras.op.backup.ZESmartScanOperation.doOpera tion ( ZESmartScanOperation.java:238 )
    at com.zextras.op.ZEOperation.exec ( ZEOperation.java:652 )
    at com.zextras.backup.ZEBackupThread.execOperation ( ZEBackupThread.java:225 )
    at com.zextras.backup.ZEBackupThread.run ( ZEBackupThread.java:114 )


    Operation requested by: zimbra

    ZeXtras Version: 1.8.12
    ZeXtras commit: d9c37ee146f9127226615a9272e1b60088cb8a35
    Zimbra version: 8.0.1_GA_5438 20121105164409 20121105-1649 FOSS

    Last progress info:
    --
    Operation log path: none
    Purge Account Checked: 618/618
    Account scanned: 618/618
    Account skipped(disabled by COS): 1
    Account updated/new: 11/0
    Item scanned: 903087
    Item updated/new/unique: 4721/179/139


    In the mailbox.log appears

    ERROR [ZxBackup Thread] [] extensions - Unable to read backup file: /mnt/zbackup/backups_zimbra/smartstat
    ERROR [ZxBackup Thread] [] extensions - Unable to read backup file: /mnt/zbackup/backups_zimbra/smartstat
    WARN [ZxBackup Thread] [] extensions - ZxBackup Thread: java.lang.NullPointerException
    at com.zextras.backup.ZEBackupStats.set ( ZEBackupStats.java:147 )
    at com.zextras.op.backup.ZESmartScanOperation.saveSma rtScanStats ( ZESmartScanOperation.java:291 )
    at com.zextras.op.backup.ZESmartScanOperation.doOpera tion ( ZESmartScanOperation.java:238 )
    at com.zextras.op.ZEOperation.exec ( ZEOperation.java:652 )
    at com.zextras.backup.ZEBackupThread.execOperation ( ZEBackupThread.java:225 )
    at com.zextras.backup.ZEBackupThread.run ( ZEBackupThread.java:114 )
    ERROR [ZxBackup Thread] [] extensions - Unable to read backup file: /mnt/zbackup/backups_zimbra/smartstat

    I connect with the zimbra user, I can read files in the directory. I run a cat over this file or run a touch over new one and i haven't any problem.

    The original directory is on another server and zimbra servers mounts over nfs /opt/zbackup /mnt/zbackup nfs nfsvers=3,bg,retry=30,nolock 0 0
    Last edited by jmgh; 12-30-2013 at 10:20 AM.

  2. #2
    ZeXtras Developer ZeroZeroOne ZeXtras Reseller
    Participant

    Join Date
    Jun 2011
    Posts
    23
    Hi jmjh,

    My guess is that the stats file is somehow corrupted.
    Could you please send us a copy of /mnt/zbackup/backups_zimbra/smartstat to community@zextras.com so we can give a look at it?

    Anyway, you can delete /mnt/zbackup/backups_zimbra/smartstat (it's not a vital file) and try again?

    Thanks.
    kral

    ZeXtras Website # ZeXtras Wiki # ZeXtras Store

    ZeXtras Software Alchemist

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •