Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The same "ota-user-profile: System error" issue with advancedtelematic / ota-community-edition #1

Open
jinlingyi opened this issue Jul 7, 2021 · 3 comments

Comments

@jinlingyi
Copy link

reference to:
advancedtelematic/ota-community-edition#105 (comment)

@simao
Copy link
Collaborator

simao commented Jul 7, 2021

You can try the webapp branch here, it uses a patched version of ota-plus-web

But like I said, the webapp is not supported here. You should use only the api.

@jinlingyi
Copy link
Author

jinlingyi commented Jul 8, 2021

The webapp branch in this repo, the app of uptane/ota-plus-web:06053862900a6be6e9b54fe4529e4d1070c98711 can't start of this error:

Oops, cannot start the server.
java.lang.ClassNotFoundException: com.advancedtelematic.auth.garage.NoLoginAction
	at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
	at com.advancedtelematic.auth.oidc.OidcModule.bindToClass$1(OidcModule.scala:13)
	at com.advancedtelematic.auth.oidc.OidcModule.bindings(OidcModule.scala:17)
	at play.api.inject.guice.GuiceableModuleConversions.guice(GuiceInjectorBuilder.scala:339)
	at play.api.inject.guice.GuiceableModuleConversions.guice$(GuiceInjectorBuilder.scala:338)
	at play.api.inject.guice.GuiceableModule$.guice(GuiceInjectorBuilder.scala:273)
	at play.api.inject.guice.GuiceableModuleConversions$$anon$3.$anonfun$guiced$2(GuiceInjectorBuilder.scala:318)
	at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:234)
	at scala.collection.immutable.List.foreach(List.scala:389)
	at scala.collection.TraversableLike.map(TraversableLike.scala:234)
	at scala.collection.TraversableLike.map$(TraversableLike.scala:227)
	at scala.collection.immutable.List.map(List.scala:295)
	at play.api.inject.guice.GuiceableModuleConversions$$anon$3.guiced(GuiceInjectorBuilder.scala:318)
	at play.api.inject.guice.GuiceableModule$.$anonfun$guiced$1(GuiceInjectorBuilder.scala:295)
	at scala.collection.TraversableLike.$anonfun$flatMap$1(TraversableLike.scala:241)
	at scala.collection.immutable.List.foreach(List.scala:389)
	at scala.collection.TraversableLike.flatMap(TraversableLike.scala:241)
	at scala.collection.TraversableLike.flatMap$(TraversableLike.scala:238)
	at scala.collection.immutable.List.flatMap(List.scala:352)
	at play.api.inject.guice.GuiceableModule$.guiced(GuiceInjectorBuilder.scala:295)
	at play.api.inject.guice.GuiceBuilder.createModule(GuiceInjectorBuilder.scala:170)
	at play.api.inject.guice.GuiceApplicationBuilder.applicationModule(GuiceApplicationBuilder.scala:109)
	at play.api.inject.guice.GuiceBuilder.injector(GuiceInjectorBuilder.scala:185)
	at play.api.inject.guice.GuiceApplicationBuilder.build(GuiceApplicationBuilder.scala:137)
	at play.api.inject.guice.GuiceApplicationLoader.load(GuiceApplicationLoader.scala:21)
	at play.core.server.ProdServerStart$.start(ProdServerStart.scala:51)
	at play.core.server.ProdServerStart$.main(ProdServerStart.scala:25)
	at play.core.server.ProdServerStart.main(ProdServerStart.scala)

@simao
Copy link
Collaborator

simao commented Jul 8, 2021

Added a commit that on this branch should fix this error. I'm afraid using the webapp is going to be trial and error like this... :\

tkfu pushed a commit that referenced this issue Sep 8, 2022
a2c701713 Merge pull request #1 from simao/libats-2.x-upgrade
9abc49578 Update to libats 2.x

git-subtree-dir: repos/campaigner
git-subtree-split: a2c7017131759dffb5f4b07500407c235aa2c8ba
tkfu pushed a commit that referenced this issue Sep 8, 2022
334fb2261 Support integration with other libats services
REVERT: c10b8000d Merge pull request #47 from uptane/trx-master
REVERT: 56d3b1fbc add mergify.yml
REVERT: d33282e2e Merge branch 'libats-2.x-upgrade' into 'master'
REVERT: ec413e599 Upgrade to libats 2.x
REVERT: 9c0a9a744 Merge branch 'feat/OTA-919/update-pending-status' into 'master'
REVERT: fa560f815 Add new device status `UpdatePending`
REVERT: df02c0405 Merge branch 'feat/OTA-732/delete-group-api' into 'master'
REVERT: 5e67bce92 fix decoder test
REVERT: a15652911 Add DELETE for groups
REVERT: 4fd4b833e Merge branch 'feat/update-libats' into 'master'
REVERT: ed0693772 upgrade libats
REVERT: 034f144d6 Update sbt-dependency-graph to 0.9.2
REVERT: fc6d349c1 Update sbt-dependency-check to 3.1.3
REVERT: 370b5bc45 Update scala-library to 2.12.14
REVERT: a9e25f23d Update sbt-scoverage to 1.6.1
REVERT: 2ce35e7cd Merge pull request #27 from scala-steward/update/akka-http-testkit-10.2.5
REVERT: 2441a09e7 Merge pull request #19 from scala-steward/update/mariadb-java-client-2.7.3
REVERT: c4e1edb10 Merge pull request #28 from scala-steward/update/atto-core-0.9.5
REVERT: 7fc889dc2 Update atto-core to 0.9.5
REVERT: e7c733932 Update mariadb-java-client to 2.7.3
REVERT: ebd500564 Merge branch 'master' into update/mariadb-java-client-2.7.3
REVERT: 0743a0e96 Update akka-http-testkit to 10.2.5
REVERT: c3b428d11 Merge pull request #2 from uptane/trx-master
REVERT: 2c7214417 Merge remote-tracking branch 'uptane/master' into trx-master
REVERT: dfa742094 Merge pull request #26 from scala-steward/update/atto-core-0.7.2
REVERT: d19f59595 Update atto-core to 0.7.2
REVERT: 706741047 Update mariadb-java-client to 2.7.3
REVERT: 307b8ab90 Merge branch 'fix-codecs' into 'master'
REVERT: 5fdf2f111 Remove invalid codec
REVERT: bb82bb6a7 Merge branch 'kafka-device-monitoring' into 'master'
REVERT: 84b6011a2 remove unused settings
REVERT: c50db9183 Upgrade sbt-git
REVERT: 93a77cb16 Use ParserSettings.forServer instead of ParserSettings.apply
REVERT: 5ebb3e7f2 Publish device metrics to kafka
REVERT: 8214c9132 Upgrade to latest libats
REVERT: f047bef66 Merge remote-tracking branch 'uptane/master' into kafka-device-monitoring
REVERT: 2ec571fc1 Merge pull request #1 from uptane/uptane-ci
REVERT: 7b95bf685 Add github actions ci
REVERT: bfe4f5708 Merge branch 'feat/OTA-826/device-monitoring' into 'master'
REVERT: ecbf32c53 Use dedicated psql schema for device monitoring tests
REVERT: abe76170b Use char(36) instead of `uuid` ot store java.util.UUID in psql
REVERT: cfdf233ee Merge branch 'feat/OTA-826/device-monitoring' into 'master'
REVERT: 534d7d516 Add debug logging when receiving device events
REVERT: 4ea59ca53 Merge branch 'feat/OTA-826/device-monitoring' into 'master'
REVERT: c6bcec413 New endpoint to receive device monitoring metrics
REVERT: b78dcfa74 Merge branch 'feat/OTA-767/deploy-dev-reg' into 'master'
REVERT: 90a53de88 Add deployment via deploy-env
REVERT: df14492dd Merge branch 'bug/event-record-error-haandling' into 'master'
REVERT: a9762ecfe Handling exception during recording device events
REVERT: 1d9b871c5 Merge branch 'publish-toradex' into 'master'
REVERT: 345852325 fix cache key
REVERT: 8e8b441d5 Merge branch 'publish-toradex' into 'master'
REVERT: 78b6fbab7 add toradex ci
REVERT: 16bb1c370 Merge branch 'feat/OTA-5437/offset-limit-parameters-validation' into 'master'
REVERT: 7d2c01907 OTA-5437 Verify `offset` and `limit` query parameters is non-negative
REVERT: 0bd538ccc Merge branch 'bug/OTA-5438-ecu-replacement-match' into 'master'
REVERT: ea5de2988 OTA-5438: Tuple match error on device-registry

