ICEpush
  1. ICEpush
  2. PUSH-76

NullPointerException in annotation scanning

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha3
    • Fix Version/s: 2.0-Alpha3
    • Component/s: None
    • Labels:
      None
    • Environment:
      ICEfaces, Grails

      Description

      java.lang.NullPointerException
          at org.icepush.util.AnnotationScanner.getWebArchives(AnnotationScanner.java:181)
          at org.icepush.util.AnnotationScanner.getClasses(AnnotationScanner.java:80)
          at org.icepush.PushGroupManagerFactory.newPushGroupManager(PushGroupManagerFactory.java:47)

      In fact you try to scan jar in getWebArchives :

           Set<String> _resourcePaths = servletContext.getResourcePaths(WEB_INF_LIB_PREFIX);
              for (String _resourcePath : _resourcePaths) {
          ...

      Sometimes this path doen't contain anything (the case in grails dev mode, but maybe other configuration for instance if same app share lib in another directory).

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21262 Mon Apr 19 09:50:32 MDT 2010 jack.van.ooststroom Fixed JIRA PUSH-76 : NullPointerException in annotation scanning
        Files Changed
        Commit graph MODIFY /scratchpads/snowplow/core/src/main/java/org/icepush/util/AnnotationScanner.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #21263 Mon Apr 19 09:58:17 MDT 2010 jack.van.ooststroom Fixed JIRA PUSH-76 : NullPointerException in annotation scanning
        Files Changed
        Commit graph MODIFY /scratchpads/snowplow-100415/core/src/main/java/org/icepush/util/AnnotationScanner.java

          People

          • Assignee:
            Jack Van Ooststroom
            Reporter:
            Ted Goddard
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: