Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: [SOLVED] Attachment "View as HTML" not working only asks to download?

  1. #11
    Join Date
    May 2008
    Location
    Illinois
    Posts
    32
    Rep Power
    7

    Default HTML Conversion Error java.lang.NullPointerException

    I know it's been a while since I have last posted on this thread but I ended up trying the workaround and upgrading to convertd V2. Now when I try to view html i get this error on the opened document in my browser.

    HTML Conversion Error

    java.lang.NullPointerException


    Any ideas?

    Thanks!

    Here is the error from the mailbox.log:

    Code:
    2009-12-14 07:13:51,842 ERROR [btpool0-805] [] convert - error for 'Windows Movie Maker outline.doc'
    java.lang.NullPointerException
        at com.zimbra.cs.mime.MimeHandlerManager$HandlerInfo.getInstance(MimeHandlerManager.java:49)
        at com.zimbra.cs.mime.MimeHandlerManager.getMimeHandler(MimeHandlerManager.java:84)
        at com.zimbra.cs.service.ConverterServlet.sendbackConvertedDoc(ConverterServlet.java:160)
        at com.zimbra.cs.service.ConverterServlet.doGet(ConverterServlet.java:81)
        at com.zimbra.cs.extension.ExtensionDispatcherServlet.service(ExtensionDispatcherServlet.java:99)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:363)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:268)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:126)
        at com.zimbra.cs.service.formatter.NativeFormatter.handleConversion(NativeFormatter.java:209)
        at com.zimbra.cs.service.formatter.NativeFormatter.handleMessagePart(NativeFormatter.java:176)
        at com.zimbra.cs.service.formatter.NativeFormatter.handleMessage(NativeFormatter.java:115)
        at com.zimbra.cs.service.formatter.NativeFormatter.formatCallback(NativeFormatter.java:84)
        at com.zimbra.cs.service.formatter.Formatter.format(Formatter.java:84)
        at com.zimbra.cs.service.UserServlet.doAuthGet(UserServlet.java:496)
        at com.zimbra.cs.service.UserServlet.doGet(UserServlet.java:399)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
        at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:187)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1102)
        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
        at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:130)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:716)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:406)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:350)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
        at org.mortbay.jetty.Server.handle(Server.java:313)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:489)
        at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:820)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:514)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:364)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
    Last edited by jisenburg; 12-14-2009 at 10:06 AM.

  2. #12
    Join Date
    May 2008
    Location
    Illinois
    Posts
    32
    Rep Power
    7

    Default

    With the awesome help from Zimbra support! All that was needed was to perform the operations from this link.

    Conversion: Unable to instantiate MIME handler - Zimbra :: Wiki

    Thanks Zimbra for being so awesome when it comes to solving problems that rarely ever come up.

Similar Threads

  1. briefcase - download not working
    By zimbrero in forum Installation
    Replies: 2
    Last Post: 03-13-2009, 01:35 AM
  2. Replies: 8
    Last Post: 09-18-2008, 06:51 PM
  3. cannot download any attachment
    By kowell in forum Developers
    Replies: 2
    Last Post: 06-06-2006, 09:04 AM
  4. Replies: 3
    Last Post: 05-12-2006, 05:19 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
  •