2 Replies Latest reply on Jul 5, 2007 4:28 PM by Will

    NPE Trying to Run an E-mail Gateway Import

      Hi,

       

      I just started having issues running the E-mail gateway import function. When I try it, I get the following stack trace in the Tomcat log:

      2007.06.26 10:49:54

      java.lang.NullPointerException

      at com.jivesoftware.community.impl.DbWatchManager.notifyWatchUpdate(DbWatchManager.java:647)

      at com.jivesoftware.community.impl.WatchListener.attachmentAdded(WatchListener.java:518)

      at com.jivesoftware.community.event.AttachmentEventDispatcher.dispatchEvent(AttachmentEventDispatcher.java:85)

      at com.jivesoftware.community.impl.DbForumMessage.createAttachment(DbForumMessage.java:686)

      at com.jivesoftware.community.gateway.JavaMailImporter.addAttachments(JavaMailImporter.java:1498)

      at com.jivesoftware.community.gateway.JavaMailImporter.addAttachments(JavaMailImporter.java:1547)

      at com.jivesoftware.community.gateway.JavaMailImporter.retrieveMessages(JavaMailImporter.java:368)

      at com.jivesoftware.community.gateway.JavaMailImporter.importData(JavaMailImporter.java:153)

      at com.jivesoftware.community.gateway.Pop3Importer.importData(Pop3Importer.java:79)

      at com.jivesoftware.community.gateway.GatewayImportTask.run(GatewayImportTask.java:47)

      at com.jivesoftware.util.task.TaskEngine$TaskEngineWorker.run(TaskEngine.java:389)

       

      Any ideas? If it matters, I'm running Clearspace 1.2 on Tomcat (which I downloaded in a standalone 1.1.1 package). The database that I'm using is Mysql 5.0.26 on Suse Linux 10.2.

       

      Also, when I run an e-mail import, attempting to import an HTML message results in display of the tags, rather than the formatted page. Is this expected behavior?

       

      Thanks in advance,

      Matt