User try to delete Networkviews in NCPGUI Database using "delete from ncpgui.networkview where viewid=<NetworkviewID>;" then the corresponding view does not removed in the NetworkView's Tree, also if user click the view name then getting "Access to view 2347 has been denied to user tipadmin"
ncp_topoviz.0.trace find the following message for an example viewID=2347 and ViewName is NCOMS.
[2013-05-01T15:06:22.368] [WebContainer : 0] com.micromuse.topoviz.server.SecurityDAO.allowAccess WARNING: Unsupported access level specified: global
[2013-05-01T15:06:22.370] [WebContainer : 0] NetViewToolBarAction.execute FINE: Attributes: viewId, action[view], dirty[false], message[Access to view 2347 has been denied to user tipadmin].
Diagnosing the problem
Network view is marked as out of date but view name still there in the Tree
[2013-05-01T15:26:05.807] [WebContainer : 2] com.micromuse.topoviz.treetable.models.NetworkViewTreeTableModel.requiresRefresh FINE: NetworkView out of date. CollectionViewDataStore cache purge due.
Resolving the problem
Create a new Networkview then the old view cache will be deleted at the time of creating the views and the view name in the Networkview Tree also added with new name. Find the following lines in the ncp_topoviz.0.trace to delete and add the new views in to model when creating new views,
[2013-05-01T15:26:05.810] [WebContainer : 2] com.micromuse.topoviz.bean.CollectionViewDataStore.purge FINE: CollectionViewDataStore cache purge completed.
[2013-05-01T15:26:05.969] [WebContainer : 2] com.micromuse.topoviz.treetable.models.NetworkViewTreeTableModel.processUpdatesAndDeletes INFO: HNMTB0005I=28 views deleted from model
[2013-05-01T15:26:05.972] [WebContainer : 2] com.micromuse.topoviz.treetable.models.NetworkViewTreeTableModel.processUpdatesAndDeletes INFO: HNMTB0004I=0 views updated in the model
[2013-05-01T15:26:05.983] [WebContainer : 2] com.micromuse.topoviz.treetable.models.NetworkViewTreeTableModel.processAdds INFO: HNMTB0003I=28 views added to the model.
After the new view has been created or updated other existing views it will work without any Access denied error.
Note: User delete the Networkviews from GUI then the above is not applicable.