Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

General Ledger journal validate button error

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

I'm getting the below error, when i tried to do the general ledger journal validate error in ax 2012. Kindly help me to resolve this specific error. 

Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.callReturn(Int32 rc, interpret* ip)
at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.CallStatic(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes)
at Microsoft.Dynamics.Ax.Xpp.XppObjectBase.StaticCall(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs)
at Dynamics.Ax.Application.Debug.assert(Boolean expression)
at Dynamics.Ax.Application.DimensionDefaultingService.applyFixedDimensions(Object[] _parms) in DimensionDefaultingService.applyFixedDimensions.xpp:line 43
at DimensionDefaultingService::applyFixedDimensions(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at SysDictClass::invokeStaticMethod(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)

Regards,

Zahir

*This post is locked for comments

  • Brandon Wiese Profile Picture
    Brandon Wiese 17,788 on at
    RE: General Ledger journal validate button error

    It looks like you may have a main account number that no longer exists.  

    Did you rename a main account at some point since the last time you ran opening transactions?

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,391 Super User 2024 Season 2 on at
    RE: General Ledger journal validate button error

    Hi Andres,

    Did this work before correctly? Can you try to do a full x++ compilation and if this one is successful also a CIL build? After the CIL build, restart all the AOS services for this environment. If it is a production environment, you can also do this task in a copy of the environment and when successful, move the model store to the production environment and restart the AOS machines.

  • Andres Bdz Profile Picture
    Andres Bdz 25 on at
    RE: General Ledger journal validate button error
    I am using ax 2012 cumulative r3, the case of the error only occurs in some of the companies not in all.
    general accounting >> newspaper >> opening transactions
    6378.error-ax.PNG

    error

    Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException' was thrown.
    at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
    at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.callReturn(Int32 rc, interpret* ip)
    at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.CallStatic(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes)
    at Microsoft.Dynamics.Ax.Xpp.XppObjectBase.StaticCall(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs)
    at Dynamics.Ax.Application.Debug.assert(Boolean expression)
    at Dynamics.Ax.Application.DimensionStorageSegment.construct(String _displayValue, Int64 _dimensionAttributeValueId, Guid _hashKey) in DimensionStorageSegment.construct.xpp:line 29
    at Dynamics.Ax.Application.LedgerTransferOpening.Getmainaccountstoragesegment(String _mainAccountId, Boolean _createIfNecessary, Boolean ) in LedgerTransferOpening.getMainAccountStorageSegment.xpp:line 20
    at Dynamics.Ax.Application.LedgerTransferOpening.Getmainaccountstoragesegment(String _mainAccountId)
    at Dynamics.Ax.Application.LedgerTransferOpening.Processquery(Int32 _transactionType, QueryRun _queryRun, Int64 _dimensionAttributeSet, LedgerParameters _ledgerParameters) in LedgerTransferOpening.processQuery.xpp:line 105
    at Dynamics.Ax.Application.LedgerTransferOpening.Run() in LedgerTransferOpening.run.xpp:line 708
    at Dynamics.Ax.Application.LedgerTransferOpening.runIL(Object[] _pack, Boolean _isPublicSectorEnabled, Boolean ) in LedgerTransferOpening.runIL.xpp:line 10
    at Dynamics.Ax.Application.LedgerTransferOpening.runIL(Object[] _pack)
    at LedgerTransferOpening::runIL(Object[] )
    at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
    at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
    at SysDictClass::invokeStaticMethod(Object[] )
    at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
    at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: General Ledger journal validate button error

    Good Morning Andres Bdz,

    Is it possible that you open a new thread/question and provide some information about the AX version that you operate?

    Can you also share a screenprint of the original error message and let us know whether you see this issue only once or in all of your systems (dev, test, live, etc.)

    That is because this thread is almost 4 years old and your system environment might be totally different.

    Many thanks and best regards,

    Ludwig

  • Andres Bdz Profile Picture
    Andres Bdz 25 on at
    RE: General Ledger journal validate button error

    I have the same problem, how did you solve it?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: General Ledger journal validate button error

    Hi Zahir,

    Do full CIL and ensure that there are no errors in your objects.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans