> GenericValidatingPackager packager1 = new GenericValidatingPackager();
> packager1.readFile("base1.xml");
> m.setPackager(packager1);
>
>
> but i'm getting this error
>
> java.lang.NullPointerException
> at
[snip]
I suspect something has been broken in your copy of base1.xml, or
perhaps your base1.xml file is not in your runtime directory and needs
further path qualification?
Have you adjusted the file at all?
Can you try qualify it's location on your file system more precisely to
the readFile call?
Your version of this code does not match mine, which version are you
using? As this seems to be 'test code', perhaps you could get the
latest version and try again (as well as my suggestions above)?
Perhaps we could improve the defensiveness of the
GenericValidatingPackager.readFile code (or the Exception thrown)
perhaps; but first let's see what you are doing wrong 8).
--
Mark
--
jPOS is licensed under AGPL - free for community usage for your open-source project. Licenses are also available for commercial usage.
Please support jPOS, contact: sa...@jpos.org
You received this message because you are subscribed to the "jPOS Users" group.
Please see http://jpos.org/wiki/JPOS_Mailing_List_Readme_first
To post to this group, send email to jpos-...@googlegroups.com
To unsubscribe, send email to jpos-users+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jpos-users
xml"));
m.setPackager(packager);