Home Forums suanshu.net in OpenQuant

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #2497
    haksunli
    Keymaster

    Hi,

    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

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.