[ 
http://jira.codehaus.org/browse/MCLIRR-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=128346#action_128346
 ] 

werner mueller commented on MCLIRR-7:
-------------------------------------

hallo

oh cool!
i am still trying to get example ready which reproduces the exception but all 
works except for my projects :-p

i checked out revision 6544 from trunk and tested the plugin with my 'bad' 
project: now i get a new error (i call it progress :) )

[INFO] [clirr:clirr]
[INFO] Comparing to version: 2007.2.15
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Unable to find information in class 
ch.edoras.core.resource.wildcard.FileWildcardSolver referring back to nested 
class ch.edoras.core.resource.wildcard.FileWildcardSolver$1
[INFO] ------------------------------------------------------------------------
[INFO] Trace
net.sf.clirr.core.CheckerException: Unable to find information in class 
ch.edoras.core.resource.wildcard.FileWildcardSolver referring back to nested 
class ch.edoras.core.resource.wildcard.FileWildcardSolver$1
        at 
net.sf.clirr.core.internal.bcel.BcelScopeHelper.getClassScope(BcelScopeHelper.java:127)
        at 
net.sf.clirr.core.internal.bcel.BcelJavaType.getDeclaredScope(BcelJavaType.java:141)
        at 
net.sf.clirr.core.internal.bcel.BcelJavaType.getEffectiveScope(BcelJavaType.java:145)
        at 
net.sf.clirr.core.internal.checks.ClassScopeCheck.check(ClassScopeCheck.java:72)
        at net.sf.clirr.core.Checker.runClassChecks(Checker.java:190)
        at net.sf.clirr.core.Checker.reportDiffs(Checker.java:136)
        at 
org.codehaus.mojo.clirr.AbstractClirrMojo.executeClirr(AbstractClirrMojo.java:235)
        at org.codehaus.mojo.clirr.ClirrReport.doReport(ClirrReport.java:250)
        at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:226)
        at org.codehaus.mojo.clirr.ClirrReport.generate(ClirrReport.java:382)
        at org.codehaus.mojo.clirr.ClirrReport.execute(ClirrReport.java:189)
        at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
        at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:493)


install / clean install worked. project runs on java 1.4 / maven 2.0.8

> Fail's checking if dependencies are declared as optional
> --------------------------------------------------------
>
>                 Key: MCLIRR-7
>                 URL: http://jira.codehaus.org/browse/MCLIRR-7
>             Project: Maven 2.x Clirr Plugin
>          Issue Type: Bug
>         Environment: N/A
>            Reporter: David J. M. Karlsen
>            Assignee: Jochen Wiedmann
>             Fix For: 2.2
>
>   Original Estimate: 0 minutes
>  Remaining Estimate: 0 minutes
>
> If a dependency is declared optional - and classes in it are either extended 
> or elsewise supposed to be checked by clirr, it fails with a 
> ClassNotFoundException
>       java.lang.ClassNotFoundException: 
> org.springframework.web.servlet.HandlerInterceptor not found.
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] null
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.NullPointerException
>       at 
> org.apache.bcel.classfile.JavaClass.getAllInterfaces(JavaClass.java:808)
>       at 
> net.sf.clirr.core.internal.bcel.BcelJavaType.getAllInterfaces(BcelJavaType.java:78)
>       at 
> net.sf.clirr.core.internal.checks.InterfaceSetCheck.check(InterfaceSetCheck.java:58)
>       at net.sf.clirr.core.Checker.runClassChecks(Checker.java:190)
>       at net.sf.clirr.core.Checker.reportDiffs(Checker.java:136)

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to