[ 
https://issues.apache.org/jira/browse/SUREFIRE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arvind updated SUREFIRE-1402:
-----------------------------
    Environment: 
Windows 7 eclipse Java 1.8


  was:Windows 7 eclipse

    Description: 
When i try to build the maven project i get the following error.

-------------------------------------------------------------------------------
Test set: 
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< 
FAILURE!
java.lang.IllegalArgumentException
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)



  was:
When i try to build the maven project i get the following error.

-------------------------------------------------------------------------------
Test set: 
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< 
FAILURE!
testRegionServiceFailoverControlParametersDateProperties(com.hp.it.sbs.obligation.dataservicemanager.context.hpe.RegionServiceFailoverControlParametersTest)
  Time elapsed: 0.343 sec  <<< ERROR!
java.lang.IllegalArgumentException
        at 
org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:497)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
        at 
org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
        at 
org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)
        at 
org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)




> I have an issue with maven surefire which uses Junit and Jmockit
> ----------------------------------------------------------------
>
>                 Key: SUREFIRE-1402
>                 URL: https://issues.apache.org/jira/browse/SUREFIRE-1402
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Junit 4.7+ (parallel) support, Maven Surefire Report 
> Plugin
>    Affects Versions: 2.8
>         Environment: Windows 7 eclipse Java 1.8
>            Reporter: Arvind
>            Priority: Critical
>              Labels: build, test
>
> When i try to build the maven project i get the following error.
> -------------------------------------------------------------------------------
> Test set: 
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< 
> FAILURE!
> java.lang.IllegalArgumentException
>       at 
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119)
>       at 
> org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at java.lang.reflect.Method.invoke(Method.java:497)
>       at 
> org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
>       at 
> org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
>       at 
> org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74)
>       at 
> org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to