Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-686

Windows NullPointerException for LoadBalancerConfigurationTest

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.1.0 RC3
    • Load Balancer
    • None
    • Stratos 4.0.0+Jenkins+Builds #168 23-June-2014 02:19:07
      Windows 7
      JDK 1.6.0_43
      mvn 3.2.1
      git version 1.9.4.msysgit.0

    Description

      Build fails for windows.

      (from C:\Users\Dale\test\stratos\components\org.apache.stratos.load.balancer\target\surefire-reports)

      NullPointerException here:
      at org.apache.stratos.load.balancer.test.LoadBalancerConfigurationTest.testConfiguration(LoadBalancerConfigurationTest.java:67)
      at org.apache.stratos.load.balancer.test.LoadBalancerConfigurationTest.testStaticTopology(LoadBalancerConfigurationTest.java:99)
      at org.apache.stratos.load.balancer.test.LoadBalancerConfigurationTest.testConfigurationParser(LoadBalancerConfigurationTest.java:47)

      To reproduce:
      On Windows 7 machine
      1) Install Java SE Development Kit 6u43
      2) Install git for windows (http://git-scm.com/download/win)
      3) Install Maven 3.2.1 (http://maven.apache.org/download.cgi)
      4) Install eclipse kepler (4.3.2) SR2 / eclipse standard 4.3.2 (http://www.eclipse.org/downloads/)
      5) Follow installation instructions (https://cwiki.apache.org/confluence/display/STRATOS/Setting+Up+a+Development+Environment)
      6) Add Java and MVN to your path
      7) Do mvn clean install eclipse:eclipse

      The build will fail and you will be directed to the log mentioned above.

      Attachments

        Issue Links

          Activity

            People

              snowch chris snow
              dchalfant@greaterbrain.com Dale Chalfant
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified