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
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  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

    Java - reflection to copy private static field to a local variable

    Stack Overflow | 3 years ago | Kevin Cruijssen
    junit.framework.AssertionFailedError: getPrivateField caused an Exception: java.lang.IllegalAccessException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 23#20821349

    GitHub | 4 years ago | ksclarke
    junit.framework.AssertionFailedError: org.custommonkey.xmlunit.Diff [different] Expected text value '2009-01-01T00:00:00Z' but was '2009-01-01T00:00:00-04:00' - comparing [CreatedDate ...]2009-01-01T00:00:00Z[/CreatedDate] at /Profile[1]/CreatedDate[1]/text()[1] to [CreatedDate ...]2009-01-01T00:00:00-04:00[/CreatedDate] at /Profile[1]/CreatedDate[1]/text()[1]
  6. 0

    error

    Oracle Community | 1 decade ago | 807598
    junit.framework.AssertionFailedError: Could not create test 'testBuildDeck'

  1. Adrien 6 times, last 3 weeks ago
  2. treefolk 1 times, last 1 month ago
  3. andyglick 1 times, last 2 months ago
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