lucene-lucene-net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Currens (Commented) (JIRA)" <j...@apache.org>
Subject [Lucene.Net] [jira] [Commented] (LUCENENET-464) The Lucene.Net.FastVectorHighligher.dll of the latest release 2.9.4 breaks any ASP.NET application
Date Tue, 24 Jan 2012 05:15:41 GMT

    [ https://issues.apache.org/jira/browse/LUCENENET-464?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13191891#comment-13191891
] 

Christopher Currens commented on LUCENENET-464:
-----------------------------------------------

I'd like to get a release for this out there sooner, rather than later.  It can easily be
added to 3.x, but Stefan, what is the process for doing a kind of hotfix/point release like
this?
                
> The Lucene.Net.FastVectorHighligher.dll of the latest release 2.9.4 breaks any ASP.NET
application
> --------------------------------------------------------------------------------------------------
>
>                 Key: LUCENENET-464
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-464
>             Project: Lucene.Net
>          Issue Type: Bug
>          Components: Lucene.Net Contrib
>    Affects Versions: Lucene.Net 2.9.4
>         Environment: Windows 7 64.bit System with ASP.NET 4.0 / C#
>            Reporter: Jörg Lang
>              Labels: patch
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> After I included Lucene and the Contrib modules via NuGet to my project, the web application
would not even start anymore.
> Before the first page was shown, I got the message I added at the end of this text.
> By trial and error I found out, that when the Lucene.Net.FastVectorHighligher.dll is
deleted from the bin directory, the application runs again.
> I then looked at the source code of Lucene.Net.FastVectorHighligher.dll and found that
in file support.cs the following code is located that causes the problem.
> namespace System.Runtime.CompilerServices
> {
>     [AttributeUsage(AttributeTargets.Method)]
>     public sealed class ExtensionAttribute : Attribute
>     {
>         public ExtensionAttribute() { }
>     }
> }
> After removing and recompiling the dll everything works, meaning my application starts
and also the highlighting is working correctly.
> It would be cool if this could be fixed in a patch or hotfix, so the NuGet would deliver
a corrected version.
> Regards
> Jörg
> Server Error in '/' Application.
> --------------------------------------------------------------------------------
> Compilation Error 
> Description: An error occurred during the compilation of a resource required to service
this request. Please review the following specific error details and modify your source code
appropriately. 
> Compiler Error Message: BC30560: 'ExtensionAttribute' is ambiguous in the namespace 'System.Runtime.CompilerServices'.
> Source Error:
>  
> [No relevant source lines]
>  
> Source File: InternalXmlHelper.vb    Line: 9 
> Show Detailed Compiler Output:
> C:\Program Files (x86)\IIS Express> "C:\Windows\Microsoft.NET\Framework\v4.0.30319\vbc.exe"
/t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\IKVM.OpenJDK.Util\0.46.0.1__13235d27fcbfff58\IKVM.OpenJDK.Util.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\51d01989\a92a29aa_d2c4cc01\Lucene.Net.Contrib.Core.DLL"
/R:"C:\Windows\assembly\GAC_MSIL\IKVM.OpenJDK.Text\0.46.0.1__13235d27fcbfff58\IKVM.OpenJDK.Text.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\74156559\d79ffad5_b7a2cc01\Xml.Schema.Linq.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\3a057033\005cb977_cb62ca01\DeepZoomTools.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\6b08d27a\eac1b816_1898cc01\Microsoft.Practices.ServiceLocation.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\2fe0a669\00eae495_b440cc01\Telerik.Windows.RadUploadHandler.DLL"
/R:"C:\Windows\assembly\GAC_MSIL\IKVM.OpenJDK.Core\0.46.0.1__13235d27fcbfff58\IKVM.OpenJDK.Core.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Web\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Web.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\c2392a3f\9a92e9c6_95c0cc01\Microsoft.Practices.EnterpriseLibrary.Logging.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\b9daec08\db8bd216_1898cc01\Microsoft.Practices.Unity.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\a9da4c25\00c6435b_cfa2cc01\Telerik.Web.UI.Skins.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\App_global.asax.k_ea6fqb.dll"
/R:"C:\Windows\assembly\GAC_MSIL\IKVM.OpenJDK.Charsets\0.46.0.1__13235d27fcbfff58\IKVM.OpenJDK.Charsets.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\App_GlobalResources.su5p6jbm.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.DataSetExtensions\v4.0_4.0.0.0__b77a5c561934e089\System.Data.DataSetExtensions.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.CSharp\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.CSharp.dll"
/R:"C:\Windows\assembly\GAC_MSIL\IKVM.OpenJDK.XML.API\0.46.0.1__13235d27fcbfff58\IKVM.OpenJDK.XML.API.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\b8198347\006cc3c6_95c0cc01\Microsoft.Practices.EnterpriseLibrary.Common.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\acbb5fb3\45d5c87f_83cbcc01\MarkdownDeep.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\37284aad\0290b7bb_11d1cc01\Rqo.Web.Lucene.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\26cf2610\ecc629aa_d2c4cc01\Lucene.Net.Contrib.Queries.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\2ca42184\2a05b7e1_e9a8cc01\FreeImageNET.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\4d54887e\0d152aaa_d2c4cc01\Lucene.Net.Contrib.Snowball.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\11eab2a8\2c15cca9_d2c4cc01\ICSharpCode.SharpZipLib.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\6bd300d5\91532d8b_64d0cc01\Rqo.Web.Import.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\ece3de81\f228b787_64d0cc01\Rqo.Infrastructure.Logging.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\3787507c\914d2baa_d2c4cc01\Lucene.Net.Contrib.SpellChecker.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\bb4ecec1\d53ba5bd_11d1cc01\Rqo.Web.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\27d9bf18\c857a7c6_95c0cc01\Microsoft.Practices.Unity.Interception.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\2e494ff9\00c6435b_cfa2cc01\Telerik.Web.UI.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\cf930481\0057850c_9faecc01\Telerik.OpenAccess.35.Extensions.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\bf0b761e\78b528aa_d2c4cc01\Lucene.Net.Contrib.Analyzers.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\552b9a7a\ca7829aa_d2c4cc01\Lucene.Net.Contrib.Highlighter.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\df6277da\70ff2aaa_d2c4cc01\Lucene.Net.Contrib.Spatial.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll"
/R:"C:\Windows\assembly\GAC_MSIL\saxon9he\9.4.0.1__e1fdd002d5083fe6\saxon9he.dll" /R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary
ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\d8f45233\d4e92baa_d2c4cc01\Lucene.Net.Search.SimpleFacetedSearch.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\f89a17dd\99efd116_1898cc01\Microsoft.Practices.Unity.Configuration.DLL"
/R:"C:\Windows\assembly\GAC_MSIL\Telerik.OpenAccess\2011.3.1129.2__7ce17eeaf1d59342\Telerik.OpenAccess.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\36be0116\009fe2f2_b840cc01\Telerik.Windows.Zip.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.WebPages.Deployment\v4.0_1.0.0.0__31bf3856ad364e35\System.Web.WebPages.Deployment.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\c7bb0a84\566728aa_d2c4cc01\Contrib.Regex.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\a604d009\d8b57c09_71d0cc01\Rqo.Web.Tei.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\12230b19\001ba870_9faecc01\Telerik.OpenAccess.Ria.Extensions.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\1bf739d8\95e2a6c6_95c0cc01\Microsoft.Practices.Unity.Interception.Configuration.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\8bf61e03\0f3484bc_11d1cc01\Rqo.Web.Analyze.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.WorkflowServices\v4.0_4.0.0.0__31bf3856ad364e35\System.WorkflowServices.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll"
/R:"C:\Windows\assembly\GAC_MSIL\IKVM.Runtime\0.46.0.1__13235d27fcbfff58\IKVM.Runtime.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\d2fba126\b92afaa9_d2c4cc01\Lucene.Net.DLL"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll"
/R:"C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.DynamicData\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.DynamicData.dll"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\35a34714\b29b2baa_d2c4cc01\Lucene.Net.FastVectorHighlighter.DLL"
/R:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\assembly\dl3\8bf7e832\a8154f87_64d0cc01\Rqo.Dal.DLL"
/out:"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\App_Theme_Default.843hcdw9.dll"
/D:DEBUG=1 /debug+ /nowarn:41008 /define:_MYTYPE=\"Web\" /imports:Microsoft.VisualBasic,System,System.Collections,System.Collections.Generic,System.Collections.Specialized,System.ComponentModel.DataAnnotations,System.Configuration,System.Linq,System.Text,System.Text.RegularExpressions,System.Web,System.Web.Caching,System.Web.DynamicData,System.Web.SessionState,System.Web.Security,System.Web.Profile,System.Web.UI,System.Web.UI.WebControls,System.Web.UI.WebControls.WebParts,System.Web.UI.HtmlControls,System.Xml.Linq
/warnaserror- /optionInfer+  "C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\App_Theme_Default.843hcdw9.0.vb"
"C:\Users\jlang.EVELIX\AppData\Local\Temp\Temporary ASP.NET Files\root\abef18a3\584f3aa\App_Theme_Default.843hcdw9.1.vb"
> Microsoft (R) Visual Basic Compiler version 10.0.30319.233
> Copyright (c) Microsoft Corporation.  All rights reserved.
> InternalXmlHelper.vb(9) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace
'System.Runtime.CompilerServices'.
>     <Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
>      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
> InternalXmlHelper.vb(24) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace
'System.Runtime.CompilerServices'.
>     <Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
>      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
> InternalXmlHelper.vb(39) : error BC30560: 'ExtensionAttribute' is ambiguous in the namespace
'System.Runtime.CompilerServices'.
>     <Global.System.Runtime.CompilerServices.ExtensionAttribute()> _
>      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
> --------------------------------------------------------------------------------
> Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message