cesarz
Posts: 10
Joined: Thu Oct 23, 2008 4:17 pm

"SOLVED" Major problem after UPDATE of core.

Fri Sep 09, 2011 6:59 pm

GpsGate note:

This problem is due to manually editing Admin.aspx after the Core upgrade, or by copying back an old modified version of this file.

Please note that all customizations must be made in new files using APIs and plugin technology available in GpsGate

Original message:

I get this error when i try to add user to application from application levl (logged as admin):

[NullReferenceException: Object reference not set to an instance of an object.]
GpsGate.VehicleTracker.WebUI.Admin.LinkButtonAddUser_Click(Object sender, EventArgs e) +47
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +114
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +139
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +28
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2980

Also I cant change name, mai, phone or password of user - it shows this error:

Object reference not set to an instance of an object

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Fri Sep 09, 2011 7:22 pm

Update to CORE 3.0.0.3019

Clean installatin update went fine. But production server is having problems described in the post above.

We can not change any user name or password
We can not add new users from VehicleTracker application level.

Regards,
Piotr

User avatar
johan
GpsGate
Posts: 15350
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: "SOLVED" Major problem after UPDATE of core.

Fri Sep 09, 2011 7:41 pm

Test to recycle IIS.

Then login to VehicleTracker again.

Regards,
Johan

GpsGate Support

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Fri Sep 09, 2011 9:43 pm

It didn't help. Still the same red message when saving changes to user under VehicleTracker:

Object reference not set to an instance of an object.

Regards,
Piotr

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 2:33 pm

We can update DB directly but not using GGS ingterface. Any clues?

Regards,
Piotr

User avatar
Bjorn_Andersson
GpsGate
Posts: 462
Joined: Wed Jun 28, 2006 5:20 pm
Location: Sweden
Contact: Website

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 3:53 pm

Hi,
1. I need error logs for add and edit user scenarios.
2. Which version of core did you run before upgrading?


Regards,
GpsGate Support
Bjorn Andersson

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 4:13 pm

IIS

2011-09-12 08:25:21.9802 | Error | 7 | Admin.m_bindFormView | System.NullReferenceException | System.NullReferenceException: Object reference not set to an instance of an object.
at GpsGate.VehicleTracker.WebUI.Admin.m_bindFormView(Int32 iUserID, FormView formView)
2011-09-12 08:25:21.9958 | Error | 7 | LoggerImpl.Write | Error binding FormView. Message = Object reference not set to an instance of an object. |
2011-09-12 08:25:40.8406 | Error | 7 | PageBase.Page_Error | System.NullReferenceException | System.NullReferenceException: Object reference not set to an instance of an object.
at GpsGate.VehicleTracker.WebUI.Admin.LinkButtonAddUser_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
2011-09-12 08:25:40.8406 | Error | 7 | LoggerImpl.Write | Unhandled error In ASP.vehicletracker_admin_aspx. Message Object reference not set to an instance of an object. |
2011-09-12 08:25:40.8406 | Error | 7 | LoggerImpl.Write | at GpsGate.VehicleTracker.WebUI.Admin.LinkButtonAddUser_Click(Object sender, EventArgs e)
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |


