- This topic has 1 reply, 2 voices, and was last updated 6 years, 10 months ago by
haksunli.
-
AuthorPosts
-
March 20, 2014 at 6:27 am #2497
haksunli
KeymasterHi,
Can you please explain why I am getting this error. Btw I am using it as a library into a third party application OpenQuant and have extracted everything into its bin folder and added the relevant references to OpenQuant. The license file is in the same folder.
System.TypeInitializationException: The type initializer for ‘com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.dense.DenseMatrix’ threw an exception. —> System.TypeInitializationException: The type initializer for ‘com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.mathoperation.SimpleMatrixMathOperation’ threw an exception. —> com.numericalmethod.suanshu.misc.license.LicenseError: license file not found – put the license file in the classpath, working directory, or next to suanshu.jar
at com.numericalmethod.suanshu.misc.license.License.char()
at com.numericalmethod.suanshu.misc.license.License.isValidated(Date )
at com.numericalmethod.suanshu.misc.license.Package.long()
at com.numericalmethod.suanshu.misc.license.Package.validate(String packageName)
at com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.mathoperation.SimpleMatrixMathOperation..cctor()
— End of inner exception stack trace —
at com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.mathoperation.SimpleMatrixMathOperation..ctor()
at com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.mathoperation.AutoParallelMatrixMathOperation..ctor(Int32 matrixSizeThreshold)
at com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.mathoperation.AutoParallelMatrixMathOperation..ctor()
at com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.dense.DenseMatrix..cctor()
— End of inner exception stack trace —
at com.numericalmethod.suanshu.algebra.linear.matrix.doubles.matrixtype.dense.DenseMatrix..ctor(Int32 nRows, Int32 nCols)
at MyStrategy.OnBarSlice(Int64 size) in c:\Users\SUPER\Documents\OpenQuant\Projects\Suanshu\code.cs:line 41
at OpenQuant.Trading.StrategyRunner.SetNewBarSlice(Int64 barSize)– Akhil Patel
-
AuthorPosts
- You must be logged in to reply to this topic.