https://issues.apache.org/bugzilla/show_bug.cgi?id=50487

           Summary: runSerialTest verifies objects that never need
                    persisting
           Product: JMeter
           Version: Nightly (Please specify date)
          Platform: PC
            Status: NEW
          Severity: major
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [email protected]


I've seen an old user-list topic around this error:

     [java] 6)
runSerialTest(org.apache.jmeter.junit.JMeterTest)junit.framework.AssertionFailedError:
serialization of org.apache.jmeter.gui.SavePropertyDialog failed:
java.io.NotSerializableException: com.apple.laf.AquaComboBoxUI
     [java]     at
org.apache.jmeter.junit.JMeterTest.runSerialTest(JMeterTest.java:506)
     [java]     at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source)
     [java]     at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at org.apache.jorphan.test.AllTests.main(AllTests.java:225)

Basically, we are verifying that objects serialize because JMeter needs to
serialize all those TestElements.  For some reason this test was testing
SavePropertyDialog which we never need to persist.

The error above appears to be constrained to building on MacOSX presumably
because Apple decided their JVM didn't make the AquaComboBoxUI class
serializable.

Anyways, the fix is easy and will be attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to