TypeError in web client - HELP!
Hello,
Would someone be able to tell me where I can fix this error that keeps popping up? And what is the source? This occurs for two instances for me:
1. When I try to create a work item in the web client (clicking the green plus sign) I receive this error:
TypeError: _158 is null
2. In the rich client, I have a view in my plans that groups by Tag. When I try to select this view in the web client, I receive this error:
TypeError: _b(_10, _e) is undefined
Can someone please help me address this as soon as possible? We are trying to roll-out RTC to our organization and it is discouraging to users when they see these errors.
Using RTC 2.0 Enterprise Ed.
Thank you in advance,
Vincent-
Would someone be able to tell me where I can fix this error that keeps popping up? And what is the source? This occurs for two instances for me:
1. When I try to create a work item in the web client (clicking the green plus sign) I receive this error:
TypeError: _158 is null
2. In the rich client, I have a view in my plans that groups by Tag. When I try to select this view in the web client, I receive this error:
TypeError: _b(_10, _e) is undefined
Can someone please help me address this as soon as possible? We are trying to roll-out RTC to our organization and it is discouraging to users when they see these errors.
Using RTC 2.0 Enterprise Ed.
Thank you in advance,
Vincent-
7 answers
Can you provide what the version you are working with?
You may also be able to see more a more meaningful message if you use the debug=true parameter, e.g.,
https://localhost:9443/jazz/web/projects/JUnit%20Project?debug=true#action=jazz.viewPage&id=com.ibm.team.apt
Thanks,
Larry Smith
Work Items Web UI Development
You may also be able to see more a more meaningful message if you use the debug=true parameter, e.g.,
https://localhost:9443/jazz/web/projects/JUnit%20Project?debug=true#action=jazz.viewPage&id=com.ibm.team.apt
Thanks,
Larry Smith
Work Items Web UI Development
Hi Larry,
Thanks for your prompt reply.
I am on RTC 2.0 Enterprise. Here are the error logs (respectively):
Thanks for your prompt reply.
I am on RTC 2.0 Enterprise. Here are the error logs (respectively):
Error: write access not yet implemented
File: https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true (Line: 276)
Stack:
Error("write access not yet implemented")@:0
("build")@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:276
(,"build")@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:102
(,"build")@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:84
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:119
(,,null)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:113
(,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:212
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/actions/ItemMovePolicy.js?debug=true:187
doCompoundSave((function () {var plan = this.__viewModel.getInput();var newItem;plan.compoundChange(function () {newItem = plan.createNewPlanItem(plan, workingCopy);newItem.setAttributeValue(com.ibm.team.apt.client.PlanItem.TARGET, plan.getIterations());newItem.setAttributeValue(com.ibm.team.apt.client.PlanItem.CATEGORY, plan.getRootCategory());}, this);for (var i = 0; i < handlers.length; i++) {response = responses;if (response != null) {response.newItem = newItem;response.targetEntry = targetEntry;handlers.create(response, updateAccessor);}}var planMode = this.__getPlanModeFn();var store = planMode.getStore();var oldStore = store.serialize();this.__viewMode.storeOptions(updateAccessor);this.__groupProvider.storeOptions(updateAccessor);this.__entrySorter.storeOptions(updateAccessor);var newStore = store.serialize();if (newStore != oldStore) {WorkItemSaveManager.save(new PostPlanSaveRunnable(plan, planMode));}}),,,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/WorkItemSaveManager.js?debug=true:65
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/actions/ItemMovePolicy.js?debug=true:202
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:1774
((function () {return method.apply(scope, arguments || []);}))@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:309
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/actions/ItemMovePolicy.js?debug=true:153
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.workitem.web/cache/internal/WorkItemProxyClient.js?debug=true:165
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:1774
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.workitem.web/cache/internal/WorkItemProxyClient.js?debug=true:667
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.workitem.web/cache/internal/WorkItemProxyClient.js?debug=true:450
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/ServiceResponseHandler.js?debug=true:78
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/TeamServerClient.js?debug=true:98
callContributedCode((function () {serviceResponseHandler.doCallback(responseObj);}))@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/core/internal/util.js?debug=true:26
handleCallback(,,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/TeamServerClient.js?debug=true:97
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/TeamServerClient.js?debug=true:60
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2764
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2787
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2680
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2702
()@https://svlrtc.svl.ibm.com:9444/jazz/web/jazz.client/xhr.js?debug=true:370
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2764
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2787
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2680
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:2702
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:7694
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:7606
(9)@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/7657907145/db?debug=true:7620
TypeError: transform(value, key) is undefined
File: https://svlrtc.svl.ibm.com:9444/jazz/web/dojo/string.js?debug=true (Line: 127)
Stack:
("${0}","0","",33,"This work item's primary tag is '${0}'")@https://svlrtc.svl.ibm.com:9444/jazz/web/dojo/string.js?debug=true:127
("This work item's primary tag is '${0}'",)@https://svlrtc.svl.ibm.com:9444/jazz/web/dojo/string.js?debug=true:122
(,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:130
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:245
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/planneditems/PlanItemViewerItem.js?debug=true:76
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/planneditems/Columns.js?debug=true:117
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/planneditems/PlanItemViewerItem.js?debug=true:183
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewerItem.js?debug=true:151
(,,,null)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewer.js?debug=true:408
(,,,null)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewer.js?debug=true:438
(,null,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewer.js?debug=true:438
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewer.js?debug=true:396
((function (readAccessor) {var rootEntry = readAccessor.getRootEntry();if (rootEntry != null) {this.__addEntry(readAccessor.getRootEntry(), null, expandedItems);}}),)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:286
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewer.js?debug=true:398
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/common/ViewModelViewer.js?debug=true:79
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:82
((function (updateAccessor) {var i;var optionsStore = planMode.getStore();var getPlanFn = dojo.hitch(this, this.__getPlan);var groupProviderCtor = dojo.getObject(planMode.groupProvider.implementation);var groupProvider = new groupProviderCtor(getPlanFn, {context: this._context, columns: planMode.columns, parameters: planMode.groupProvider.parameters});groupProvider.loadOptions(optionsStore.subStore("groupProvider"));this._itemMovePolicy.setGroupProvider(groupProvider);var viewModeCtor = dojo.getObject(planMode.viewMode.implementation);var viewMode = new viewModeCtor(getPlanFn, groupProvider, {context: this._context, columns: planMode.columns, parameters: planMode.viewMode.parameters});viewMode.loadOptions(optionsStore.subStore("viewMode"));this._itemMovePolicy.setViewMode(viewMode);this._viewModel.setModelTransformer(viewMode);this._planModeId = planMode.id;var sorterCtor = dojo.getObject(planMode.sortMode.implementation);var sorter = new sorterCtor({context: this._context, columns: planMode.columns, parameters: planMode.sortMode.parameters});sorter.loadOptions(optionsStore.subStore("sortMode"));sorter.setComparator(viewMode.getEntryComparator());this._viewModel.setSorter(sorter);this._itemMovePolicy.setEntrySorter(sorter);for (var filterId in this._filterInstances) {this._viewModel.removeFilter(this._filterInstances);delete this._filterInstances;}for (i = 0; i < planMode.filters.length; i++) {var filterCtor = dojo.getObject(planMode.filters.implementation);var filter = new filterCtor(getPlanFn, {context: this._context, columns: planMode.columns, parameters: planMode.filters.parameters});this._viewModel.addFilter(filter);this._filterInstances.id] = filter;}this.__refreshColorize(planMode.colors);}),)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:322
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/TabPlannedItems.js?debug=true:713
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/TabPlannedItems.js?debug=true:179
(,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/IterationPlanPage.js?debug=true:169
("_ziwwsOEcEd68WeCwLyP2Vg",,)@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/page/PlanningPageView.js?debug=true:87
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/page/PlanningPageController.js?debug=true:240
()@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/core/internal/Action.js?debug=true:29
()@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:549
callContributedCode((function () {action.run(objArg);}))@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/core/internal/util.js?debug=true:26
("action","com.ibm.team.apt.viewPlan",)@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:548
()@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:495
("com.ibm.team.apt",(function () {self._runAction("action", actionId, fragmentArgs);}))@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:228
()@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:494
()@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:439
()@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/ui/Workbench.js?debug=true:565
(9)@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/core/internal/UriMonitor.js?debug=true:42
Hi,
We have upgraded to RTC 2.0.0.2 but the problem still persists. When I try to create a work item, I still receive the "TypeError: _158 is null" message. The weird thing is that after I acknowledge the error box and switch to a different view via the "View As:" drop down box, the blank work item then appears.
Looking forward to your reply,
Vincent-
We have upgraded to RTC 2.0.0.2 but the problem still persists. When I try to create a work item, I still receive the "TypeError: _158 is null" message. The weird thing is that after I acknowledge the error box and switch to a different view via the "View As:" drop down box, the blank work item then appears.
Looking forward to your reply,
Vincent-
Hi Larry,
The upgrade was done by our RTC focal point (we are in Toronto, server is in SVL).
It seems the error only happens for a specific View which I had customized in the 'Plan Mode' option in the Process Configuration.
Here is the error log:
Thanks in advance for addressing this,
Vincent-
The upgrade was done by our RTC focal point (we are in Toronto, server is in SVL).
It seems the error only happens for a specific View which I had customized in the 'Plan Mode' option in the Process Configuration.
Here is the error log:
TypeError: array is null
File: https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true (Line: 2972)
Stack:
(null,[object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2972
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:248
([object Object],[object Object],2,[object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:242
([object Object],[object Object],2,[object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:219
([object Object],[object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:199
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/actions/ItemMovePolicy.js?debug=true:185
doCompoundSave((function () {var plan = this.__viewModel.getInput();var newItem;plan.compoundChange(function () {newItem = plan.createNewPlanItem(plan, workingCopy);newItem.setAttributeValue(com.ibm.team.apt.client.PlanItem.TARGET, plan.getIterations()[0]);newItem.setAttributeValue(com.ibm.team.apt.client.PlanItem.CATEGORY, plan.getRootCategory());}, this);for (var i = 0; i < handlers.length; i++) {response = responses[i];if (response != null) {response.newItem = newItem;response.targetEntry = targetEntry;handlers[i].create(response, updateAccessor);}}var planMode = this.__getPlanModeFn();var store = planMode.getStore();var oldStore = store.serialize();this.__viewMode.storeOptions(updateAccessor);this.__groupProvider.storeOptions(updateAccessor);this.__entrySorter.storeOptions(updateAccessor);var newStore = store.serialize();if (newStore != oldStore) {WorkItemSaveManager.save(new PostPlanSaveRunnable(plan, planMode));}var n = updateAccessor.getEntryNavigator(false);var primaryEntry = n.findPrimaryEntry(newItem);if (primaryEntry != null) {updateAccessor.executeAfterUpdate(dojo.hitch(this, function () {this.__viewModel.revealEntry(primaryEntry);}));}}),[object Object],[object Object],[object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/WorkItemSaveManager.js?debug=true:65
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/actions/ItemMovePolicy.js?debug=true:209
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:1774
((function () {return method.apply(scope, arguments || []);}))@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/client/internal/PlanningClient.js?debug=true:347
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.apt.web/ui/internal/view/plan/actions/ItemMovePolicy.js?debug=true:153
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.workitem.web/cache/internal/WorkItemProxyClient.js?debug=true:179
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:1774
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.workitem.web/cache/internal/WorkItemProxyClient.js?debug=true:784
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.workitem.web/cache/internal/WorkItemProxyClient.js?debug=true:507
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/ServiceResponseHandler.js?debug=true:78
()@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/TeamServerClient.js?debug=true:100
callContributedCode((function () {serviceResponseHandler.doCallback(responseObj);}))@https://svlrtc.svl.ibm.com:9444/jazz/web/net.jazz.ajax/core/internal/util.js?debug=true:26
handleCallback([object Object],[object Object],[object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/TeamServerClient.js?debug=true:99
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/com.ibm.team.repository.web/transport/TeamServerClient.js?debug=true:62
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2764
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2787
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2680
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2702
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/jazz.client/xhr.js?debug=true:370
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2764
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2787
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2680
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:2702
([object Object])@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:7694
()@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:7606
(3)@https://svlrtc.svl.ibm.com:9444/jazz/web/_js/en_US/-5474105809/cG?debug=true:7620
Thanks in advance for addressing this,
Vincent-