portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <pau...@apache.org>
Subject Re: Problems with PSMLDocument.java
Date Mon, 18 Mar 2002 22:41:48 GMT

Why are you not using the PSMLDocument class define in 

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:jetspeed-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@jakarta.apache.org>

View raw message