java.lang.NullPointerException

Kuali JIRA | Ramya Rajesh | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The CGIN document throws STE when created using Billing Method = "Milestone" java.lang.NullPointerException at org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectImplementation(RemoteModuleServiceBase.java:420) at org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectDictionaryEntry(RemoteModuleServiceBase.java:136) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getBusinessObjectEntry(DataDictionaryIndexMapper.java:168) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getDictionaryObjectEntry(DataDictionaryIndexMapper.java:127) at org.kuali.rice.krad.datadictionary.DataDictionary.getDictionaryObjectEntry(DataDictionary.java:265) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getAttributeDefinition(DataDictionaryServiceImpl.java:541) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.isAttributeDefined(DataDictionaryServiceImpl.java:341) at org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validatePrimitiveFromDescriptor(DictionaryValidationServiceImpl.java:188) at org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validatePrimitivesFromDescriptors(DictionaryValidationServiceImpl.java:171) at org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validateBusinessObject(DictionaryValidationServiceImpl.java:111) at org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl.validateUpdatabableReferencesRecursively(DictionaryValidationServiceImpl.java:298) at org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validateDocumentAndUpdatableReferencesRecursively(DictionaryValidationServiceImpl.java:64) at org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl.validateDocumentAndUpdatableReferencesRecursively(DictionaryValidationServiceImpl.java:216) at org.kuali.rice.krad.rules.DocumentRuleBase.processSaveDocument(DocumentRuleBase.java:154) at org.kuali.rice.krad.rules.rule.event.SaveDocumentEvent.invokeRuleMethod(SaveDocumentEvent.java:71) at org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:83) at org.kuali.rice.krad.document.DocumentBase.validateBusinessRules(DocumentBase.java:494) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocument(DocumentServiceImpl.java:851) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocumentAndSaveAdHocRoutingRecipients(DocumentServiceImpl.java:470) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:129) at org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:110) at org.kuali.kfs.module.ar.batch.service.impl.ContractsGrantsInvoiceCreateDocumentServiceImpl.createCGInvoiceDocumentsByAwards(ContractsGrantsInvoiceCreateDocumentServiceImpl.java:133)

    Kuali JIRA | 3 years ago | Ramya Rajesh
    java.lang.NullPointerException
  2. 0

    The Workgroup ID and Role Name lookups are throwing errors when trying to invoke them from the Document Operation screen (Admin Tab > Workflow Channel > Document Operation). workgroup id lookup error {code} ******************Stack Trace-Only shown when not in production***************** java.lang.NullPointerException at org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectImplementation(RemoteModuleServiceBase.java:420) at org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectDictionaryEntry(RemoteModuleServiceBase.java:136) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getBusinessObjectEntry(DataDictionaryIndexMapper.java:168) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getDictionaryObjectEntry(DataDictionaryIndexMapper.java:127) at org.kuali.rice.krad.datadictionary.DataDictionary.getDictionaryObjectEntry(DataDictionary.java:265) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getAttributeDefinition(DataDictionaryServiceImpl.java:541) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getAttributeSecurity(DataDictionaryServiceImpl.java:285) at org.kuali.rice.krad.service.impl.DataObjectAuthorizationServiceImpl.attributeValueNeedsToBeEncryptedOnFormsAndLinks(DataObjectAuthorizationServiceImpl.java:46) at org.kuali.rice.kns.web.struts.action.KualiAction.retrieveLookupParameterValue(KualiAction.java:427) at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:511) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:129) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} Role Name error {code} java.lang.IllegalArgumentException: The class (org.kuali.rice.kim.bo.Role) cannot be found by this particular application. ApplicationBaseUrl: http://env8.rice.kuali.org ; baseLookupUrl: at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:471) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:129) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} To recreate... 1. Create a new sample eDoc lite doc. a. Main Menu > Workflow Channel > eDoc Lite b. Click Search then Create Document action on the eDocExample1Doctype c. Fill out the document and hit submit noting the docID 2. From the Document Operation screen (Admin tab > Workflow channel) use the docID you just created. a. In the first Action Requests section click the lookup icon next to Workgroup ID or Role Name to receive the error

    Kuali JIRA | 4 years ago | Matt Sargent
    java.lang.NullPointerException
  3. 0

    The Workgroup ID and Role Name lookups are throwing errors when trying to invoke them from the Document Operation screen (Admin Tab > Workflow Channel > Document Operation). workgroup id lookup error {code} ******************Stack Trace-Only shown when not in production***************** java.lang.NullPointerException at org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectImplementation(RemoteModuleServiceBase.java:420) at org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectDictionaryEntry(RemoteModuleServiceBase.java:136) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getBusinessObjectEntry(DataDictionaryIndexMapper.java:168) at org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getDictionaryObjectEntry(DataDictionaryIndexMapper.java:127) at org.kuali.rice.krad.datadictionary.DataDictionary.getDictionaryObjectEntry(DataDictionary.java:265) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getAttributeDefinition(DataDictionaryServiceImpl.java:541) at org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getAttributeSecurity(DataDictionaryServiceImpl.java:285) at org.kuali.rice.krad.service.impl.DataObjectAuthorizationServiceImpl.attributeValueNeedsToBeEncryptedOnFormsAndLinks(DataObjectAuthorizationServiceImpl.java:46) at org.kuali.rice.kns.web.struts.action.KualiAction.retrieveLookupParameterValue(KualiAction.java:427) at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:511) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:129) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} Role Name error {code} java.lang.IllegalArgumentException: The class (org.kuali.rice.kim.bo.Role) cannot be found by this particular application. ApplicationBaseUrl: http://env8.rice.kuali.org ; baseLookupUrl: at org.kuali.rice.kns.web.struts.action.KualiAction.performLookup(KualiAction.java:471) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:269) at org.kuali.rice.kns.web.struts.action.KualiAction.dispatchMethod(KualiAction.java:171) at org.kuali.rice.kns.web.struts.action.KualiAction.execute(KualiAction.java:129) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor$1.doInTransaction(KualiRequestProcessor.java:496) at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:130) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processActionPerform(KualiRequestProcessor.java:492) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.processFormActionAndForward(KualiRequestProcessor.java:221) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.strutsProcess(KualiRequestProcessor.java:208) at org.kuali.rice.kns.web.struts.action.KualiRequestProcessor.process(KualiRequestProcessor.java:95) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913) at org.kuali.rice.kns.web.struts.action.KualiActionServlet.process(KualiActionServlet.java:198) at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:462) at javax.servlet.http.HttpServlet.service(HttpServlet.java:641) at javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:78) at org.kuali.rice.kew.web.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:62) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:89) at org.kuali.rice.kew.web.UserLoginFilter.doFilter(UserLoginFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:271) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:96) at org.kuali.rice.kew.web.DummyLoginFilter.doFilter(DummyLoginFilter.java:55) at org.kuali.rice.kew.web.BootstrapFilterChain.doFilter(BootstrapFilter.java:264) at org.kuali.rice.kew.web.BootstrapFilter.doFilter(BootstrapFilter.java:162) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.core.web.Log4JContextClearingFilter.doFilterInternal(Log4JContextClearingFilter.java:37) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.kuali.rice.krad.web.filter.HideWebInfFilter.doFilter(HideWebInfFilter.java:69) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.springframework.web.filter.AbstractRequestLoggingFilter.doFilterInternal(AbstractRequestLoggingFilter.java:193) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} To recreate... 1. Create a new sample eDoc lite doc. a. Main Menu > Workflow Channel > eDoc Lite b. Click Search then Create Document action on the eDocExample1Doctype c. Fill out the document and hit submit noting the docID 2. From the Document Operation screen (Admin tab > Workflow channel) use the docID you just created. a. In the first Action Requests section click the lookup icon next to Workgroup ID or Role Name to receive the error

    Kuali JIRA | 4 years ago | Matt Sargent
    java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Jenkins associates this change set with the failure - http://ci.rice.kuali.org/view/rice-2.4/job/rice-2.4-test-integration-krad-mysql-freestyle/118/changes#detail0 http://ci.rice.kuali.org/view/rice-2.4/job/rice-2.4-test-integration-krad-mysql-freestyle/lastCompletedBuild/testReport/org.kuali.rice.krad.datadictionary/ExtensionAttributeTest/testBOMetaDataService/ {code} java.lang.NullPointerException: null at org.kuali.rice.krad.service.impl.KNSLegacyDataAdapterImpl.listPrimaryKeyFieldNames(KNSLegacyDataAdapterImpl.java:406) at org.kuali.rice.krad.service.impl.KNSLegacyDataAdapterImpl.allPrimaryKeyValuesPresentAndNotWildcard(KNSLegacyDataAdapterImpl.java:374) at org.kuali.rice.krad.service.impl.LegacyDataAdapterImpl.allPrimaryKeyValuesPresentAndNotWildcard(LegacyDataAdapterImpl.java:154) at org.kuali.rice.krad.service.impl.LookupServiceImpl.allPrimaryKeyValuesPresentAndNotWildcard(LookupServiceImpl.java:81) at org.kuali.rice.krad.service.impl.LookupServiceImpl.findCollectionBySearchHelper(LookupServiceImpl.java:60) at org.kuali.rice.krad.service.impl.LookupServiceImpl.findCollectionBySearchHelper(LookupServiceImpl.java:53) at org.kuali.rice.krad.service.impl.LookupServiceImpl.findCollectionBySearch(LookupServiceImpl.java:47) at org.kuali.rice.krad.messages.providers.DatabaseMessageProvider.getMessageByCriteria(DatabaseMessageProvider.java:104) at org.kuali.rice.krad.messages.providers.DatabaseMessageProvider.getAllMessagesForComponent(DatabaseMessageProvider.java:58) at org.kuali.rice.krad.messages.MessageServiceImpl.getAllMessagesForComponent(MessageServiceImpl.java:144) at org.kuali.rice.krad.messages.MessageServiceImpl.getAllMessagesForComponent(MessageServiceImpl.java:130) at org.kuali.rice.krad.datadictionary.MessageBeanProcessor.processBeanMessages(MessageBeanProcessor.java:167) at org.kuali.rice.krad.datadictionary.MessageBeanProcessor.processRootBeanDefinition(MessageBeanProcessor.java:65) at org.kuali.rice.krad.datadictionary.DictionaryBeanFactoryPostProcessor.processRootBeanDefinition(DictionaryBeanFactoryPostProcessor.java:113) at org.kuali.rice.krad.datadictionary.DictionaryBeanFactoryPostProcessor.postProcessBeanFactory(DictionaryBeanFactoryPostProcessor.java:99) at org.kuali.rice.krad.datadictionary.DataDictionary$1.call(DataDictionary.java:212) at org.kuali.rice.krad.datadictionary.DataDictionary$1.call(DataDictionary.java:200) at org.kuali.rice.krad.uif.lifecycle.ViewLifecycle.encapsulateInitialization(ViewLifecycle.java:868) at org.kuali.rice.krad.datadictionary.DataDictionary.performDictionaryPostProcessing(DataDictionary.java:200) at org.kuali.rice.krad.datadictionary.DataDictionary.parseDataDictionaryConfigurationFiles(DataDictionary.java:110) at org.kuali.rice.krad.datadictionary.ExtensionAttributeTest.setUp(ExtensionAttributeTest.java:106) {code}

    Kuali JIRA | 3 years ago | Erik Meade
    java.lang.NullPointerException: null
  6. 0

    Metadata providers not able to return type for component.name in parameter.xml. Looks like an issue with the embedded set up. The DataDictionary validation fails to validate the PrimitiveAttributeDefinition defined in the Parameter.xml DD as follows {code:title=Parameter.xml} <bean parent="PrimitiveAttributeDefinition" p:sourceName="component.name" p:targetName="name" /> {code} and throws the trace {code:title=stack trace} 2013-08-29 08:53:37,521 [main] u:/d: ERROR org.kuali.rice.krad.datadictionary.DataDictionary - *********************************************************** 2013-08-29 08:53:37,521 [main] u:/d: ERROR org.kuali.rice.krad.datadictionary.DataDictionary - ERRORS OR WARNINGS REPORTED UPON DATA DICTIONARY VALIDATION 2013-08-29 08:53:37,521 [main] u:/d: ERROR org.kuali.rice.krad.datadictionary.DataDictionary - *********************************************************** 2013-08-29 08:53:37,521 [main] u:/d: ERROR org.kuali.rice.krad.datadictionary.DataDictionary - Dictionary Error Detected: Source and target of different types Bean: BusinessObjectEntry(ParameterBo).RelationshipDefinition(Attribute: component).PrimitiveAttributeDefinition(NOBEANID) Values involved: source = org.kuali.rice.coreservice.impl.parameter.ParameterBo.component.name' (null) target = org.kuali.rice.coreservice.impl.component.ComponentBo.name' (class java.lang.String) 2013-08-29 08:53:37,522 [main] u:/d: ERROR org.kuali.rice.core.web.listener.KualiInitializeListener - problem during context.refresh() org.kuali.rice.krad.datadictionary.DataDictionaryException: Errors during DD validation, failing validation. at org.kuali.rice.krad.datadictionary.DataDictionary.validateDD(DataDictionary.java:270) at org.kuali.rice.krad.config.KRADConfigurer.loadDataDictionary(KRADConfigurer.java:122) {code} This seems to validate correctly in bundled mode however. When I step through the code, I notice that the CompositeMetadataProvider is able to provide the type for component.name in bundled mode but is not able to in embedded mode and returns null. Perhaps the masterMetadataMap is not initialized correctly in embedded mode? The provider is not able to find a value for it in the metadataMap while startup. I notice that the metadata for ParameterBO or ComponentBO are not added to the metadataMap via the method mergeMetadataForType in the CompositeMetadatProviderImpl class when KC starts up . It looks like it should. Are we missing some config param that should cause this to load?

    Kuali JIRA | 4 years ago | Gayathri Athreya
    org.kuali.rice.krad.datadictionary.DataDictionaryException: Errors during DD validation, failing validation.

    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 org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectImplementation()
    2. org.kuali.rice
      DocumentServiceImpl.saveDocument
      1. org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectImplementation(RemoteModuleServiceBase.java:420)
      2. org.kuali.rice.krad.service.impl.RemoteModuleServiceBase.getExternalizableBusinessObjectDictionaryEntry(RemoteModuleServiceBase.java:136)
      3. org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getBusinessObjectEntry(DataDictionaryIndexMapper.java:168)
      4. org.kuali.rice.krad.datadictionary.DataDictionaryIndexMapper.getDictionaryObjectEntry(DataDictionaryIndexMapper.java:127)
      5. org.kuali.rice.krad.datadictionary.DataDictionary.getDictionaryObjectEntry(DataDictionary.java:265)
      6. org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.getAttributeDefinition(DataDictionaryServiceImpl.java:541)
      7. org.kuali.rice.krad.service.impl.DataDictionaryServiceImpl.isAttributeDefined(DataDictionaryServiceImpl.java:341)
      8. org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validatePrimitiveFromDescriptor(DictionaryValidationServiceImpl.java:188)
      9. org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validatePrimitivesFromDescriptors(DictionaryValidationServiceImpl.java:171)
      10. org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validateBusinessObject(DictionaryValidationServiceImpl.java:111)
      11. org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl.validateUpdatabableReferencesRecursively(DictionaryValidationServiceImpl.java:298)
      12. org.kuali.rice.kns.service.impl.DictionaryValidationServiceImpl.validateDocumentAndUpdatableReferencesRecursively(DictionaryValidationServiceImpl.java:64)
      13. org.kuali.rice.krad.service.impl.DictionaryValidationServiceImpl.validateDocumentAndUpdatableReferencesRecursively(DictionaryValidationServiceImpl.java:216)
      14. org.kuali.rice.krad.rules.DocumentRuleBase.processSaveDocument(DocumentRuleBase.java:154)
      15. org.kuali.rice.krad.rules.rule.event.SaveDocumentEvent.invokeRuleMethod(SaveDocumentEvent.java:71)
      16. org.kuali.rice.krad.service.impl.KualiRuleServiceImpl.applyRules(KualiRuleServiceImpl.java:83)
      17. org.kuali.rice.krad.document.DocumentBase.validateBusinessRules(DocumentBase.java:494)
      18. org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocument(DocumentServiceImpl.java:851)
      19. org.kuali.rice.krad.service.impl.DocumentServiceImpl.validateAndPersistDocumentAndSaveAdHocRoutingRecipients(DocumentServiceImpl.java:470)
      20. org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:129)
      21. org.kuali.rice.krad.service.impl.DocumentServiceImpl.saveDocument(DocumentServiceImpl.java:110)
      21 frames
    3. org.kuali.kfs
      ContractsGrantsInvoiceCreateDocumentServiceImpl.createCGInvoiceDocumentsByAwards
      1. org.kuali.kfs.module.ar.batch.service.impl.ContractsGrantsInvoiceCreateDocumentServiceImpl.createCGInvoiceDocumentsByAwards(ContractsGrantsInvoiceCreateDocumentServiceImpl.java:133)
      1 frame