[jboss-jira] [JBoss JIRA] Commented: (JBAS-3678) org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase fails on Solaris 10
Jason T. Greene (JIRA)
jira-events at jboss.com
Thu Sep 21 03:34:01 EDT 2006
[ http://jira.jboss.com/jira/browse/JBAS-3678?page=comments#action_12343723 ]
Jason T. Greene commented on JBAS-3678:
---------------------------------------
Yes, I remember this problem. The issue was that the testsuite has a
replacefilter that was applying to everything in resources/webservices,
including binary files. On windows this isn't a problem, but on Unix it
is because of the CRLF -> LF conversion, which corrupts the image file
that is used by this test. The solution is to make the replacefilter
only apply to text files (*.xml, *.wsdl, etc).
-Jason
JBoss
second
org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase
------------------------------------------------------------------------
org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase
org.jboss.ws.soap.attachment.ContentHandlerRegistry.<clinit>(ContentHand
le
org.jboss.ws.soap.attachment.AttachmentPartImpl.<clinit>(AttachmentPartI
mp
org.jboss.ws.binding.soap.SOAPBindingProvider.getAttachmentPart(SOAPBind
in
org.jboss.ws.binding.soap.SOAPBindingProvider.bindRequestMessage(SOAPBin
di
org.jboss.ws.binding.soap.SOAP11BindingProvider.bindRequestMessage(SOAP1
1B
org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase.t
es
java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:299)
javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:6
4)
org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageD
at
org.jboss.ws.soap.attachment.ImageDataContentHandler.<clinit>(ImageDataC
on
administrators:
http://www.atlassian.com/software/jira
> org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase fails on Solaris 10
> ------------------------------------------------------------------------------------------
>
> Key: JBAS-3678
> URL: http://jira.jboss.com/jira/browse/JBAS-3678
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: JBossAS-4.0.4.GA
> Environment: Sparc Solaris 10
> jdk 1.4.2_08
> Reporter: Phillip Thurmond
> Assigned To: Jason T. Greene
>
> org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase fails on Solaris 10
> Testcase: testMyService took 1.656 sec
> Caused an ERROR
> null
> java.lang.ExceptionInInitializerError
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:141)
> at org.jboss.ws.soap.attachment.ContentHandlerRegistry.<clinit>(ContentHandlerRegistry.java:5
> 1)
> at org.jboss.ws.soap.attachment.AttachmentPartImpl.<clinit>(AttachmentPartImpl.java:56)
> at org.jboss.ws.binding.soap.SOAPBindingProvider.getAttachmentPart(SOAPBindingProvider.java:6
> 14)
> at org.jboss.ws.binding.soap.SOAPBindingProvider.bindRequestMessage(SOAPBindingProvider.java:
> 137)
> at org.jboss.ws.binding.soap.SOAP11BindingProvider.bindRequestMessage(SOAP11BindingProvider.j
> ava:58)
> at org.jboss.ws.jaxrpc.CallImpl.invokeInternal(CallImpl.java:647)
> at org.jboss.ws.jaxrpc.CallImpl.invoke(CallImpl.java:398)
> at org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase.testMyService(MySer
> viceClientTestCase.java:70)
> at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
> at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
> at junit.extensions.TestSetup.run(TestSetup.java:23)
> Caused by: java.lang.IllegalArgumentException: failed to parse:image/bmp, image/x-bmp, image/x-window
> s-bmp
> at java.awt.datatransfer.DataFlavor.<init>(DataFlavor.java:299)
> at javax.activation.ActivationDataFlavor.<init>(ActivationDataFlavor.java:64)
> at org.jboss.ws.soap.attachment.ImageDataContentHandler.buildFlavors(ImageDataContentHandler.
> java:77)
> at org.jboss.ws.soap.attachment.ImageDataContentHandler.<clinit>(ImageDataContentHandler.java
> :63)
> ... 31 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list