From: Fischer, A. <ann...@hp...> - 2006-07-17 12:16:34
|
I do set the section pointer before creating the certificate. I also created an EKCertificate successfully, only the PECertificate fails. I think it must be something else. Cheers, Anna -----Original Message----- From: Martin Pirker [mailto:Mar...@ia...]=20 Sent: Montag, 17. Juli 2006 12:05 To: tru...@li... Cc: Fischer, Anna Subject: Re: [Trustedjava-support] Error creating PECertificate Hi Anna... Fischer, Anna wrote: > I get an error when creating a PECertificate. It seems as if I've missed > an attribute in my property file, but I don't really know what the > problem is. I get a NumberFormatException because something is NULL, but > I can't see what exactly is missing. Can you check that for me? It must > be in Properties.java:190, but please see the attached error log. Set the current section pointer to the properties of the certificate you want to create: properties.setSectionPointer("PE") PECertificate.create(properties, ....) PECertificate.create(...) internally never actually specifies a section when reading properties but always takes the current section. I'm sorry, I guess that precondition was forgotten in the Javadocs :-/ Martin |