From: Martin P. <Mar...@ia...> - 2006-07-17 11:05:42
|
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 |