That's a strange error. Can you provide a testproject producing this
error. Then I can try on my box and try to see what's causing this.

rgarciafernandez schrieb:
> this is de debug mode:
> 
> [DEBUG] Retrieving parent-POM:
> org.apache.maven.surefire:surefire-providers::2.3 for project:
> null:surefire-junit:jar:2.3 from the repository.
> [DEBUG]   org.apache.maven.surefire:surefire-junit:jar:2.3 (selected for
> null)
> [DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.3:compile (selected
> for compile)
> [DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.1:compile (selected for
> compile)
> [DEBUG]       commons-lang:commons-lang:jar:2.1:compile (selected for
> compile)
> [DEBUG]     junit:junit:jar:3.8.1:compile (selected for compile)
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\isra_2\.m2\repository\junit\junit\3.8.1\junit-3.8.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\isra_2\.m2\repository\org\apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\isra_2\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\isra_2\.m2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar
> [DEBUG] Adding to surefire test classpath: C:\Documents and
> Settings\isra_2\.m2\repository\org\apache\maven\surefire\surefire-junit\2.3\surefire-junit-2.3.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [DEBUG] Trace
> java.lang.NullPointerException
>       at
> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(SurefirePlugin.java:594)
>       at
> org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:391)
>       at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)
> 
> ...(more)
> 
> with -e:
> 
> [INFO] [surefire:test]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>       at
> org.apache.maven.plugin.surefire.SurefirePlugin.constructSurefireBooter(SurefirePlugin.java:594)
> 
> 
> ...:S
> 
> 
> 
> Tim Kettler wrote:
>> The log from your previous mail contains this:
>>
>>   [ERROR] reactor-execute : D:\mis cosas\workspace\inventory
>>
>> 'mis cosas' <- contains a space. If that's not the root of the problem,
>> try running maven with '-e' (enable output of error stacktraces) or -X
>> (enable debug output) and see if that sheds more light on what goes wrong.
>>
>> -Tim
>>
>> rgarciafernandez schrieb:
>>> I have no spaces in the path, or i don“t undestand u... sorry but we
>>> can't
>>> fix it :S
>>>
>>> basedirectory: ${project_loc}
>>> goals: package
>>>
>>> and th pom:
>>>
>>> <packaging>war</packaging>
>>>   <version>0.0.1</version>
>>>   <build>
>>>     <plugins>
>>>       <plugin>
>>>         <artifactId>maven-compiler-plugin</artifactId>
>>>         <configuration>
>>>           <source>1.5</source>
>>>           <target>1.5</target>
>>>         </configuration>
>>>       </plugin>
>>>     </plugins>
>>>   </build>
>>>
>>>
>>>
>>> Tim Kettler wrote:
>>>> Hi,
>>>>
>>>> try to run it from a directory without spaces in the path.
>>>>
>>>> -Tim
>>>>
>>>> rgarciafernandez schrieb:
>>>>> [INFO] Scanning for projects...
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>> [INFO] Building Unnamed - inventory:inventory:war:0.0.1
>>>>> [INFO]    task-segment: [package]
>>>>> [INFO]
>>>>> ----------------------------------------------------------------------------
>>>>> [INFO] resources:resources
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [WARN] While downloading hibernate:hibernate:3.1rc2
>>>>>   This artifact has been relocated to org.hibernate:hibernate:3.1rc2.
>>>>>
>>>>>
>>>>> [INFO] compiler:compile
>>>>> [INFO] Nothing to compile - all classes are up to date
>>>>> [INFO] resources:testResources
>>>>> [INFO] Using default encoding to copy filtered resources.
>>>>> [INFO] compiler:testCompile
>>>>> [INFO] Nothing to compile - all classes are up to date
>>>>> [INFO] surefire:test
>>>>> [ERROR] reactor-execute : D:\mis cosas\workspace\inventory
>>>>> Diagnosis: null
>>>>> FATAL ERROR: Error executing Maven for a project
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] null
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] For more information, run Maven with the -e switch
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 2 seconds
>>>>> [INFO] Finished at: Tue Oct 23 14:17:16 CEST 2007
>>>>> [INFO] Final Memory: 4M/8M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] BUILD SUCCESSFUL
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>> [INFO] Total time: 2 seconds
>>>>> [INFO] Finished at: Tue Oct 23 14:17:16 CEST 2007
>>>>> [INFO] Final Memory: 4M/8M
>>>>> [INFO]
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>>
>>>>> Important :
>>>>> [INFO] surefire:test
>>>>> [ERROR] reactor-execute : D:\mis cosas\workspace\inventory
>>>>> Diagnosis: null
>>>>>
>>>>> I don't know what to do...
>>>>> to make it run, to package to a war file my project. I need help please
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>>
>>>>
>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to