[
https://issues.apache.org/jira/browse/IGNITE-1433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15365913#comment-15365913
]
Pavel Tupitsyn edited comment on IGNITE-1433 at 7/7/16 10:19 AM:
-----------------------------------------------------------------
This issue has surfaced once again: user could not start Apache.Ignite.exe with
a spring config due to a typo, and the error message is useless:
{code}
ERROR: Apache.Ignite.Core.Common.IgniteException: Failed to instantiate
configuration from Spring XML:
platforms\dotnet\examples\Config\example-config.xml
в Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.Error(Void target,
Int32 errType, SByte errClsChars, Int32 errClsCharsLen, SByte* errMsgChars,
Int32 errMsgCha
rsLen, Void* errData, Int32 errDataLen)
в
Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.IgnitionStart(Void
ctx, SByte cfgPath, SByte* gridName, Int32 factoryId, Int64 dataPtr)
в
Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.IgnitionStart(UnmanagedContext
ctx, String cfgPath, String gridName, Boolean clientMode)
в Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
в Apache.Ignite.IgniteRunner.Main(String[] args)
{code}
Inner error clearly states that the file does not exist, but we do not show it.
was (Author: ptupitsyn):
This issue has surfaced once again: user could not start Apache.Ignite.exe with
a spring config due to a typo, and the error message is useless:
{code}
ERROR: Apache.Ignite.Core.Common.IgniteException: Failed to instantiate
configuration from Spring XML:
platforms\dotnet\examples\Config\example-config.xml
в Apache.Ignite.Core.Impl.Unmanaged.UnmanagedCallbacks.Error(Void target,
Int32 errType, SByte errClsChars, Int32 errClsCharsLen, SByte* errMsgChars,
Int32 errMsgCha
rsLen, Void* errData, Int32 errDataLen)
в
Apache.Ignite.Core.Impl.Unmanaged.IgniteJniNativeMethods.IgnitionStart(Void
ctx, SByte cfgPath, SByte* gridName, Int32 factoryId, Int64 dataPtr)
в
Apache.Ignite.Core.Impl.Unmanaged.UnmanagedUtils.IgnitionStart(UnmanagedContext
ctx, String cfgPath, String gridName, Boolean clientMode)
в Apache.Ignite.Core.Ignition.Start(IgniteConfiguration cfg)
в Apache.Ignite.IgniteRunner.Main(String[] args)
{code}
> .Net: Add IgniteException.JavaStackTrace
> ----------------------------------------
>
> Key: IGNITE-1433
> URL: https://issues.apache.org/jira/browse/IGNITE-1433
> Project: Ignite
> Issue Type: Task
> Components: platforms
> Affects Versions: 1.1.4
> Reporter: Vladimir Ozerov
> Assignee: Pavel Tupitsyn
> Labels: .net
> Fix For: 1.7
>
>
> Propagate java stack trace as a string in ExceptionUtils.GetException and
> write it to a new field in IgniteException class.
> This will simplify debugging for us both locally and when getting error
> reports from clients.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)