junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00"

Pentaho BI Platform Tracking | Ugur Koc | 2 years ago
  1. 0

    3 test cases -testBatch, testLoaderWithStream, testURLSourcedLoader- in MatlabTest class fails with following error: junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00" at junit.framework.Assert.fail(Assert.java:47) at weka.core.converters.AbstractFileConverterTest.testBatch(AbstractFileConverterTest.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

    Pentaho BI Platform Tracking | 2 years ago | Ugur Koc
    junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00"
  2. 0

    3 test cases -testBatch, testLoaderWithStream, testURLSourcedLoader- in MatlabTest class fails with following error: junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00" at junit.framework.Assert.fail(Assert.java:47) at weka.core.converters.AbstractFileConverterTest.testBatch(AbstractFileConverterTest.java:259) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

    Pentaho BI Platform Tracking | 2 years ago | Ugur Koc
    junit.framework.AssertionFailedError: Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00"
  3. 0

    error

    Oracle Community | 1 decade ago | 807598
    junit.framework.AssertionFailedError: Could not create test 'testBuildDeck'
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Test failure in SQLiteSuiteTest

    GitHub | 3 years ago | jstaffans
    junit.framework.AssertionFailedError: Failed with 1 failure(s) of 402 tests hour(e.timefield) = 3 failed
  6. 0

    Some tests fail occasionally

    GitHub | 2 years ago | julie-sullivan
    junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff [different] Expected number of child nodes '5' but was '2' - comparing <collection...> at /item[1]/collection[1] to <collection...> at /item[1]/collection[1]

    4 unregistered visitors
    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. junit.framework.AssertionFailedError

      Batch save/load failed: java.io.IOException: Unable to determine structure as Matlab ASCII file: java.lang.NumberFormatException: For input string: "2,52398586E00"

      at junit.framework.Assert.fail()
    2. JUnit
      Assert.fail
      1. junit.framework.Assert.fail(Assert.java:47)
      1 frame
    3. weka-dev
      AbstractFileConverterTest.testBatch
      1. weka.core.converters.AbstractFileConverterTest.testBatch(AbstractFileConverterTest.java:259)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      4 frames
    5. JUnit
      TestSuite.run
      1. junit.framework.TestCase.runTest(TestCase.java:164)
      2. junit.framework.TestCase.runBare(TestCase.java:130)
      3. junit.framework.TestResult$1.protect(TestResult.java:106)
      4. junit.framework.TestResult.runProtected(TestResult.java:124)
      5. junit.framework.TestResult.run(TestResult.java:109)
      6. junit.framework.TestCase.run(TestCase.java:120)
      7. junit.framework.TestSuite.runTest(TestSuite.java:230)
      8. junit.framework.TestSuite.run(TestSuite.java:225)
      9. junit.framework.TestSuite.runTest(TestSuite.java:230)
      10. junit.framework.TestSuite.run(TestSuite.java:225)
      11. junit.framework.TestSuite.runTest(TestSuite.java:230)
      12. junit.framework.TestSuite.run(TestSuite.java:225)
      13. junit.framework.TestSuite.runTest(TestSuite.java:230)
      14. junit.framework.TestSuite.run(TestSuite.java:225)
      15. junit.framework.TestSuite.runTest(TestSuite.java:230)
      16. junit.framework.TestSuite.run(TestSuite.java:225)
      16 frames
    6. JUnit3 Runner
      RemoteTestRunner.main
      1. org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:131)
      2. org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
      3. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
      4. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
      5. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
      6. org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)
      6 frames