java.lang.NullPointerException: null

syncope-user | Jesal Dosa | 4 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

    Apache syncope demo

    syncope-user | 4 years ago | Jesal Dosa
    java.lang.NullPointerException: null
  2. 0

    Apache syncope demo

    syncope-user | 4 years ago | Jesal Dosa
    java.lang.NullPointerException: null
  3. 0

    Apache syncope demo

    apache.org | 2 years ago
    java.lang.NullPointerException: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    To reproduce: Call the following proxied method: {code} @Caching public void someMethod(final String argument) { .... } {code} This will cause the following exception: {code} java.lang.NullPointerException: null at java.util.ArrayList.addAll(ArrayList.java:577) ~[na:1.8.0_20] at org.springframework.cache.annotation.SpringCacheAnnotationParser.parseCacheAnnotations(SpringCacheAnnotationParser.java:89) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.annotation.SpringCacheAnnotationParser.parseCacheAnnotations(SpringCacheAnnotationParser.java:58) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.annotation.AnnotationCacheOperationSource$2.getCacheOperations(AnnotationCacheOperationSource.java:124) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.annotation.AnnotationCacheOperationSource.determineCacheOperations(AnnotationCacheOperationSource.java:142) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.annotation.AnnotationCacheOperationSource.findCacheOperations(AnnotationCacheOperationSource.java:121) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.computeCacheOperations(AbstractFallbackCacheOperationSource.java:136) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.interceptor.AbstractFallbackCacheOperationSource.getCacheOperations(AbstractFallbackCacheOperationSource.java:97) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.cache.interceptor.CacheOperationSourcePointcut.matches(CacheOperationSourcePointcut.java:39) ~[spring-context-4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.springframework.aop.support.MethodMatchers.matches(MethodMatchers.java:94) ~[spring-aop-4.2.3.RELEASE.jar:4.2.3.RELEASE] {code} Although you may be thinking that including an empty @Caching annotation is a corner-case, in our particular use-case, it's required, as we're calling a custom implementation of org.springframework.cache.interceptor.CacheInterceptor. We are doing this because the @CacheEvict funtionality does not allow use to easily purge individual keys based on method args, etc...

    Spring JIRA | 1 year ago | Lev Bornovalov
    java.lang.NullPointerException: null
  6. 0

    Confused on java.util.ArrayList implementation

    Stack Overflow | 11 months ago | Panadol Chong
    java.lang.NullPointerException: null
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

    null

    at java.util.ArrayList.addAll()
  2. Java RT
    ArrayList.addAll
    1. java.util.ArrayList.addAll(ArrayList.java:472)[na:1.6.0_26]
    1 frame
  3. org.apache.syncope
    Resources$1$1$1.createPage
    1. org.apache.syncope.console.pages.panels.ResourceMappingPanel.getResourceSchemaNames(ResourceMappingPanel.java:405)[ResourceMappingPanel.class:na]
    2. org.apache.syncope.console.pages.panels.ResourceMappingPanel.initResourceSchemaNames(ResourceMappingPanel.java:383)[ResourceMappingPanel.class:na]
    3. org.apache.syncope.console.pages.panels.ResourceMappingPanel.<init>(ResourceMappingPanel.java:150)[ResourceMappingPanel.class:na]
    4. org.apache.syncope.console.pages.ResourceModalPage.<init>(ResourceModalPage.java:66)[ResourceModalPage.class:na]
    5. org.apache.syncope.console.pages.Resources$1$1$1.createPage(Resources.java:151)[Resources$1$1$1.class:na]
    5 frames
  4. Wicket Extensions
    ModalWindow.show
    1. org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.createPage(ModalWindow.java:807)[wicket-extensions-1.5.8.jar:1.5.8]
    2. org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.getWindowOpenJavaScript(ModalWindow.java:1054)[wicket-extensions-1.5.8.jar:1.5.8]
    3. org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow.show(ModalWindow.java:357)[wicket-extensions-1.5.8.jar:1.5.8]
    3 frames
  5. org.apache.syncope
    ActionLinksPanel$3.onClick
    1. org.apache.syncope.console.pages.Resources$1$1.onClick(Resources.java:157)[Resources$1$1.class:na]
    2. org.apache.syncope.console.wicket.markup.html.form.ActionLinksPanel$3.onClick(ActionLinksPanel.java:119)[ActionLinksPanel$3.class:na]
    2 frames
  6. Wicket Core
    AbstractDefaultAjaxBehavior.onRequest
    1. org.apache.wicket.ajax.markup.html.AjaxLink$1.onEvent(AjaxLink.java:86)[wicket-core-1.5.8.jar:1.5.8]
    2. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:184)[wicket-core-1.5.8.jar:1.5.8]
    3. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:369)[wicket-core-1.5.8.jar:1.5.8]
    3 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_26]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_26]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_26]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_26]
    4 frames
  8. Wicket Core
    RequestListenerInterface.invoke
    1. org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260)[wicket-core-1.5.8.jar:1.5.8]
    2. org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241)[wicket-core-1.5.8.jar:1.5.8]
    2 frames
  9. Wicket Request
    ListenerInterfaceRequestHandler.respond
    1. org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255)[wicket-core-1.5.8.jar:1.5.8]
    2. org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234)[wicket-core-1.5.8.jar:1.5.8]
    2 frames
  10. Wicket Core
    RequestCycle$HandlerExecutor.respond
    1. org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:784)[wicket-core-1.5.8.jar:1.5.8]
    1 frame
  11. Wicket Request
    RequestHandlerStack.execute
    1. org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64)[wicket-request-1.5.8.jar:1.5.8]
    1 frame
  12. Wicket Core
    WicketFilter.doFilter
    1. org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:255)[wicket-core-1.5.8.jar:1.5.8]
    2. org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:212)[wicket-core-1.5.8.jar:1.5.8]
    3. org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:283)[wicket-core-1.5.8.jar:1.5.8]
    4. org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:188)[wicket-core-1.5.8.jar:1.5.8]
    5. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:244)[wicket-core-1.5.8.jar:1.5.8]
    5 frames
  13. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)[catalina.jar:7.0.23]
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)[catalina.jar:7.0.23]
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)[catalina.jar:7.0.23]
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)[catalina.jar:7.0.23]
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)[catalina.jar:7.0.23]
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)[catalina.jar:7.0.23]
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)[catalina.jar:7.0.23]
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:928)[catalina.jar:7.0.23]
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)[catalina.jar:7.0.23]
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)[catalina.jar:7.0.23]
    10 frames
  14. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)[tomcat-coyote.jar:7.0.23]
    2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:539)[tomcat-coyote.jar:7.0.23]
    3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:300)[tomcat-coyote.jar:7.0.23]
    3 frames
  15. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[na:1.6.0_26]
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_26]
    3. java.lang.Thread.run(Thread.java:662)[na:1.6.0_26]
    3 frames