Skip to main content

Posts

Showing posts with the label NullPointerException

Webcenter folder not working 11.1.1.6 NullPointerException

Our WebCenter portal has a custom menu and when clicking on a folder link I got an empty popup then next click a NullPointerException. Fix just added a check and disable the links we where using if they are not navigable. <af:commandLink id="mnuCbx"       actionListener="#{navigationBean.processAction}"       blocking="true" action="pprnav"       disabled="#{!node.navigable}">     <af:outputText value="#{node.title}" id="pt_ot2"/>     <f:attribute name="node" value="#{node}"/>     <f:attribute name="treeLink" value="#{true}"/> </af:commandLink> Very cool document - set of expressions for web center and an explanation http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_app_els.htm

JIRA: Exception caught in 500 page null : java.lang.NullPointerException

I imported my buzilla database into JIRA and could not search on external id field after the import. I was getting the following error in the logs: java.lang.NullPointerException         at com.atlassian.jira.issue.customfields.searchers.transformer.FreeTextCustomFieldSearchInputTransformer.validateParams(FreeTextCustomFieldSearchInputTransformer.java:60) Step 1 was to remove the Freetext search from the External ID custom field. I then added the freetext search back to the custom field. I then reindexed and like magic my error went away.