Hi Daniel

I am using IKVM Version - ikvm-0.44.0.5

This exception is bubbled while Apache PDFBox 1.5.0 source is builded using
ant

System.TypeLoadException: Type 
'System.Security.SecuritySafeCriticalAttribute' not found in 
assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, 
PublicKeyToken=b77a5c561934e089'

The details of machine & software are given below
OS:
===
Windows XP Service pack 2
Java
====
JDK 1.6.0

So please help me to resolve the problem

Kumaran


-----Original Message-----
From: Daniel Wilson [mailto:[email protected]] 
Sent: Thursday, March 24, 2011 1:21 AM
To: T.L.
Cc: [email protected]; [email protected]; [email protected]
Subject: Re: how to get dot net version dll from Apache PDFBox 1.5.0 source

Kumaran,

The errors you list are IKVM / .Net errors.  What version of IKVM are you
using?

I'm getting Java errors ... so must have something set up wrong ...

Daniel

On Wed, Mar 23, 2011 at 9:39 AM, T.L. <[email protected]> wrote:

> Hi,
>
> it would be nice if there is a standard .net version release that  is 
> correspondent to java version release.
>
> Luong
>
> On Wed, Mar 23, 2011 at 2:20 PM, Daniel Wilson 
> <[email protected]> wrote:
> > Kumaran,
> >
> > I'll try to check this out.  I haven't built in a few months and am
> getting
> > some errors myself ... but that may be due to something being out of
> date.
> >
> > Until a few months ago, I was maintaining the ability to build the 
> > .Net version ... so hopefully I'll have an answer for you later today.
> >
> > Daniel
> >
> > On Tue, Mar 22, 2011 at 4:49 PM, Kumaran <[email protected]> wrote:
> >
> >> HI
> >>
> >>
> >>
> >> I want to know the detail procedure to get dot net version dll from
> Apache
> >> PDFBox 1.5.0 source
> >>
> >>
> >>
> >> I have done the above as mentioned in documentation a but I am 
> >> getting error as follow
> >>
> >>
> >>
> >> Errer:
> >>
> >>
> >>
> >>     [echo] Building PDFBox
> >>
> >>     [exec] System.TypeLoadException: Type 
> >> 'System.Security.SecuritySafeCriticalAttribute' not found in 
> >> assembly 'mscorlib, Version=2.0.0.0, Culture=neutral, 
> >> PublicKeyToken=b77a5c561934e089'
> >>
> >>     [exec]    at IKVM.Reflection.Reader.ModuleReader.ResolveType(Int32
> >> metadataToken, IGenericContext context)
> >>
> >>     [exec]    at IKVM.Reflection.Reader.ModuleReader.ResolveType(Int32
> >> metadataToken, Type[] genericTypeArguments, Type[]
> genericMethodArguments)
> >>
> >>     [exec]    at IKVM.Reflection.Reader.ModuleReader.GetMemberRef(Int32
> >> index, Type[] genericTypeArguments, Type[] genericMethodArguments)
> >>
> >>     [exec]    at
IKVM.Reflection.Reader.ModuleReader.ResolveMethod(Int32
> >> metadataToken, Type[] genericTypeArguments, Type[]
> genericMethodArguments)
> >>
> >>     [exec]    at IKVM.Reflection.Module.GetCustomAttributes(Int32
> >> metadataToken, Type attributeType)
> >>
> >>     [exec]    at
> >> IKVM.Reflection.Reader.MethodDefImpl.GetCustomAttributesData(Type
> >> attributeType)
> >>
> >>     [exec]    at
> >> IKVM.Reflection.CustomAttributeData.__GetCustomAttributes(MemberInf
> >> o
> >> member,
> >> Type attributeType, Boolean inherit)
> >>
> >>     [exec]    at IKVM.Reflection.MemberInfo.IsDefined(Type
> attributeType,
> >> Boolean inherit)
> >>
> >>     [exec]    at
IKVM.Internal.AttributeHelper.IsHideFromJava(MemberInfo
> >> mi)
> >>
> >>     [exec]    at
> >> IKVM.Internal.CompiledTypeWrapper.AddMethodOrConstructor(MethodBase
> method,
> >> List`1 methods)
> >>
> >>     [exec]    at IKVM.Internal.CompiledTypeWrapper.LazyPublishMethods()
> >>
> >>     [exec]    at IKVM.Internal.TypeWrapper.GetMethods()
> >>
> >>     [exec]    at IKVM.Internal.TypeWrapper.GetMethodWrapper(String
name,
> >> String sig, Boolean inherit)
> >>
> >>     [exec]    at
> >> IKVM.Internal.ClassFile.ConstantPoolItemMethodref.Link(TypeWrapper
> >> thisType)
> >>
> >>     [exec]    at IKVM.Internal.ClassFile.Link(TypeWrapper thisType)
> >>
> >>     [exec]    at IKVM.Internal.DynamicTypeWrapper.JavaTypeImpl.Finish()
> >>
> >>     [exec]    at IKVM.Internal.AotTypeWrapper.Finish()
> >>
> >>     [exec]    at IKVM.Internal.CompilerClassLoader.Compile()
> >>
> >>     [exec]    at IKVM.Internal.CompilerClassLoader.Compile(String
> >> runtimeAssembly, List`1 optionsList)
> >>
> >>     [exec]    at IkvmcCompiler.Main(String[] args)
> >>
> >>
> >>
> >> Regards
> >>
> >> Kumaran
> >>
> >>
> >
>

Reply via email to