Return-Path: Delivered-To: apmail-incubator-abdera-dev-archive@locus.apache.org Received: (qmail 8381 invoked from network); 28 Jun 2006 01:52:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2006 01:52:56 -0000 Received: (qmail 62479 invoked by uid 500); 28 Jun 2006 01:52:55 -0000 Delivered-To: apmail-incubator-abdera-dev-archive@incubator.apache.org Received: (qmail 62451 invoked by uid 500); 28 Jun 2006 01:52:55 -0000 Mailing-List: contact abdera-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: abdera-dev@incubator.apache.org Delivered-To: mailing list abdera-dev@incubator.apache.org Received: (qmail 62442 invoked by uid 99); 28 Jun 2006 01:52:55 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 18:52:55 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of joe.kim@gmail.com designates 66.249.92.172 as permitted sender) Received: from [66.249.92.172] (HELO ug-out-1314.google.com) (66.249.92.172) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 18:52:54 -0700 Received: by ug-out-1314.google.com with SMTP id q2so2301914uge for ; Tue, 27 Jun 2006 18:52:33 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PB/ocO0AkpC8d2CnhkhvTCOCiIxkTF9xxGraNk3k0Bz56lmuJBA3RnhF1AWPEwwBa8T3lRL0IDZI0jVYK3esz5jnUHW2EgB3UGdhX3FZW273PlXhP62vGuH7CBJGMjsDW0KPJR1pdKqW0JRGedZQTPWu5Rd3ozizcDYfaW9li04= Received: by 10.78.140.17 with SMTP id n17mr64278hud; Tue, 27 Jun 2006 18:52:33 -0700 (PDT) Received: by 10.78.20.7 with HTTP; Tue, 27 Jun 2006 18:52:33 -0700 (PDT) Message-ID: <35379c520606271852q68c13cd6g3f3b9924e1f00280@mail.gmail.com> Date: Tue, 27 Jun 2006 18:52:33 -0700 From: "joe kim" To: abdera-dev@incubator.apache.org Subject: Getting started with Abdera MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N I setup an eclipse workspace and checked out the abdera code from SVN. I had some trouble running the example class org.apache.abdera.examples.simple.Parse. I made sure that the String passed to getResourceAsStream() was a valid path to "simple.xml". Here is the error I had: Exception in thread "main" org.apache.abdera.parser.ParseException: java.lang.NullPointerException at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:74) at org.apache.abdera.util.AbstractParser.parse(AbstractParser.java:41) at org.apache.abdera.examples.simple.Parse.main(Parse.java:33) Caused by: java.lang.NullPointerException at com.ctc.wstx.io.StreamBootstrapper.initialLoad(StreamBootstrapper.java:457) at com.ctc.wstx.io.StreamBootstrapper.resolveStreamEncoding(StreamBootstrapper.java:217) at com.ctc.wstx.io.StreamBootstrapper.bootstrapInput(StreamBootstrapper.java:103) at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:533) at com.ctc.wstx.stax.WstxInputFactory.createSR(WstxInputFactory.java:521) at com.ctc.wstx.stax.WstxInputFactory.createXMLStreamReader(WstxInputFactory.java:266) at org.apache.axiom.om.util.StAXUtils.createXMLStreamReader(StAXUtils.java:61) at org.apache.axiom.om.impl.builder.StAXOMBuilder.(StAXOMBuilder.java:96) at org.apache.abdera.parser.stax.FOMBuilder.(FOMBuilder.java:116) at org.apache.abdera.parser.stax.FOMParser.parse(FOMParser.java:70) ... 2 more Any thoughts? Are there plans to use other parsers such as JDOM? Joe