Lei - Looks like a tweak was made a few days ago that is causing this.  I will have this fixed today.

 

Andrew

 

From: vufind-general-bounces@lists.sourceforge.net [mailto:vufind-general-bounces@lists.sourceforge.net] On Behalf Of Wang, Lei
Sent: Thursday, April 10, 2008 11:32 AM
To: vufind-general@lists.sourceforge.net
Subject: Re: [VuFind-General] Import Error: Null Pointer

 

Hello -

 

For some reason, I am getting these null pointer errors again with the importer in today's build. The problem was fixed a few days ago. Does anyone else have the same issue?

 

Thanks,

Lei

 

-----Original Message-----

From: Andrew Nagy <andrew.nagy@villanova.edu> [mailto:andrew.nagy@villanova.edu]

Sent: Friday, April 04, 2008 7:31 PM

To: Andrew Nagy <andrew.nagy@villanova.edu>; Wayne Graham <wsgrah@wm.edu>; Matt Mackey <mmackey@bapl.org>

Cc: vufind-general <"vufind-general@lists.sourceforge.net">; <vufind-general@lists.sourceforge.net> <vufind-general@lists.sourceforge.net>

Subject: Re: [VuFind-General] Import Error: Null Pointer

 

I didn't get all of the changes that I wanted to get accomplished by the end of this week - but I think I got about 90% done.  I have checked in all of my modifications - so if you are interested in testing - please grab the latest version and re-import your bib data.

 

Most of the changes are around the record view page and the quality of the search results.  The schema has changed to help make these improvements.

 

Andrew

________________________________________

From: vufind-general-bounces@lists.sourceforge.net [vufind-general-bounces@lists.sourceforge.net] On Behalf Of Andrew Nagy [andrew.nagy@villanova.edu]

Sent: Friday, April 04, 2008 7:10 PM

To: Wayne Graham; Matt Mackey

Cc: vufind-general@lists.sourceforge.net

Subject: Re: [VuFind-General] Import Error: Null Pointer

 

Oops, sorry guys - looks like my latest set of changes didn't get committed to SVN.  I will make sure all of my changes are checked in.  Looks like I have most of my changes done for 0.8.1.  There will yet again be a some schema changes and therefore need an re-index.

 

Im beginning to think that blacklights completely dynamic schema is a better way to go.

 

Andrew

________________________________________

From: vufind-general-bounces@lists.sourceforge.net [vufind-general-bounces@lists.sourceforge.net] On Behalf Of Wayne Graham [wsgrah@wm.edu]

Sent: Friday, April 04, 2008 4:44 PM

To: Matt Mackey

Cc: vufind-general@lists.sourceforge.net

Subject: Re: [VuFind-General] Import Error: Null Pointer

 

Thanks Matt. Just committed the change.

 

Matt Mackey wrote:

>  I was also getting this error and it looks like some of the records

> that I was importing did not have a subfield 'd' on the 100 tag. I

> changed the MarcImporter.java file to use an if statement to check for

> the subfield 'd' and I was able to import the records.

> 

> 

> ===================================================================

> --- MarcImporter.java   (revision 461)

> +++ MarcImporter.java   (working copy)

> @@ -391,8 +391,11 @@

>                if (authorField != null) {

>                    builder.addField("author",

> authorField.getSubfield('a').getData());

>                    builder.addField("author-letter",

> authorField.getSubfield('a').getData().substri ng(0, 1));

> -                   builder.addField("auth_author",

> authorField.getSubfield('a').getData() + " " +

> -

> authorField.getSubfield('d').getData());

> +                       if (authorField.getSubfield('d') != null){

> +                               builder.addField("auth_author",

> authorField.getSubfield('a').getData () + " " +

> authorField.getSubfield('d').getData());

> +                       }else {

> +                               builder.addField("auth_author",

> authorField.getSubfield('a').getData ());

> +                       }

>         }

> 

> 

> Matt

> 

> Joel Timothy Norman wrote:

>> Error indexing

>> java.lang.NullPointerException

>>  at org.vufind.marc.MarcImporter.addToIndex(MarcImporter.java:394)

>>  at org.vufind.marc.MarcImporter.main(MarcImporter.java:193)

>> 

>> 

>> Also, I am looking for a build that had a functional importer.  We're

>> supposed to have a "somewhat" functional version for employer review.

>> 

>> 

>> ---------------------------------------------------------------------

>> ---- Check out the new SourceForge.net Marketplace.

>> It's the best place to buy or sell services for just about anything

>> Open Source.

>> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/mark

>> etplace

>> 

>> _______________________________________________

>> VuFind-General mailing list

>> VuFind-General@lists.sourceforge.net

>> https://lists.sourceforge.net/lists/listinfo/vufind-general

>> 

>> 

>> 

> 

 

-------------------------------------------------------------------------

Check out the new SourceForge.net Marketplace.

It's the best place to buy or sell services for just about anything Open Source.

http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace

_______________________________________________

VuFind-General mailing list

VuFind-General@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/vufind-general

 

-------------------------------------------------------------------------

This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2.

http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________

VuFind-General mailing list

VuFind-General@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/vufind-general

 

-------------------------------------------------------------------------

This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2.

http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________

VuFind-General mailing list

VuFind-General@lists.sourceforge.net

https://lists.sourceforge.net/lists/listinfo/vufind-general

 

 

 

 

 

--
--------------------------------------
Lei Wang, MLS
Instructional Design Librarian
Cushing / Whitney Medical Library
Yale University

 

333 Cedar Street, P.O. Box 208014
New Haven, CT 06520-8014
Email: lei.wang@yale.edu
Voice: 203.785.6485
Fax: 203.785.5636
--------------------------------------