Skip to content

Instantly share code, notes, and snippets.

View vertein's full-sized avatar

Timothy A Vertein vertein

View GitHub Profile
PROJECTS_HOME=~/git/
UPHOME=$PROJECTS_HOME/uPortal/
function upDeployPortlet(){
pushd $UPHOME/
echo "pushed to $UPHOME"
echo "what am I deploying $@"
ant deployPortletApp -DportletApp="$@"
popd
pwd
SEVERE: Servlet.service() for servlet PortletMarketplace threw exception
java.lang.NullPointerException
at org.jasig.portal.portlet.registry.PortletCategoryRegistryImpl.getTopLevelPortletCategory(PortletCategoryRegistryImpl.java:242)
at org.jasig.portal.portlets.marketplace.PortletMarketplaceController.setUpInitialView(PortletMarketplaceController.java:225)
at org.jasig.portal.portlets.marketplace.PortletMarketplaceController.initializeView(PortletMarketplaceController.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:176)