3 Replies Latest reply on Oct 3, 2017 11:26 AM by Mamta Meshram

    SMART IT : com.bmc.bsm.myit.providers.ProviderException: Error occured while reloading attributes/fields from datasource

    Mamta Meshram

      Hi All,

       

      Added a few custom fields on TMS:Task and TMS:Task SLM outer Join , but able to see 2 and not the rest ones. Database names and IDs of respective fields same in both forms.

      Also, does it matter(for SMART IT) if i keep two fields with same display name (DBName and DBID are different but same display name).

      Fields not even available in AVAILABLE FIELDS list in SMART IT for selection.

      Did refresh metadata and got below error in ux logs. Any idea on this.

      Seems something is stuck somewhere in Smart IT but do not know where and what.

      The null pointer error seems to be coming from null attribute name (not sure) , in ITSM i can access and use the fields very well.

       

      o-127.0.0.1-8229-exec-10 | RID: 32164 | DEBUG   | c.b.b.mobile.metadata.ARMetaData | Adding attribute name=null, fieldId=1550000023, dataType=4 requi

      Then :

       

      23:44:53.400 | ajp-nio-127.0.0.1-8229-exec-3  | RID: 43034 | ERROR   | c.b.b.m.s.c.CustomizationFieldServiceImpl | Metadata provider error

      1. com.bmc.bsm.myit.providers.ProviderException: Error occured while reloading attributes/fields from datasource - Task

      at com.bmc.bsm.myitsm.providers.metadata.services.MetadataServiceImpl.reloadAvailableList(MetadataServiceImpl.java:788)

      at com.bmc.bsm.myitsm.service.customization.CustomizationFieldServiceImpl.refreshAvailableList(CustomizationFieldServiceImpl.java:132)

      at com.bmc.bsm.myitsm.rest.customization.CustomizationResource.refreshAvailableFieldsMetadata(CustomizationResource.java:258)

      at sun.reflect.GeneratedMethodAccessor1043.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      at java.lang.reflect.Method.invoke(Method.java:498)

      at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)

      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)

      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)

      at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160)

      at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)

      at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)

      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)

      at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)

      at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)

      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)

      at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)

      at org.glassfish.jersey.internal.Errors.process(Errors.java:315)

      at org.glassfish.jersey.internal.Errors.process(Errors.java:297)

      at org.glassfish.jersey.internal.Errors.process(Errors.java:267)

      at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)

      at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)

      at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)

      at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)

      at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)

      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)

      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)

      at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:230)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.DevelopmentModFilter.doFilter(DevelopmentModFilter.java:43)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.InstrumentationFilter.doFilter(InstrumentationFilter.java:111)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.UserLoggingFilter.doFilter(UserLoggingFilter.java:41)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.AuthenticationFilter.processRequestBasedOnState(AuthenticationFilter.java:130)

      at com.bmc.bsm.myit.filter.AuthenticationFilter.doFilterBase(AuthenticationFilter.java:114)

      at com.bmc.bsm.myit.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:79)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:67)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.SSODecisionFilter.bypassSso(SSODecisionFilter.java:308)

      at com.bmc.bsm.myit.filter.SSODecisionFilter.handleSsoBypass(SSODecisionFilter.java:135)

      at com.bmc.bsm.myit.filter.SSODecisionFilter.doFilter(SSODecisionFilter.java:71)

      at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)

      at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:262)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at com.bmc.bsm.myit.filter.ExpiresFilter.doFilter(ExpiresFilter.java:1273)

      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:192)

      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:165)

      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)

      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)

      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:474)

      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)

      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)

      at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:624)

      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)

      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:349)

      at org.apache.coyote.ajp.AjpProcessor.service(AjpProcessor.java:478)

      at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)

      at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:789)

      at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1437)

      at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)

      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

      at java.lang.Thread.run(Thread.java:748)

      Caused by: java.lang.NullPointerException: null

      at java.util.concurrent.ConcurrentHashMap.putVal(ConcurrentHashMap.java:1011)

      at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1006)

      at com.bmc.bsm.mobile.metadata.ARMetaData.addAttribute(ARMetaData.java:290)

      at com.bmc.bsm.mobile.service.ARMetaDataService.reloadAvailableList(ARMetaDataService.java:1433)

      at com.bmc.bsm.myitsm.providers.metadata.services.MetadataServiceImpl.reloadAvailableList(MetadataServiceImpl.java:777)

      ... 80 common frames omitted