java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Douglas Pace,
  • JSP Exception in Linux WAS 6.1 but not Windows WAS 6.1
    via by dach...@nortel.com,
  • GitHub comment 23#152832957
    via GitHub by jtrancas
    ,
  • [!] Error hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filter': Cannot create inner bean '(inner bean)' of type [jenkins.security.ExceptionTranslationFilter] while setting bean property 'filters' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#6': Initialization of bean failed; nested exception is java.lang.NullPointerException at hudson.WebAppMain$3.run(WebAppMain.java:234) Caused by: org.jvnet.hudson.reactor.ReactorException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filter': Cannot create inner bean '(inner bean)' of type [jenkins.security.ExceptionTranslationFilter] while setting bean property 'filters' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#6': Initialization of bean failed; nested exception is java.lang.NullPointerException at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:908) at jenkins.model.Jenkins.<init>(Jenkins.java:807) at hudson.model.Hudson.<init>(Hudson.java:82) at hudson.model.Hudson.<init>(Hudson.java:78) at hudson.WebAppMain$3.run(WebAppMain.java:222) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'filter': Cannot create inner bean '(inner bean)' of type [jenkins.security.ExceptionTranslationFilter] while setting bean property 'filters' with key [6]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#6': Initialization of bean failed; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) at hudson.util.spring.DefaultRuntimeSpringConfiguration.getApplicationContext(DefaultRuntimeSpringConfiguration.java:94) at hudson.util.spring.BeanBuilder.createApplicationContext(BeanBuilder.java:388) at hudson.security.SecurityRealm.createFilter(SecurityRealm.java:427) at hudson.security.HudsonFilter.reset(HudsonFilter.java:140) at jenkins.model.Jenkins.setSecurityRealm(Jenkins.java:2048) at jenkins.model.Jenkins$20.run(Jenkins.java:2631) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$7.runTask(Jenkins.java:897) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:701) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name '(inner bean)#6': Initialization of bean failed; nested exception is java.lang.NullPointerException at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219) ... 31 more Caused by: java.lang.NullPointerException at com.sun.beans.TypeResolver.<init>(TypeResolver.java:243) at com.sun.beans.TypeResolver.resolve(TypeResolver.java:172) at com.sun.beans.TypeResolver.resolveInClass(TypeResolver.java:93) at java.beans.FeatureDescriptor.getParameterTypes(FeatureDescriptor.java:385) at java.beans.MethodDescriptor.setMethod(MethodDescriptor.java:116) at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:74) at java.beans.MethodDescriptor.<init>(MethodDescriptor.java:58) at java.beans.Introspector.getTargetMethodInfo(Introspector.java:1185) at java.beans.Introspector.getBeanInfo(Introspector.java:409) at java.beans.Introspector.getBeanInfo(Introspector.java:175) at java.beans.Introspector.getBeanInfo(Introspector.java:238) at java.beans.Introspector.<init>(Introspector.java:390) at java.beans.Introspector.getBeanInfo(Introspector.java:175) at org.springframework.beans.CachedIntrospectionResults.<init>(CachedIntrospectionResults.java:220) at org.springframework.beans.CachedIntrospectionResults.forClass(CachedIntrospectionResults.java:144) at org.springframework.beans.BeanWrapperImpl.getCachedIntrospectionResults(BeanWrapperImpl.java:252) at org.springframework.beans.BeanWrapperImpl.getPropertyDescriptorInternal(BeanWrapperImpl.java:282) at org.springframework.beans.BeanWrapperImpl.isWritableProperty(BeanWrapperImpl.java:333) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1247) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472) ... 35 more
    via by Likith Mandali,
    • 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)

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    derproggerderprogger
    1 times, last one,
    1 more bugmates