continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jevica Arianne B. Zurbano (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (CONTINUUM-2175) Error when add a Maven 2 Project with file url
Date Wed, 22 Apr 2009 11:57:45 GMT

     [ http://jira.codehaus.org/browse/CONTINUUM-2175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jevica Arianne B. Zurbano updated CONTINUUM-2175:
-------------------------------------------------

    Affects Version/s: 1.3.3
        Fix Version/s:     (was: 1.4.0)
                       1.3.3

> Error when add a Maven 2 Project with file url
> ----------------------------------------------
>
>                 Key: CONTINUUM-2175
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2175
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.3, 1.4.0
>         Environment: Firefox 3
> Ubuntu 8.10
>            Reporter: Jose Morales Martinez
>             Fix For: 1.3.3
>
>
> In pom url dont allow pattern file:///, but if file does not exist I get an error and
if path is correct I get 'The specified resource isn't a file or the protocol used isn't allowed'
(correct)
> Error
> {noformat}
> org.apache.maven.continuum.ContinuumException: Error reading POM
> Show/hide Stack Trace
>         org.apache.maven.continuum.ContinuumException: Error reading POM
> 	at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:109)
> 	at org.apache.maven.continuum.web.action.AddMavenProjectAction.execute(AddMavenProjectAction.java:189)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:597)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:404)
> 	at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:267)
> 	at org.apache.struts2.interceptor.BackgroundProcess$1.run(BackgroundProcess.java:56)
> 	at java.lang.Thread.run(Thread.java:619)
> Caused by: java.io.FileNotFoundException: / (Is a directory)
> 	at java.io.FileInputStream.open(Native Method)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:106)
> 	at java.io.FileInputStream.<init>(FileInputStream.java:66)
> 	at java.io.FileReader.<init>(FileReader.java:41)
> 	at org.apache.maven.continuum.web.action.AddMavenTwoProjectAction.doExecute(AddMavenTwoProjectAction.java:93)
> 	... 9 more
> {noformat}
>       

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message