List Info

Thread: To Cort Schaefer: NVelocity and VS2005




To Cort Schaefer: NVelocity and VS2005
user name
2007-02-12 02:33:02
Thanks for your interest.
 
I can only give you as information the trace of the error log. It is:
 
Value cannot be null. Parameter name: type 

at System.Activator.CreateInstance(Type type, Boolean nonPublic)

at System.Activator.CreateInstance(Type type)

at NVelocity.Runtime.Log.LogManager.createLogSystem(RuntimeServices rsvc)

at NVelocity.Runtime.RuntimeInstance.initializeLogger()

at NVelocity.Runtime.RuntimeInstance.init()

The fact is that I have this application working without problems in VS2003. The only change I have done is open it and migrate to VS2005. The problem is just when initialize, so I can't do anymore.
 
I have read something about the initializacions of NVelocity and the init method:
 
public void init()
          throws Exception

This is the primary initialization method in the Velocity Runtime. The systems that are setup/initialized here are as follows:

·        Logging System

·        ResourceManager

·        EventHandler

·        Parser Pool

·        Global Cache

·        Static Content Include System


But I have no idea about which initializacion is failing and why. Can you help me?
 
Thanks very much in advance.

 
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )