java.lang.NullPointerException

Kuali JIRA | Douglas Pace | 3 years ago
  1. 0

    Related to that I was playing with includeLineSelectionField and it appears to not be using the entire binding path. When the collection group is an item in a section with a fieldBindingObjectPath set I get the following exception. 2014-03-20 12:50:57,773 [http-bio-8080-exec-9] u:quickstart/d: ERROR org.kuali.rice.krad.web.controller.UifHandlerExceptionResolver - java.lang.NullPointerException at sun.reflect.misc.ReflectUtil.checkPackageAccess(ReflectUtil.java:164) at sun.reflect.misc.ReflectUtil.isPackageAccessible(ReflectUtil.java:195) at java.beans.Introspector.getBeanInfo(Introspector.java:154) Config: {code} <bean id="PropDev-PersonnelPage-Wizard" parent="PropDev-PersonnelPage-Wizard-parentBean" /> <bean id="PropDev-PersonnelPage-Wizard-parentBean" abstract="true" parent="Uif-VerticalBoxGroup" class="org.kuali.rice.contrib.uif.element.WizardGroup" p:fieldBindingObjectPath="addKeyPersonHelper" p:resetDataOnRefresh="true" p:retrieveViaAjax="true"> <property name="header"> <bean parent="Uif-HeaderOne" p:headerText="Add Personnel" /> </property> <property name="items"> <list> <bean parent="PropDev-PersonnelPage-WizardPage1" p:order="10" /> <bean parent="PropDev-PersonnelPage-WizardPage2" p:order="20" /> <bean parent="PropDev-PersonnelPage-WizardPage3" p:order="30" /> </list> </property> </bean> <bean id="PropDev-PersonnelPage-WizardPage2" parent="PropDev-PersonnelPage-WizardPage2-parentBean" /> <bean id="PropDev-PersonnelPage-WizardPage2-parentBean" abstract="true" parent="Uif-CssGridGroup"> <property name="items"> <list> <bean parent="PropDev-PersonnelPage-WizardPage2-Results" p:order="10" /> </list> </property> <property name="footer"> <bean parent="Uif-FooterBase"> <property name="items"> <list> <bean parent="PropDev-PersonnelPage-WizardButton-Back" p:actionParameters="PropDev-PersonnelPage-Wizard.step:0" p:order="10" /> <bean parent="PropDev-PersonnelPage-WizardButton-Continue" p:preSubmitCall="return Kc.PropDev.Personnel.verifyCollectionRadioButtons('PropDev-PersonnelPage-Wizard', 'input[type=&quot;radio&quot;]')" p:actionParameters="PropDev-PersonnelPage-Wizard.step:2" p:order="20" /> </list> </property> </bean> </property> </bean> <bean id="PropDev-PersonnelPage-WizardPage2-Results" parent="PropDev-PersonnelPage-WizardPage2-Results-parentBean" /> <bean id="PropDev-PersonnelPage-WizardPage2-Results-parentBean" abstract="true" parent="Uif-TableCollectionSection" p:headerText="Search Results" p:collectionObjectClass="org.kuali.kra.proposaldevelopment.bo.ProposalPerson" p:propertyName="results" p:additionalCssClasses="kc-personnel-table" p:renderAddLine="false" p:renderLineActions="false" p:layoutManager.renderSequenceField="false"> <property name="layoutManager.richTable.templateOptions"> <map> <entry key="bAutoWidth" value="false" /> <entry key="sDom" value="tip" /> <entry key="bRetrieve" value="true" /> <entry key="sPaginationType" value="full_numbers" /> <entry key="aaSorting" value="[[1,'asc']]" /> <entry key="aoColumnDefs" value="[{'sWidth' : '20px', 'bSortable':false, 'aTargets' : [0]}]" /> </map> </property> <property name="items"> <list> <bean parent="Uif-InputField" p:propertyName="selected" p:required="true" p:label="" p:readOnly="false" p:order="10" p:cssClasses="one_required"> <property name="control"> <bean parent="Uif-VerticalRadioControl"> <property name="options"> <list> <bean parent="Uif-KeyLabelPair" p:key="Y" p:value="" /> </list> </property> </bean> </property> <property name="onClickScript" value="Kc.PropDev.Personnel.unselectCollectionRadioButtons(this, &quot;input[name$='selected']&quot;);" /> </bean> <bean parent="Uif-InputField" p:propertyName="fullName" p:label="Name" p:readOnly="true" p:order="20" /> <bean parent="Uif-InputField" p:propertyName="userName" p:label="User ID" p:readOnly="true" p:order="30" /> </list> </property> </bean> {code}

    Kuali JIRA | 3 years ago | Douglas Pace
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    setAssociatedAction() and setAssociatedScreen() not working

    Stack Overflow | 3 years ago | Geoware
    java.lang.NullPointerException

    4 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at sun.reflect.misc.ReflectUtil.checkPackageAccess()
    2. Java RT
      Introspector.getBeanInfo
      1. sun.reflect.misc.ReflectUtil.checkPackageAccess(ReflectUtil.java:164)
      2. sun.reflect.misc.ReflectUtil.isPackageAccessible(ReflectUtil.java:195)
      3. java.beans.Introspector.getBeanInfo(Introspector.java:154)
      3 frames