From users-return-8319-apmail-jackrabbit-users-archive=jackrabbit.apache.org@jackrabbit.apache.org Fri Jul 18 09:11:07 2008 Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 9114 invoked from network); 18 Jul 2008 09:11:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jul 2008 09:11:07 -0000 Received: (qmail 19483 invoked by uid 500); 18 Jul 2008 09:11:05 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 19462 invoked by uid 500); 18 Jul 2008 09:11:05 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 19451 invoked by uid 99); 18 Jul 2008 09:11:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 02:11:05 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aklimets@day.com designates 62.192.10.254 as permitted sender) Received: from [62.192.10.254] (HELO goobak01.day.com) (62.192.10.254) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Jul 2008 09:10:11 +0000 Received: by goobak01.day.com (Postfix, from userid 1212) id B18CC50825; Fri, 18 Jul 2008 11:08:54 +0200 (CEST) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.29]) by goobak01.day.com (Postfix) with ESMTP id 4E3C85081F for ; Fri, 18 Jul 2008 11:08:53 +0200 (CEST) Received: by yw-out-2324.google.com with SMTP id 3so84701ywj.31 for ; Fri, 18 Jul 2008 02:09:32 -0700 (PDT) Received: by 10.142.223.4 with SMTP id v4mr1029152wfg.107.1216372172197; Fri, 18 Jul 2008 02:09:32 -0700 (PDT) Received: by 10.142.188.14 with HTTP; Fri, 18 Jul 2008 02:09:32 -0700 (PDT) Message-ID: Date: Fri, 18 Jul 2008 11:09:32 +0200 From: "Alexander Klimetschek" To: users@jackrabbit.apache.org Subject: Re: Storing Document using JBoss throws exception In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org Hi, from looking at the sources of FileInputStream, it means it gets a null file object passed. No idea why... but On Fri, Jul 18, 2008 at 9:54 AM, wrote: > java.lang.NullPointerException > at java.io.FileInputStream.(FileInputStream.java:103) > at > org.apache.jackrabbit.core.value.BLOBInTempFile.getStream(BLOBInTempFile.java:145) It looks like you are actually not using Jackrabbit 1.4.5, because the call is at a different line in BLOBInTempFile in the 1.4.5 source code (of the jackrabbit-core jar). Try updating and see if it is (hopefully!) fixed. Regards, Alex -- Alexander Klimetschek alexander.klimetschek@day.com