Issue Details (XML | Word | Printable)

Key: CONTINUUM-2175
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Jose Morales Martinez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Continuum

Error when add a Maven 2 Project with file url

Created: 16/Apr/09 08:56 PM   Updated: 22/Apr/09 06:57 AM   Resolved: 18/Apr/09 07:44 AM
Component/s: Web - UI
Affects Version/s: 1.3.3, 1.4.0
Fix Version/s: 1.3.3

Time Tracking:
Not Specified

Environment:
Firefox 3
Ubuntu 8.10

Complexity: Intermediate


 Description  « Hide

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

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


Jose Morales Martinez added a comment - 18/Apr/09 07:44 AM

This issue was fixed in 766272.