2011-09-12 12:20:29.7090 | Error | 53 | DAOBase.Update | System.NullReferenceException | System.NullReferenceException: Ghost DAOBase object detected ---> System.NullReferenceException: Object reference not set to an instance of an object.
at System.Data.DataTable.RecordChanged(Int32 record)
at System.Data.DataRow.RowErrorChanged()
at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
at Franson.DAO.DAOBase.Update()
--- End of inner exception stack trace ---
at Franson.DAO.DAOBase.Update()
2011-09-12 12:20:29.7090 | Error | 53 | LoggerImpl.Write | Table sessions |
2011-09-12 12:20:29.7246 | Error | 53 | ExtendedRpcDispatcher.OnError | Franson.DAO.UpdateDBException | Error updating database (Franson.DAO.UpdateDBException)
at Franson.DAO.DAOBase.Update()
at Franson.DAO.DAOItem.Update()
at Franson.DAO.BOItem.Update()
at Franson.Directory.Session.CheckExpire()
at Franson.Directory.AuthenticationManager.Authenticate(Int32 iSessionID, String strSourceAddress, Int32 iApplicationID)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetUsersInGroup(Int32 iApplicationID, String strGroupName, Int32 iViewID)
at GpsGate.Directory.Service.json.Directory.GetUsersInGroup(Int32 appId, String groupName, Int32 viewId)
Ghost DAOBase object detected (System.NullReferenceException)
at Franson.DAO.DAOBase.Update()
Object reference not set to an instance of an object. (System.NullReferenceException)
at System.Data.DataTable.RecordChanged(Int32 record)
at System.Data.DataRow.RowErrorChanged()
at System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)
at System.Data.Common.DbDataAdapter.Update(DataTable dataTable)
at Franson.DAO.DAOBase.Update()

2011-09-12 12:20:29.7246 | Error | 53 | LoggerImpl.Write | Error updating database |



Regards,
Piotr

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 4:16 pm

There are also some R/W LOCK problems

