Paul,
The methods that are defined in the
org.apache.jetspeed.om.profile.PSMLDocument class are totally different than
the ones defined in org.apache.jetspeed.util.customization.PSMLDocument.
I researched the org.apache.jetspeed.om.profile.PSMLDocument methods but
none seemed to fit my task of testing if a PSML entry exists, like the
inDocument does.
I am pretty much a java newbie so if I am missing something obvious please
tell me.
Thanks
Mark




-----Original Message-----
From: Paul Spencer [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 18, 2002 5:42 PM
To: Jetspeed Users List
Subject: Re: Problems with PSMLDocument.java


Mark,

Why are you not using the PSMLDocument class define in 
org.apache.jetspeed.om.profile.PSMLDocument?

Paul Spencer

Burmeister, Mark wrote:

> I am trying to use the inDocument method in PSMLDocument.java.
> Every time I try to create a reference to that class with the following
line
> of code:
> 
> PSMLDocument userAccepted = new PSMLDocument( data );
> 
> I get the following exception:  
> 
> Horrible Exception: java.lang.NullPointerException at
>
org.apache.jetspeed.util.customization.JetspeedColors.(JetspeedColors.java:9
> 2) 
> 
> What I have found in the jetspeedResources.java file on line 126
>     public static final String HTML_HEX_COLOR_KEY = "html.hex.color.";
> is not defined in the jetspeedResources.properties file.  
> JetspeedColors needs this to function properly.
> 
> This is what is causing the exception I am getting, I think.  
> Do I need to add something to my jetspeedResources.properties file, and if
> so what????
> 
> I would really like to use this method to test if something exists in my
> PSML file.  If anyone has a working alternative or knows of a work around
I
> would be very interested.
> 
> 



--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

Reply via email to