You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Markus Jelsma (JIRA)" <ji...@apache.org> on 2011/04/12 14:38:05 UTC

[jira] [Created] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Fix IllegalAccessError with slf4j used in Solrj.
------------------------------------------------

                 Key: NUTCH-980
                 URL: https://issues.apache.org/jira/browse/NUTCH-980
             Project: Nutch
          Issue Type: Bug
          Components: build
    Affects Versions: 1.3
            Reporter: Markus Jelsma
            Assignee: Markus Jelsma
            Priority: Blocker
             Fix For: 1.3, 2.0


Currently Solr commands fail because of:

 Exception in thread "main" java.lang.IllegalAccessError: tried to 
 access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
 org.slf4j.LoggerFactory
         at 
 org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
         at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
         at 
 org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)

Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Julien Nioche (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018833#comment-13018833 ] 

Julien Nioche commented on NUTCH-980:
-------------------------------------

This issue illustrates the fact that we have no tests for the indexing with SOLR. We should add that in trunk at some point 

> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-980-1.3.patch, NUTCH-980-trunk.patch
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019307#comment-13019307 ] 

Markus Jelsma commented on NUTCH-980:
-------------------------------------

Both 1.5.11 and 1.5.5 work fine on trunk. If there are no objections i'll upgrade trunk to use 1.5.5 as well.

> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-980-1.3.patch, NUTCH-980-trunk.patch
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018830#comment-13018830 ] 

Markus Jelsma commented on NUTCH-980:
-------------------------------------

Commited for 1.3 in rev 1091407.

> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-980-1.3.patch, NUTCH-980-trunk.patch
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma resolved NUTCH-980.
---------------------------------

    Resolution: Fixed

Committed for trunk in rev. 1092062.

> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-980-1.3.patch, NUTCH-980-trunk.patch
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-980:
--------------------------------

    Patch Info: [Patch Available]

> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma updated NUTCH-980:
--------------------------------

    Attachment: NUTCH-980-trunk.patch
                NUTCH-980-1.3.patch

Patch for 1.3, upgrade of slf4j-log4j12 from 1.5.11 to 1.5.5 works as fine. Trunk has not yet been tested.

> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-980-1.3.patch, NUTCH-980-trunk.patch
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Closed] (NUTCH-980) Fix IllegalAccessError with slf4j used in Solrj.

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma closed NUTCH-980.
-------------------------------


> Fix IllegalAccessError with slf4j used in Solrj.
> ------------------------------------------------
>
>                 Key: NUTCH-980
>                 URL: https://issues.apache.org/jira/browse/NUTCH-980
>             Project: Nutch
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 1.3
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>            Priority: Blocker
>             Fix For: 1.3, 2.0
>
>         Attachments: NUTCH-980-1.3.patch, NUTCH-980-trunk.patch
>
>
> Currently Solr commands fail because of:
>  Exception in thread "main" java.lang.IllegalAccessError: tried to 
>  access field org.slf4j.impl.StaticLoggerBinder.SINGLETON from class 
>  org.slf4j.LoggerFactory
>          at 
>  org.slf4j.LoggerFactory.staticInitialize(LoggerFactory.java:83)
>          at org.slf4j.LoggerFactory.<clinit>(LoggerFactory.java:73)
>          at 
>  org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.<clinit>(CommonsHttpSolrServer.java:78)
> Julien looked it up http://www.slf4j.org/faq.html#IllegalAccessError , we need to change the versions in Ivy. I haven't yet come around to test it with trunk so we need to look for it there as well.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira