Stackoverflow when cyclic dependencies in composits
---------------------------------------------------

                 Key: PAXURL-45
                 URL: http://issues.ops4j.org/browse/PAXURL-45
             Project: Pax URL
          Issue Type: Bug
            Reporter: Toni Menzel
            Assignee: Alin Dreghiciu


When composits refer to composits it can happen that a recursive invocation 
happens, resulting in a 
 -> java.lang.StackOverflowError
java.lang.StackOverflowError
        at java.io.InputStream.<init>(InputStream.java:28)
        at java.io.FileInputStream.<init>(FileInputStream.java:96)
        at java.io.FileInputStream.<init>(FileInputStream.java:66)
        at 
sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:70)
        at 
sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:161)
        at org.ops4j.net.URLUtils.prepareInputStream(URLUtils.java:134)
        at 
org.ops4j.pax.runner.scanner.composite.internal.CompositeScanner.scan(CompositeScanner.java:113)
..

To me, the composite reactor should track urls so that it does not "follow" a 
url twice (does not make sense also).


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

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to