Results 1 to 4 of 4

Thread: Filter Causes Exception?

  1. #1
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    7

    Default Filter Causes Exception?

    Using Zimbra 5.0.8 GA (2462).

    Creating the following filter causes incoming emails to be placed into the deferred queue.

    Code:
    If all of the following conditions are met:
    
    [Address In] [From] [in] [My Contacts]
    Perform the following actions:
    Keep in Inbox File into Folder [Ham]
    In checking the logs I found a bunch of this:
    Code:
    2008-07-22 12:38:57,576 INFO  [LmtpServer-25] [ip=192.168.1.5;] lmtp - Delivering message: size=4292 bytes, nrcpts=1, sender=b4after@ecs.ms00.net, msgid=<200807221600.JAA42455@s4050.ms00.net>
    2008-07-22 12:38:57,617 INFO  [LmtpServer-25] [name=<my email>;mid=5;] lmtp - try again for message <my email>: exception occurred
    java.lang.NullPointerException
            at com.zimbra.cs.index.ZimbraQuery$TextQuery.getQueryOperation(ZimbraQuery.java:1663)
            at com.zimbra.cs.index.ZimbraQuery$ParseTree$ThingNode.getQueryOperation(ZimbraQuery.java:2186) 
            at com.zimbra.cs.index.ZimbraQuery.<init>(ZimbraQuery.java:2430)
            at com.zimbra.cs.index.MailboxIndex.search(MailboxIndex.java:140)
            at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java:3680)
            at com.zimbra.cs.mailbox.Mailbox.search(Mailbox.java:3338)
            at com.zimbra.cs.filter.jsieve.AddressBookTest.test(AddressBookTest.java:157)
            at com.zimbra.cs.filter.jsieve.AddressBookTest.executeBasic(AddressBookTest.java:133)
            at org.apache.jsieve.tests.AbstractTest.execute(AbstractTest.java:58)
            at org.apache.jsieve.Test.execute(Test.java:45)
            at org.apache.jsieve.tests.AllOf.executeBasic(AllOf.java:50)
            at org.apache.jsieve.tests.AbstractTest.execute(AbstractTest.java:58)
            at org.apache.jsieve.Test.execute(Test.java:45)
            at org.apache.jsieve.TestList.execute(TestList.java:78)
            at org.apache.jsieve.commands.If.executeBasic(If.java:61)
            at org.apache.jsieve.commands.AbstractCommand.execute(AbstractCommand.java:106)
            at org.apache.jsieve.Command.execute(Command.java:38)
            at org.apache.jsieve.Commands.execute(Commands.java:82)
            at org.apache.jsieve.Block.execute(Block.java:76)
            at org.apache.jsieve.SieveParserVisitorImpl.visit(SieveParserVisitorImpl.java:195)
            at org.apache.jsieve.parser.generated.ASTstart.jjtAccept(ASTstart.java:17)
            at org.apache.jsieve.SieveFactory.evaluate(SieveFactory.java:134)
            at com.zimbra.cs.filter.RuleManager.applyRules(RuleManager.java:196)
            at com.zimbra.cs.lmtpserver.ZimbraLmtpBackend.deliverMessageToLocalMailboxes(ZimbraLmtpBackend.java:379)
            at com.zimbra.cs.lmtpserver.ZimbraLmtpBackend.deliver(ZimbraLmtpBackend.java:136)
            at com.zimbra.cs.lmtpserver.LmtpHandler.processMessageData(LmtpHandler.java:375)
            at com.zimbra.cs.lmtpserver.TcpLmtpHandler.continueDATA(TcpLmtpHandler.java:67)
            at com.zimbra.cs.lmtpserver.LmtpHandler.doDATA(LmtpHandler.java:364)
            at com.zimbra.cs.lmtpserver.LmtpHandler.processCommand(LmtpHandler.java:174)
            at com.zimbra.cs.lmtpserver.TcpLmtpHandler.processCommand(TcpLmtpHandler.java:61)
            at com.zimbra.cs.tcpserver.ProtocolHandler.processConnection(ProtocolHandler.java:160)
            at com.zimbra.cs.tcpserver.ProtocolHandler.run(ProtocolHandler.java:128)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown Source)
            at java.lang.Thread.run(Thread.java:595)
    2008-07-22 12:38:57,618 INFO  [LmtpServer-25] [] lmtp - 451 4.0.0 Temporary message delivery failure try again (DATA)
    2008-07-22 12:38:57,619 INFO  [LmtpServer-25] [] ProtocolHandler - Handler exiting normally
    Am I doing something wrong or is this a bug?
    Last edited by jerelabs; 07-23-2008 at 04:41 PM.

  2. #2
    uxbod's Avatar
    uxbod is offline Moderator
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,016
    Rep Power
    24

    Default

    Please file a bug for this. The closest thing I could find was Bug 13639 - Zmmailbox: gru with query throws illegal argument exception.

  3. #3
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    7

    Default

    Submitted Bug 30211.

    Bug 27726 is similar bug it is covering just the general NPE and not a specific situation.

  4. #4
    jerelabs is offline Active Member
    Join Date
    Jul 2007
    Posts
    30
    Rep Power
    7

    Default

    Another interesting thing I discovered. I get the same error if I try to use the Web Interface to pick search for contact from my contact list.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. LDAP Filter issue and GAL
    By G-Money in forum Administrators
    Replies: 2
    Last Post: 06-24-2010, 12:13 PM
  2. Error loading on Mac OS X 10.4.10 server PPC
    By qprcanada in forum Installation
    Replies: 7
    Last Post: 10-26-2007, 06:25 AM
  3. content filter attacked?
    By ahhhh in forum Administrators
    Replies: 2
    Last Post: 03-26-2007, 05:29 PM
  4. Bad Filter Stops Incoming Email
    By soxfan in forum Administrators
    Replies: 0
    Last Post: 03-08-2007, 09:02 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 01:01 PM

Posting Permissions

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