2011-09-12 13:11:25.0835 | Error | 59 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetUserResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetUsersInGroup(Int32 iApplicationID, String strGroupName, Int32 iViewID)
at GpsGate.Directory.Service.json.Directory.GetUsersInGroup(Int32 appId, String groupName, Int32 viewId)
2011-09-12 13:11:25.0835 | Error | 59 | LoggerImpl.Write | LocaleManager.GetUserResource |
2011-09-12 13:11:25.0835 | Error | 66 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetUserResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetUsersInGroup(Int32 iApplicationID, String strGroupName, Int32 iViewID)
at GpsGate.Directory.Service.json.Directory.GetUsersInGroup(Int32 appId, String groupName, Int32 viewId)
2011-09-12 13:11:25.0835 | Error | 66 | LoggerImpl.Write | LocaleManager.GetUserResource |
2011-09-12 13:11:25.0835 | Error | 64 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetUserResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetLatestGateRecords(Int32 iApplicationID, Int32 iUserId, Boolean bFilterNotUsed)
at GpsGate.Directory.Service.json.Directory.GetLatestGateRecords(Int32 appId, Int32 userId, Boolean bFilterNotUsed)
2011-09-12 13:11:25.0835 | Error | 64 | LoggerImpl.Write | LocaleManager.GetUserResource |
2011-09-12 13:11:25.0835 | Error | 54 | Index.get_WebContext | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: Localemanager.GetSiteResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetSiteResource()
at Franson.Localization.LocaleFactory.CreateLocale(String strLangPath)
at GpsGate.VehicleTracker.WebUI.Index.get_WebContext()
2011-09-12 13:11:25.0835 | Error | 54 | LoggerImpl.Write | Error creating web context. Localemanager.GetSiteResource |
2011-09-12 13:11:25.0835 | Error | 54 | Index.Page_Load | System.Threading.ThreadAbortException | System.Threading.ThreadAbortException: Thread was being aborted.
at System.Threading.Thread.AbortInternal()
at System.Threading.Thread.Abort(Object stateInfo)
at System.Web.HttpResponse.End()
at GpsGate.VehicleTracker.WebUI.Index.get_WebContext()
at GpsGate.VehicleTracker.WebUI.Index.get_Lang()
at GpsGate.VehicleTracker.WebUI.Index.Page_Load(Object sender, EventArgs e)
2011-09-12 13:11:25.0835 | Error | 54 | LoggerImpl.Write | Error Loading VehicleTracker Index = Thread was being aborted. |
2011-09-12 13:11:25.0835 | Error | 94 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetUserResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetNewGateEvents(Int32 iApplicationID, DateTime dtServerTimeStamp, String strStateName, String[] arrChannels, Int32 iViewID, Int64 lngIndex, Int32 iCount, Boolean bAscending)
at GpsGate.Directory.Service.json.Directory.GetNewGateEvent(Int32 appId, DateTime sinceTimeStamp, String state, String[] channels, Int32 viewId, Int64 lngIndex, Int32 iCount, Boolean bAscending)
2011-09-12 13:11:25.0835 | Error | 94 | LoggerImpl.Write | LocaleManager.GetUserResource |
2011-09-12 13:11:25.0835 | Error | 67 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetUserResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetNewGateEvents(Int32 iApplicationID, DateTime dtServerTimeStamp, String strStateName, String[] arrChannels, Int32 iViewID, Int64 lngIndex, Int32 iCount, Boolean bAscending)
at GpsGate.Directory.Service.json.Directory.GetNewGateEvent(Int32 appId, DateTime sinceTimeStamp, String state, String[] channels, Int32 viewId, Int64 lngIndex, Int32 iCount, Boolean bAscending)
2011-09-12 13:11:25.0835 | Error | 67 | LoggerImpl.Write | LocaleManager.GetUserResource |
2011-09-12 13:11:25.0835 | Error | 71 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: Localemanager.GetSiteResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetSiteResource()
at Franson.Localization.LocaleManager`2.GetApplicationResource(Application application)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetUpdatedUsersInGroup(Int32 iApplicationID, String strGroupName, Int32 iStartIndex, Int32 iStopIndex, Int32 iViewID, DateTime dtSince)
at GpsGate.Directory.Service.json.Directory.GetUpdatedUsersInGroup(Int32 appId, String groupName, Int32 start, Int32 stop, Int32 viewId, DateTime since)
2011-09-12 13:11:25.0991 | Error | 71 | LoggerImpl.Write | Localemanager.GetSiteResource |
2011-09-12 13:11:25.0991 | Error | 93 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetUserResource
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.WriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetNewGateEvents(Int32 iApplicationID, DateTime dtServerTimeStamp, String strStateName, String[] arrChannels, Int32 iViewID, Int64 lngIndex, Int32 iCount, Boolean bAscending)
at GpsGate.Directory.Service.json.Directory.GetNewGateEvent(Int32 appId, DateTime sinceTimeStamp, String state, String[] channels, Int32 viewId, Int64 lngIndex, Int32 iCount, Boolean bAscending)
2011-09-12 13:11:25.0991 | Error | 93 | LoggerImpl.Write | LocaleManager.GetUserResource |
2011-09-12 13:11:25.0991 | Error | 100 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetResources
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetResources()
at Franson.Localization.LocaleManager`2.GetResource(String strResourceName)
at Franson.Localization.LocaleManager`2.GetApplicationResource(Application application)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetUsersInGroup(Int32 iApplicationID, String strGroupName, Int32 iViewID)
at GpsGate.Directory.Service.json.Directory.GetUsersInGroup(Int32 appId, String groupName, Int32 viewId)
2011-09-12 13:11:25.0991 | Error | 100 | LoggerImpl.Write | LocaleManager.GetResources |
2011-09-12 13:11:25.0991 | Error | 63 | Index.Page_Load | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetResources
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetResources()
at Franson.Localization.LocaleManager`2.GetResource(String strResourceName)
at Franson.Localization.LocaleManager`2.GetSiteResource()
at Franson.Localization.LocaleFactory.CreateLocale(String strLangPath)
at GpsGate.ServerPortal.WebUI.Index.get_Locale()
at GpsGate.ServerPortal.WebUI.Index.get_Lang()
at GpsGate.ServerPortal.WebUI.Index.Page_Load(Object sender, EventArgs e)
2011-09-12 13:11:25.0991 | Error | 96 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetResources
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetResources()
at Franson.Localization.LocaleManager`2.GetResource(String strResourceName)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetUpdatedUsersInGroup(Int32 iApplicationID, String strGroupName, Int32 iStartIndex, Int32 iStopIndex, Int32 iViewID, DateTime dtSince)
at GpsGate.Directory.Service.json.Directory.GetUpdatedUsersInGroup(Int32 appId, String groupName, Int32 start, Int32 stop, Int32 viewId, DateTime since)
2011-09-12 13:11:25.0991 | Error | 96 | LoggerImpl.Write | LocaleManager.GetResources |
2011-09-12 13:11:25.0991 | Error | 33 | ExtendedRpcDispatcher.OnError | Franson.Threading.LockTimeoutException | Franson.Threading.LockTimeoutException: LocaleManager.GetResources
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, Int32 iTimeout, String strMessage)
at Franson.Threading.TimedReaderWriterLock.UpgradeToWriterLock(ReaderWriterLock rwLock, String strMessage)
at Franson.Localization.LocaleManager`2.GetResources()
at Franson.Localization.LocaleManager`2.GetResource(String strResourceName)
at Franson.Localization.LocaleManager`2.GetUserResource(User user, Application application)
at Franson.Localization.LocaleFactory.CreateLocale(Application application, User user, String strLangPath)
at Franson.ApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID, String strRequestAddress, String strResourcePath)
at Franson.Web.Application.WebApplicationContext.Create(Int32 iSessionID, Int32 iApplicationID)
at Franson.Web.Services.ServiceFacadeBase.GetContext(Int32 iAppliationID)
at Franson.Web.Services.ServiceFacadeBase.GetSession(Int32 iApplicationID)
at GpsGate.Directory.Service.DirectoryFacade.GetLatestGateRecords(Int32 iApplicationID, Int32 iUserId, Boolean bFilterNotUsed)
at GpsGate.Directory.Service.json.Directory.GetLatestGateRecords(Int32 appId, Int32 userId, Boolean bFilterNotUsed)
2011-09-12 13:11:25.0991 | Error | 33 | LoggerImpl.Write | LocaleManager.GetResources |

Regards,
Piotr

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 4:18 pm

How can I tell now from which version we upgraded from?

Regards,
Piotr

sowmach
Posts: 56
Joined: Tue Feb 03, 2009 7:41 pm

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 8:09 pm

what was the problem with this?

is it safe to upgrade?

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 9:44 pm

We can not change any user name or password
We can not add new users from VehicleTracker application level.

That's the problem we have after latest CORE upgrade.

Regards,
Piotr

User avatar
Bjorn_Andersson
GpsGate
Posts: 462
Joined: Wed Jun 28, 2006 5:20 pm
Location: Sweden
Contact: Website

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 10:02 pm

I really cannot reproduce this.
You mentioned that you got errors when you changed the name (or any other properties) of a user as well. What error do you get in the log when you are doing that?


Regards,
GpsGate Support
Bjorn Andersson

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Mon Sep 12, 2011 10:48 pm

These are the IIS errors I find in the log

1. Just after logging into an application

2011-09-12 19:44:38.0814 | Error | 137 | Admin.m_bindFormView | System.NullReferenceException | System.NullReferenceException: Object reference not set to an instance of an object.
at GpsGate.VehicleTracker.WebUI.Admin.m_bindFormView(Int32 iUserID, FormView formView)
2011-09-12 19:44:38.0970 | Error | 137 | LoggerImpl.Write | Error binding FormView. Message = Object reference not set to an instance of an object. |

2. I change the name of the user. I click save. I get on the web page "Object reference not set to an instance of an object." error. But NOTHING in the IIS error log. NOTHING. Also NOTHING in the NMEA log

I gues there is some lock problem at the moment you log into an application. And the lock is caused by the error visible in the point 1.

As I said before - we can add new users from SiteAdmin (as admins). We can also change names and passwords manually directly in DB - so it's not DB problem. It seems to be a problem of VehicleTracker App or some components related to it.

Regards,
Piotr

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Tue Sep 13, 2011 2:07 pm

Any update on that? None of our new users can set it's phone number or email to receive event rulez notifications. IT IS A SERIOUS PROBLEM.

Regards,
Piotr

peetee
Posts: 365
Joined: Wed Jul 09, 2008 1:37 am

RE: "SOLVED" Major problem after UPDATE of core.

Tue Sep 13, 2011 5:49 pm

Any update? Do you need more information?

Regards,
Piotr

Return to “GpsGate Server - How to setup and use”