Hi, I create a portlet-entry by using BasePortletEntry() BasePortletEntry bpe = new BasePortletEntry(); Then I add MediaType like this bpe.addMediaType("html"); But there is an error "java.lang.NullPointerException" occured. So the portlet-entry can't be created in .xreg file. Can you help me to add Media Type for portlet entry? I'm using Tomcat4.0.3 and Jetspeed 1.4b1 Thank you very much! Thai -------------------------- Email: st027235@ait.ac.th bqthai@ctu.edu.vn Room: C34 Tel: 524-7099 ---------------------------------------------------------- This mail sent through AIT WebMail : http://www.ait.ac.th/ -- To unsubscribe, e-mail: For additional commands, e-mail: