WSO2 Error in retrieving policy agreement
I want to connect my android phone to the WSO2 server on Windows 10, I followed the guide:
Quick Start
After entering the server IP and its port, and the user's credentials, the "Retrieving policy agreement" message appeared and after a while the message changed to: "Enrollment failed, please contact administrator".
The iot-server.bat doesn't show any error. However, following error occurs while running analytics.bat:
[2018-11-17 14:35:01,631] [IoT-Analytics] ERROR {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} - Error in executing task: null
java.lang.NullPointerException
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:256)
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:206)
at org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:60)
at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
What is the problem? How to solve it?
wso2 wso2-emm wso2iot
add a comment |
I want to connect my android phone to the WSO2 server on Windows 10, I followed the guide:
Quick Start
After entering the server IP and its port, and the user's credentials, the "Retrieving policy agreement" message appeared and after a while the message changed to: "Enrollment failed, please contact administrator".
The iot-server.bat doesn't show any error. However, following error occurs while running analytics.bat:
[2018-11-17 14:35:01,631] [IoT-Analytics] ERROR {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} - Error in executing task: null
java.lang.NullPointerException
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:256)
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:206)
at org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:60)
at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
What is the problem? How to solve it?
wso2 wso2-emm wso2iot
What's your android version? Which port you entered in the android app, 9443? Also add full error message "Enrollment Failed ...".
– Mehran Torki
Nov 19 '18 at 9:05
add a comment |
I want to connect my android phone to the WSO2 server on Windows 10, I followed the guide:
Quick Start
After entering the server IP and its port, and the user's credentials, the "Retrieving policy agreement" message appeared and after a while the message changed to: "Enrollment failed, please contact administrator".
The iot-server.bat doesn't show any error. However, following error occurs while running analytics.bat:
[2018-11-17 14:35:01,631] [IoT-Analytics] ERROR {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} - Error in executing task: null
java.lang.NullPointerException
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:256)
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:206)
at org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:60)
at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
What is the problem? How to solve it?
wso2 wso2-emm wso2iot
I want to connect my android phone to the WSO2 server on Windows 10, I followed the guide:
Quick Start
After entering the server IP and its port, and the user's credentials, the "Retrieving policy agreement" message appeared and after a while the message changed to: "Enrollment failed, please contact administrator".
The iot-server.bat doesn't show any error. However, following error occurs while running analytics.bat:
[2018-11-17 14:35:01,631] [IoT-Analytics] ERROR {org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter} - Error in executing task: null
java.lang.NullPointerException
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeQuery(CarbonAnalyticsProcessorService.java:256)
at org.wso2.carbon.analytics.spark.core.CarbonAnalyticsProcessorService.executeScript(CarbonAnalyticsProcessorService.java:206)
at org.wso2.carbon.analytics.spark.core.AnalyticsTask.execute(AnalyticsTask.java:60)
at org.wso2.carbon.ntask.core.impl.TaskQuartzJobAdapter.execute(TaskQuartzJobAdapter.java:67)
at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
What is the problem? How to solve it?
wso2 wso2-emm wso2iot
wso2 wso2-emm wso2iot
asked Nov 17 '18 at 11:21
user122434user122434
418
418
What's your android version? Which port you entered in the android app, 9443? Also add full error message "Enrollment Failed ...".
– Mehran Torki
Nov 19 '18 at 9:05
add a comment |
What's your android version? Which port you entered in the android app, 9443? Also add full error message "Enrollment Failed ...".
– Mehran Torki
Nov 19 '18 at 9:05
What's your android version? Which port you entered in the android app, 9443? Also add full error message "Enrollment Failed ...".
– Mehran Torki
Nov 19 '18 at 9:05
What's your android version? Which port you entered in the android app, 9443? Also add full error message "Enrollment Failed ...".
– Mehran Torki
Nov 19 '18 at 9:05
add a comment |
0
active
oldest
votes
protected by Community♦ Jan 4 at 14:07
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
protected by Community♦ Jan 4 at 14:07
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
What's your android version? Which port you entered in the android app, 9443? Also add full error message "Enrollment Failed ...".
– Mehran Torki
Nov 19 '18 at 9:05