Uploaded image for project: 'Teeda'
  1. Teeda
  2. TEEDA-27

STATE_SAVING_METHOD=clientの場合にValidatorChainがエラーに

XMLWordPrintable

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major Major
    • 1.0-beta-6
    • Affects Version/s: 1.0-beta-5
    • Component/s: Teeda Core
    • None

      ValidatorChainのsaveStateで、NotSerializableExceptionが発生します。

      これはJUnitから実行した場合のスタックトレース。

      java.io.NotSerializableException: javax.faces.validator.LengthValidator
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at java.util.LinkedList.writeObject(LinkedList.java:755)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917)
          at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339)
          at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079)
          at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251)
          at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
          at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302)
          at org.seasar.teeda.core.unit.TestUtil.serializeAndDeserialize(TestUtil.java:56)
          at javax.faces.internal.ValidatorChainTest.testSaveAndRestoreState(ValidatorChainTest.java:77)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:585)
          at junit.framework.TestCase.runTest(TestCase.java:164)
          at org.seasar.framework.unit.S2FrameworkTestCase.doRunTest(S2FrameworkTestCase.java:250)
          at org.seasar.framework.unit.S2FrameworkTestCase.runBare(S2FrameworkTestCase.java:155)
          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 org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
          at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
          at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
      

            Assignee:
            manhole manhole
            Reporter:
            manhole manhole
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: