users@glassfish.java.net

Re: glassfish v3 Java EE6 + org.jvnet.hk2.config.ValidationException

From: <glassfish_at_javadesktop.org>
Date: Tue, 13 Oct 2009 13:09:41 PDT

Suleiman,

Still, please file a bug. It is coming from an unfortunate constraint added in ApplicationRef.java @Configured interface as:

    @Attribute(key=true)
    @NotNull
    @Pattern(regexp="[\\p{L}\\p{N}_][\\p{L}\\p{N}\\-_./;#]*")
    public String getRef();

I agree, this message is rather too convoluted for a user to make any sense out of it!

Regards,
Kedar
[Message sent by forum member 'km' (kedar.mhaswade_at_sun.com)]

http://forums.java.net/jive/thread.jspa?messageID=367817