Project

Profile

Help

Bug #2693

closed

java.lang.NoClassDefFoundError: com.saxonica.ee.bytecode.GeneratedCode

Added by O'Neil Delpratt over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
.NET API
Sprint/Milestone:
Start date:
2016-04-04
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.7
Fix Committed on Branch:
9.7
Fixed in Maintenance Release:
Platforms:

Description

Bug reported by user.:

ASP.Net web site project, tested on Windows 8.1 + Visual Studio 2013.

It worked fine with Saxon 9.6.0.8 .Net.

With 9.7.0.4, the following unhandled exception happens:

java.lang.NoClassDefFoundError was unhandled by user code
 HResult=-2146233088
 Message=com.saxonica.ee.bytecode.GeneratedCode
 Source=IKVM.Runtime
 StackTrace:
      at IKVM.NativeCode.java.lang.ClassLoader.defineClass1(ClassLoader thisClassLoader, String name, Byte[] b, Int32 off, Int32 len, Object pd, String source)
      at java.lang.ClassLoader.defineClass1(String , Byte[] , Int32 , Int32 , ProtectionDomain , String )
      at java.lang.ClassLoader.defineClass(String name, Byte[] b, Int32 off, Int32 len, ProtectionDomain protectionDomain)
      at java.lang.ClassLoader.defineClass(String name, Byte[] b, Int32 off, Int32 len)
      at net.sf.saxon.dotnet.DotNetPlatform.MyClassLoader.registerClass(String name, Byte[] classFile)
      at com.saxonica.ee.bytecode.util.CompilerService.makeClass(ClassWriter writer, String className)
      at com.saxonica.ee.bytecode.util.CompilerService.compileToByteCode(Expression expr, String objectName, Int32 evaluationModes)
      at com.saxonica.ee.optim.OptimizerEE.compileToByteCode(Expression expr, String objectName, Int32 evaluationMethods)
      at net.sf.saxon.style.XSLTemplate.generateByteCode(Optimizer opt)
      at net.sf.saxon.style.PrincipalStylesheetModule.compile(Compilation compilation)
      at net.sf.saxon.style.Compilation.compilePackage(Source source)
      at net.sf.saxon.style.StylesheetModule.loadStylesheet(Source styleSource, Compilation compilation)
      at net.sf.saxon.style.Compilation.compileSingletonPackage(Configuration config, CompilerInfo compilerInfo, Source source)
      at Saxon.Api.XsltCompiler.Compile(Stream input, String theBaseUri, Boolean closeStream)
      at Saxon.Api.XsltCompiler.Compile(Uri uri)
      at _Default.Page_Load(Object sender, EventArgs e) in c:\Users\1stUser\Documents\Visual Studio 2013\WebSites\WebSite1\Default.aspx.cs:line 28
      at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
      at System.Web.UI.Control.OnLoad(EventArgs e)
      at System.Web.UI.Control.LoadRecursive()
      at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

I have managed to reproduce the problem and investigating it now.

Please register to edit this issue

Also available in: Atom PDF