Return-Path: Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: (qmail 92511 invoked from network); 8 Jul 2010 17:31:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jul 2010 17:31:46 -0000 Received: (qmail 65519 invoked by uid 500); 8 Jul 2010 17:31:45 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 65461 invoked by uid 500); 8 Jul 2010 17:31:44 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 65454 invoked by uid 99); 8 Jul 2010 17:31:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 17:31:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 17:31:42 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o68HNncc020792 for ; Thu, 8 Jul 2010 17:23:50 GMT Message-ID: <7620546.262561278609829926.JavaMail.jira@thor> Date: Thu, 8 Jul 2010 13:23:49 -0400 (EDT) From: "Mark Miller (JIRA)" To: dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1987) java.lang.VerifyError runtime exception in Solr 1.4.1 when trying to run solr in Embedded mode In-Reply-To: <26338721.203351278343371141.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-1987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886379#action_12886379 ] Mark Miller commented on SOLR-1987: ----------------------------------- Can you add some details on how you produced this? It appears very odd, because I don't believe setNorm is or has been a final method. To duplicate, I first tried your example code with the binary release bits as a sanity check - worked no problem. Then I compiled the release from the released source code and tried again - again, it worked as expected. Can you put down your exact steps? > java.lang.VerifyError runtime exception in Solr 1.4.1 when trying to run solr in Embedded mode > ---------------------------------------------------------------------------------------------- > > Key: SOLR-1987 > URL: https://issues.apache.org/jira/browse/SOLR-1987 > Project: Solr > Issue Type: Bug > Components: clients - java > Affects Versions: 1.4.1 > Environment: Windows 7 > Reporter: Ravish Bhagdev > Fix For: 1.4.1 > > > When trying to run solr in embedded mode: > CoreContainer.Initializer initializer = new CoreContainer.Initializer(); > CoreContainer coreContainer = initializer.initialize(); > server = new EmbeddedSolrServer(coreContainer, ""); > An exception is thrown in version 1.4.1, here is the stacktrace: > java.lang.VerifyError: class org.apache.solr.search.SolrIndexReader overrides final method setNorm.(ILjava/lang/String;B)V > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) > at java.lang.ClassLoader.defineClass(ClassLoader.java:616) > at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) > at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2527) > at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1010) > at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1483) > at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361) > at org.apache.solr.core.SolrConfig.(SolrConfig.java:166) > at org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:134) > It may be a class version issue with the released zip source code, but I am not sure. It looks like the release was not compiled properly? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org