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

Windows NullPointerException for LoadBalancerConfigurationTest

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.0 RC3
    • Component/s: Load Balancer
    • Labels:
      None
    • Environment:
      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.

        Issue Links

          Activity

          Hide
          snowch chris snow added a comment -

          Reopening to assign fix for 4.0.1

          Show
          snowch chris snow added a comment - Reopening to assign fix for 4.0.1
          Hide
          dchalfant@greaterbrain.com Dale Chalfant added a comment -

          Thanks for the Mentoring, Sir.

          Show
          dchalfant@greaterbrain.com Dale Chalfant added a comment - Thanks for the Mentoring, Sir.
          Hide
          snowch chris snow added a comment - - edited

          Fixed with commits:

          • master 1811dd5a5f8b1f4eb97adf9067864e691a2c2186
          • 4.0.0 b3766b4ebbb01d3b8bbf93788e730ba53170346d

          Thanks for the contribution Dale!

          Show
          snowch chris snow added a comment - - edited Fixed with commits: master 1811dd5a5f8b1f4eb97adf9067864e691a2c2186 4.0.0 b3766b4ebbb01d3b8bbf93788e730ba53170346d Thanks for the contribution Dale!
          Hide
          snowch chris snow added a comment - - edited

          Devs - please DON'T fix this issue. This is going to be a mentoring task.

          Show
          snowch chris snow added a comment - - edited Devs - please DON'T fix this issue. This is going to be a mentoring task.

            People

            • Assignee:
              snowch chris snow
              Reporter:
              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

                  Development