Generics - System.NullReferenceException: Object reference not set to an instance of an object.

65 views
Skip to first unread message

Suresh Mallampati

unread,
Mar 18, 2021, 7:51:16 AM3/18/21
to jni4net
Hi ,
                     Iam new to jni4net, I started using jni4net, Iam able to load my test c# dll's in my test java application. when i run the proxygen.exe for third party dll i am getting following exception.

E:\JNI4LIB\bin>proxygen.exe "zzz.dll" -wd "E:\Temp"
jni4net.proxygen - Copyright (C) 2009 Pavel Savara - licensed under GPLv3
Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true

System.NullReferenceException: Object reference not set to an instance of an object.
   at net.sf.jni4net.proxygen.model.Repository.RegisterType(Type type, TypeRegistration registration)
   at net.sf.jni4net.proxygen.model.Repository.RegisterType(Type type, TypeRegistration registration)
   at net.sf.jni4net.proxygen.model.Repository.Register()
   at net.sf.jni4net.proxygen.Program.Work(String[] args)
   at net.sf.jni4net.proxygen.Program.Main(String[] args)

Could anyone please guide me regarding this.  
=================
MALLAMPATI SURESH
Reply all
Reply to author
Forward
0 new messages