Project

General

Profile

Actions

None #8767

open

Here is the error i am getting for WSO2 iOS while setting up server

Added by Entgra Admin almost 2 years ago.

Status:
New
Priority:
None
Assignee:
-
Category:
-
Start date:
10/11/2020
Due date:
% Done:

0%

Estimated time:
0:00 h
Device Type:
Component:
Type:

Description

From Gitlab
------------------------
gitlabId --> 768 https://gitlab.com/entgra/product-iots/-/issues/768
labels -->
assignees -->
created_at --> 2020-11-10 13:51:57 IST +0530
updated_at --> 2020-11-10 13:51:57 IST +0530
------------------------

  1. Description
  1. Suggested Labels:

Caused by: org.mozilla.javascript.EcmaError: TypeError: Cannot call method "setupTokenPairByPasswordGrantType" of undefined (/ios-web-agent/app/modules/enrollments/ios/agent-controller.jag#51)

at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3687)
at org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3665)
at org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3693)
at org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3712)
at org.mozilla.javascript.ScriptRuntime.undefCallError(ScriptRuntime.java:3731)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThisHelper(ScriptRuntime.java:2258)
at org.mozilla.javascript.ScriptRuntime.getPropFunctionAndThis(ScriptRuntime.java:2251)
at org.jaggeryjs.rhino.ios_web_agent.app.modules.enrollments.ios.c0._c_script_0(/ios-web-agent/app/modules/enrollments/ios/agent-controller.jag:51)
at org.jaggeryjs.rhino.ios_web_agent.app.modules.enrollments.ios.c0.call(/ios-web-agent/app/modules/enrollments/ios/agent-controller.jag)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:394)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3091)
at org.jaggeryjs.rhino.ios_web_agent.app.modules.enrollments.ios.c0.call(/ios-web-agent/app/modules/enrollments/ios/agent-controller.jag)
at org.jaggeryjs.rhino.ios_web_agent.app.modules.enrollments.ios.c0.exec(/ios-web-agent/app/modules/enrollments/ios/agent-controller.jag)
at org.jaggeryjs.scriptengine.engine.RhinoEngine.execScript(RhinoEngine.java:567)
... 42 more

we have donwloaded ios P2 folder from gitlab becouse wso2 did not share it to us

  1. Suggested Assignees:

  1. Affected Product Version:
  1. OS, DB, other environment details and versions:
    iOS device enrollment fail
  1. Steps to reproduce:
    Issue comes when trying to enroll device with iot-server in iOS. after providing ip address and port, getting above error.
  1. Related Issues:

No data to display

Actions

Also available in: Atom PDF