git-subtree-dir: repos/device-registry
git-subtree-split: 334fb2261353c2d4ae4de52d6adf68d827dd6dc2
tkfu pushed a commit that referenced this issue Sep 8, 2022
62614590f remove unused plugin
c10b8000d Merge pull request #47 from uptane/trx-master
56d3b1fbc add mergify.yml
d33282e2e Merge branch 'libats-2.x-upgrade' into 'master'
ec413e599 Upgrade to libats 2.x
9c0a9a744 Merge branch 'feat/OTA-919/update-pending-status' into 'master'
fa560f815 Add new device status `UpdatePending`
df02c0405 Merge branch 'feat/OTA-732/delete-group-api' into 'master'
5e67bce92 fix decoder test
a15652911 Add DELETE for groups
4fd4b833e Merge branch 'feat/update-libats' into 'master'
ed0693772 upgrade libats
034f144d6 Update sbt-dependency-graph to 0.9.2
fc6d349c1 Update sbt-dependency-check to 3.1.3
370b5bc45 Update scala-library to 2.12.14
a9e25f23d Update sbt-scoverage to 1.6.1
2ce35e7cd Merge pull request #27 from scala-steward/update/akka-http-testkit-10.2.5
2441a09e7 Merge pull request #19 from scala-steward/update/mariadb-java-client-2.7.3
c4e1edb10 Merge pull request #28 from scala-steward/update/atto-core-0.9.5
7fc889dc2 Update atto-core to 0.9.5
e7c733932 Update mariadb-java-client to 2.7.3
ebd500564 Merge branch 'master' into update/mariadb-java-client-2.7.3
0743a0e96 Update akka-http-testkit to 10.2.5
c3b428d11 Merge pull request #2 from uptane/trx-master
2c7214417 Merge remote-tracking branch 'uptane/master' into trx-master
dfa742094 Merge pull request #26 from scala-steward/update/atto-core-0.7.2
d19f59595 Update atto-core to 0.7.2
706741047 Update mariadb-java-client to 2.7.3
307b8ab90 Merge branch 'fix-codecs' into 'master'
5fdf2f111 Remove invalid codec
bb82bb6a7 Merge branch 'kafka-device-monitoring' into 'master'
84b6011a2 remove unused settings
c50db9183 Upgrade sbt-git
93a77cb16 Use ParserSettings.forServer instead of ParserSettings.apply
5ebb3e7f2 Publish device metrics to kafka
8214c9132 Upgrade to latest libats
f047bef66 Merge remote-tracking branch 'uptane/master' into kafka-device-monitoring
2ec571fc1 Merge pull request #1 from uptane/uptane-ci
7b95bf685 Add github actions ci
bfe4f5708 Merge branch 'feat/OTA-826/device-monitoring' into 'master'
ecbf32c53 Use dedicated psql schema for device monitoring tests
abe76170b Use char(36) instead of `uuid` ot store java.util.UUID in psql
cfdf233ee Merge branch 'feat/OTA-826/device-monitoring' into 'master'
534d7d516 Add debug logging when receiving device events
4ea59ca53 Merge branch 'feat/OTA-826/device-monitoring' into 'master'
c6bcec413 New endpoint to receive device monitoring metrics
b78dcfa74 Merge branch 'feat/OTA-767/deploy-dev-reg' into 'master'
90a53de88 Add deployment via deploy-env
df14492dd Merge branch 'bug/event-record-error-haandling' into 'master'
a9762ecfe Handling exception during recording device events
1d9b871c5 Merge branch 'publish-toradex' into 'master'
345852325 fix cache key
8e8b441d5 Merge branch 'publish-toradex' into 'master'
78b6fbab7 add toradex ci
16bb1c370 Merge branch 'feat/OTA-5437/offset-limit-parameters-validation' into 'master'
7d2c01907 OTA-5437 Verify `offset` and `limit` query parameters is non-negative
0bd538ccc Merge branch 'bug/OTA-5438-ecu-replacement-match' into 'master'
ea5de2988 OTA-5438: Tuple match error on device-registry
REVERT: 334fb2261 Support integration with other libats services

git-subtree-dir: repos/device-registry
git-subtree-split: 62614590f44f0a88c42cf47d2dc478faa336fff3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants