Hi helix84:
I read the file RoleDisseminator.java, in 254 line there is no a command.
//Only disseminate an <People> element if some people exist
238 if(people!=null)
239 {
240 writer.writeStartElement(EPERSONS);
241
242 for (EPerson eperson : people)
243 {
244 writeEPerson(eperson, writer,
emitPasswords);
245 }
246
247 writer.writeEndElement(); // EPERSONS
248 }
249
250 writer.writeEndElement(); // DSPACE_ROLES
251 writer.writeEndDocument();
252 writer.close();
253 }//end if Groups or People exist
254 }
255 catch (Exception e)
256 {
257 throw new PackageException(e);
258 }
259 }
When I write the query in psql "select * from eperson", the system show me
the users with passwords.That's ok.
Luis
2013/3/5 helix84 <[email protected]>
> On Mon, Mar 4, 2013 at 11:55 PM, Luis Alberto Maguiña Silva
> <[email protected]> wrote:
> > We use DSpace 3.1, we have a problem:
>
>
> > Caused by: org.dspace.content.packager.PackageException:
> > java.lang.NullPointerException, Reason: java.lang.NullPointerException
> > at
> >
> org.dspace.content.packager.RoleDisseminator.writeToStream(RoleDisseminator.java:254)
>
> Hi Luis,
>
> you say you're using DSpace 3.1. This is the place in the source code
> where the NullPointerException is reported:
>
>
> https://github.com/DSpace/DSpace/blob/dspace-3.1/dspace-api/src/main/java/org/dspace/content/packager/RoleDisseminator.java#L254
>
> But that seems wrong, there's no command on that line. Did you modify
> your source code in any way? What is on line 254 in that file in your
> source code?
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
Luis Maguiña
Linux user number 386737
Estás en tierra de Linux. En las noches tranquilas, se puede escuchar en la
lejanía el ruido de las máquinas de windows reiniciándose una y otra vez
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette