When you say you "see these exceptions being generated", what exactly do you mean? Where are the exceptions reported? If you say the exceptions aren't breaking any functionality, then why are you worried about them? A message like this:
 
Could not find a part of the path 'C:\\WINDOWS\\system32\\net\\sf\\saxon\\dotnet\\DotNetPlatform.class'
 
looks to me as if you have some kind of tracing switched on where unsuccessful attempts to load assemblies are logged; if there is later a successful attempt to load the assembly from a different location, then I wouldn't worry about this.
 
However, I would normally recommend installing the Saxon DLLs in the General Assembly Cache and loading them from there.
 

Regards,

Michael Kay
http://www.saxonica.com/
http://twitter.com/michaelhkay



From: Raveendran, Reshma [mailto:Reshma.Raveendran@morganstanleysmithbarney.com]
Sent: 04 March 2010 08:47
To: 'Mailing list for the SAXON XSLT and XQuery processor'
Subject: [saxon] Handled exceptions thrown when creating instance ofProcessor

Hi,

 

I’m using Saxon-HE 9.2.0.3 and when creating an instance of the Processor class I see the following exceptions getting generated, although they are handled exceptions and they are not breaking any functionality.  I’ve deployed Saxon locally (i.e. in the bin directory) in a ASP.net application. I need your help to know what could be causing these exceptions  and is there a way to circumvent them.

 

 

java.lang.ClassNotFoundException occurred

  Message=""

  Source="IKVM.Runtime"

  StackTrace:

       at IKVM.NativeCode.java.lang.ClassLoader.findBootstrapClass(Object thisClassLoader, String name)

  InnerException:

 

=================================

 

System.IO.DirectoryNotFoundException occurred

  Message="Could not find a part of the path 'C:\\WINDOWS\\system32\\net\\sf\\saxon\\dotnet\\DotNetPlatform.class'."

  Source="mscorlib"

  StackTrace:

       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

  InnerException:

 

=======================================

 

java.lang.ClassNotFoundException occurred

  Message="net.sf.saxon.dotnet.DotNetPlatform"

  Source="IKVM.OpenJDK.Core"

  StackTrace:

       at java.net.URLClassLoader$1.run()

  InnerException:

 

 

=========================================

 

java.security.PrivilegedActionException occurred

  Message=""

  Source="IKVM.Runtime"

  StackTrace:

       at java.security.AccessController.doPrivileged(Object , AccessControlContext , CallerID )

  InnerException:

 

 

================================================

 

java.lang.ClassNotFoundException occurred

  Message="net.sf.saxon.dotnet.DotNetPlatform"

  Source="IKVM.OpenJDK.Core"

  StackTrace:

       at java.net.URLClassLoader.findClass(String name)

  InnerException:

 

================================================

 

java.lang.ClassNotFoundException occurred

  Message=""

  Source="IKVM.Runtime"

  StackTrace:

       at IKVM.NativeCode.java.lang.ClassLoader.findBootstrapClass(Object thisClassLoader, String name)

  InnerException:

 

================================================

 

System.IO.DirectoryNotFoundException occurred

  Message="Could not find a part of the path 'C:\\WINDOWS\\system32\\net\\sf\\saxon\\Configuration.class'."

  Source="mscorlib"

  StackTrace:

       at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

  InnerException:

 

 

==================================================

 

java.lang.ClassNotFoundException occurred

  Message="net.sf.saxon.Configuration"

  Source="IKVM.OpenJDK.Core"

  StackTrace:

       at java.net.URLClassLoader$1.run()

  InnerException:

 

=============================

 

java.security.PrivilegedActionException occurred

  Message=""

  Source="IKVM.Runtime"

  StackTrace:

       at IKVM.NativeCode.sun.misc.Unsafe.throwException(Object thisUnsafe, Exception x)

  InnerException:

 

===================================================

 

java.security.PrivilegedActionException occurred

  Message=""

  Source="IKVM.Runtime"

  StackTrace:

       at java.security.AccessController.doPrivileged(Object , AccessControlContext , CallerID )

  InnerException:

 

======================================

 

java.lang.ClassNotFoundException occurred

  Message="net.sf.saxon.Configuration"

  Source="IKVM.OpenJDK.Core"

  StackTrace:

       at java.net.URLClassLoader.findClass(String name)

  InnerException:

 

 

============================================

 

Best Regards,

 

Reshma Raveendran

 


NOTICE: If received in error, please destroy, and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error. We may monitor and store emails to the extent permitted by applicable law.