[JBoss JIRA] Created: (JBAS-3678) org.jboss.test.webservice.attachmentstepbystep.MyServiceClientTestCase fails on Solaris 10
by Phillip Thurmond (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
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
19 years, 2 months
[JBoss JIRA] Created: (JBRULES-577) Please add "contained by" syntax for constraints
by Dirk Bergstrom (JIRA)
Please add "contained by" syntax for constraints
------------------------------------------------
Key: JBRULES-577
URL: http://jira.jboss.com/jira/browse/JBRULES-577
Project: JBoss Rules
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Reporter: Dirk Bergstrom
Assigned To: Mark Proctor
I'd like to be able to write a constraint to determine if a field's value is a member of some collection. This is the inverse of the "contains" keyword. The proposed syntax is:
[bindingVar :] <fieldName> in <someCollection>
(I'm not picky about the keyword, other possibilities are "containedBy" or "memberOf", but "in" is a single word)
Use case:
I have a container class with a field that exposes a collection of record
numbers. In the working memory, I have a bunch of record objects, and one
container object. I want to write a rule that fires when it encounters a
container that has records matching some criteria:
when
Container( $recordNums : records )
Record( number in $recordNums, otherField == "somevalue" )
then
doStuff();
The current workaround is:
Record( num : number -> ( $recordNums.contains(num) ) )
Which is problematic, as the predicate may not be time-constant.
--
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
19 years, 2 months