StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
Business Objects and Data Access (How do I?)
»
Error when save in transaction
Error when save in transaction
Post Reply
Like
0
Error when save in transaction
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Chan
Chan
posted 17 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 533,
Visits: 2K
Hi,
My customer hit error when place to save record which is using transaction. It works in my machine. What could case the problem?
NullReferenceException
Object reference not set to an instance of an object.
Source : MicroFour StrataFrame Base
Stack Trace:
at MicroFour.StrataFrame.Data.DbDataSourceItem.TransactionEnd(String TransactionKey, Boolean IsCommit)
at MicroFour.StrataFrame.Data.DbDataSourceItem.TransactionRollback(String TransactionKey)
at MicroFour.StrataFrame.Business.BusinessLayer.TransactionRollback(String DataSourceKey, String TransactionKey)
at JK.POS.UI.Windows.Forms.POSForm.cmdSalePlaceOrder_ItemClick(Object sender, ItemClickEventArgs e)
Reply
Like
0
StrataFrame Team
S
StrataFrame Team
posted 17 Years Ago
ANSWER
Post Details
Share Post
S
Group: StrataFrame Developers
Posts: 3K,
Visits: 2.5K
I don't know. There are several objects used within that method, but I wouldn't anticipate any of them being null. You may have to get it in a reproducable state step through that method.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search