I have some simple tests that attach to a third party Web Service, which work perfectly fine for multiple developers on a PC with Axis2 for Java. However, when another developer runs these exact same tests on a Mac, he receives a Regular Expression Exception (see below) within the Stub that was generated using Axis2.
This makes no sense to me that it works perfectly on all developer's Windows XP machine, and not on another's Mac. Has anyone had this problem, or have any suggestions as to what might be wrong? The JVM is identical, as are the versions of the Axis2 (and Rampart) libraries and code. Any help would be appreciated. Thanks, Sean. [junit] ------------- ---------------- --------------- [junit] Testcase: testDescribeObject(com.xpressdocs.test.exacttarget.GetDescriberTest): Caused an ERROR [junit] Dangling meta character '*' near index 0 [junit] *.local [junit] ^ [junit] java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 [junit] *.local [junit] ^ [junit] at java.util.regex.Pattern.error(Pattern.java:1650) [junit] at java.util.regex.Pattern.sequence(Pattern.java:1787) [junit] at java.util.regex.Pattern.expr(Pattern.java:1687) [junit] at java.util.regex.Pattern.compile(Pattern.java:1397) [junit] at java.util.regex.Pattern. <init> (Pattern.java:1124) [junit] at java.util.regex.Pattern.compile(Pattern.java:817) [junit] at java.util.regex.Pattern.matches(Pattern.java:919) [junit] at java.lang.String.matches(String.java:1921) [junit] at org.apache.axis2.transport.http.ProxyConfiguration.validateNonProxyHosts(= ProxyConfiguration.java:261) [junit] at org.apache.axis2.transport.http.ProxyConfiguration.isProxyEnabled(ProxyCo= nfiguration.java:223) [junit] at org.apache.axis2.transport.http.AbstractHTTPSender.getHostConfiguration(A= bstractHTTPSender.java:271) [junit] at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abstract= HTTPSender.java:502) [junit] at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:19= 1) [junit] at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:77) [junit] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWi= thCommons(CommonsHTTPTransportSender.java:327) [junit] at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Commons= HTTPTransportSender.java:206) [junit] at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:396) [junit] at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOpera= tion.java:374) [junit] at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAx= isOperation.java:211) [junit] at org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)= [junit] at com.exacttarget.PartnerAPIStub.Describe(PartnerAPIStub.java:385) [junit] at com.xpressdocs.test.exacttarget.GetDescriberTest.testDescribeObject(GetDe= scriberTest.java:31) [junit] at org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.= java:69) [junit] 2008/06/23 15:04:06:659 CDT [INFO] GenericApplicationContext - Closing [EMAIL PROTECTED]: display name [EMAIL PROTECTED]; startup date [Mon Jun 23 15:04:01 CDT 2008]; root of context hierarchy [junit] 2008/06/23 15:04:06:660 CDT [INFO] DefaultListableBeanFactory - Destroying singletons in [EMAIL PROTECTED] 59: defining beans [com.xpressdocs.email.util.EnvironmentPropertyPlaceholderConfigurer#0,com= .xpressdocs.email.util.EnvironmentPropertyPlaceholderConfigurer#1,com.xpr= essdocs.email.util.EnvironmentPropertyPlaceholderConfigurer#2,service.ema= ilService,pluginFactory.csv,service.pwcbhandler,phpSiteIntegrationService= ,dataSource,sessionFactory,categoriesDAO,contentAreaDAO,deserializeEngine= ,htmlEngine,textEngine,jsonEngine,messageEngine,rawMessageDAO,thumbnailDA= O,variableMap,deliverableCampaignDAO,serializationDAO,scheduleDAO,subscri= berDAO,planDAO,campaignDAO,customDataPageDAO,contactListDAO,billingEventD= AO]; root of factory hierarchy [junit] 2008/06/23 15:04:06:661 CDT [INFO] AnnotationSessionFactoryBean - Closing Hibernate SessionFactory [junit] 2008/06/23 15:04:06:661 CDT [INFO] SessionFactoryImpl - closing [junit] Test com.xpressdocs.test.exacttarget.GetDescriberTest FAILED BUILD FAILED /Users/jgarcia/work/Email/test/test.email.build.xml:90: The following error occurred while executing this line: /Users/jgarcia/work/Email/test/test.email.build.xml:86: Tests failed: check test reports. Total time: 11 seconds --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
