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

Cannot create project from a "created user" , works for "root" user #242

Closed
bobbeck55 opened this issue Feb 23, 2023 · 4 comments
Closed

Comments

@bobbeck55
Copy link

Describe the bug
User root logins successfull
User root creates user "bob"
User root creates project "test1"
User root logouts/logins
User root verifies that "test1" project still exists

User root logouts/logins as user "bob"
User "bob" is presented with "Change password" dialog
See attached screenshot in following comment.
Is this correct behavior?
User "bob" attempts to create project but attempt fails
See attached screenshot in following comment.

mongodb and quack logs are attached in following comment.
quack.properties and docker-compose.yml files are attached in following comment

docker cmd: docker-compose -f docker-compose.yml up

@bobbeck55
Copy link
Author

docker-compose.yml

version: '2'
services:
quack:
image: greatbit/quack
ports:
- "80:80"
links:
- mongod:mongod
depends_on:
- mongod
environment:
WAIT_HOSTS: mongod:27017
volumes:
- /home/bob/quack_db:/etc/quack

mongod:
container_name: "mongod"
image: mongo:4.2
expose:
- "27017"
ports:
- "27017:27017"
quack.properties

#Database
mongo.replicaSet=mongod:27017
mongo.dbname=test
mongo.username=
mongo.password=
mongo.uri=
#Authentication

"Couldn't save project for created user, works for root", auth works

test 1

whoru.auth.provider=com.testquack.api.security.DbAuthProvider
whoru.session.provider=ru.greatbit.whoru.auth.providers.InmemSessionProvider
auth.domain=192.168.56.102

test 2

auth combo works - creates user, logout/login works, create project works for root,

not for created user

#whoru.auth.provider=com.testquack.api.security.DbAuthProvider
#whoru.session.provider=ru.greatbit.whoru.auth.providers.HazelcastSessionProvider
#auth.domain=192.168.56.102
#combo1 works
#whoru.auth.provider=ru.greatbit.whoru.auth.providers.StubAuthProvider
#whoru.session.provider=ru.greatbit.whoru.auth.providers.InmemSessionProvider
#auth.domain=localhost:80
#combo2 works
#whoru.session.provider=ru.greatbit.whoru.auth.providers.HazelcastSessionProvider
#auth.domain=localhost:80

doesn't work

#whoru.auth.provider=ru.greatbit.whoru.auth.providers.StubAuthProvider
#auth.domain=192.168.56.102:80

doesn't work

#whoru.auth.provider=ru.greatbit.whoru.auth.providers.InmemSessionProvider
#auth.domain=192.168.56.102:80

doesn't work

#whoru.auth.provider=com.testquack.api.security.DbAuthProvider
#auth.domain=192.168.56.102:80

doesn't work

#whoru.session.provider=ru.greatbit.whoru.auth.providers.HazelcastSessionProvider
#auth.domain=192.168.56.102:80
stub.login=someuser
stub.password=somepassword
#auth.domain=localhost:80
auth.session.ttl=6000000
auth.admin.login=root
auth.admin.password=rootpass
auth.admin.token=abc
auth.admin.logins=azee,zyxel560k@mail.ru
#Hazelcast
entity.lock.ttl.min=5
hazelcast.group.name=dev
hazelcast.group.password=dev-pass
hazelcast.ttl.sec=1209600
hazelcast.port=5903
hazelcast.port.rest=5904
hazelcast.port.auto.increment=true
hazelcast.members=127.0.0.1
hazelcast.interface=127.0.0.1
hazelcast.backup.count=1
hazelcast.prefer.ipv4.stack=true
hazelcast.aws.enabled=false
hazelcast.tcpip.enabled=true
storage.provider=com.testquack.storage.MongoStorage
quack.tracker=com.testquack.tracker.DummyTracker
aws.cognito.access.key=CHANGEME
aws.cognito.secret.key=CHANGEME
aws.cognito.region=us-east-1
aws.cognito.oauth.endpoint=
aws.cognito.client.id=CHANGEME
aws.cognito.redirect.url=
cognito-auth-provider=
cognito.login.url=

quack log

2023-02-23 16:29:43,499 [main ] INFO ContextLoader - Root WebApplicationContext: initialization started
2023-02-23 16:29:43,905 [main ] INFO epositoryConfigurationDelegate - Bootstrapping Spring Data MongoDB repositories in DEFAULT mode.
2023-02-23 16:29:44,039 [main ] INFO epositoryConfigurationDelegate - Finished Spring Data repository scanning in 129 ms. Found 12 MongoDB repository interfaces.
2023-02-23 16:29:44,383 [main ] INFO egate$BeanPostProcessorChecker - Bean 'pluginsContainer' of type [ru.greatbit.plow.PluginsContainer] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2023-02-23 16:29:46,487 [main ] INFO cluster - Cluster created with settings {hosts=[mongod:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms'}
2023-02-23 16:29:46,619 [scription='null'}-mongod:27017] INFO connection - Opened connection [connectionId{localValue:2, serverValue:1}] to mongod:27017
2023-02-23 16:29:46,620 [scription='null'}-mongod:27017] INFO connection - Opened connection [connectionId{localValue:1, serverValue:2}] to mongod:27017
2023-02-23 16:29:46,622 [scription='null'}-mongod:27017] INFO cluster - Monitor thread successfully connected to server with description ServerDescription{address=mongod:27017, type=STANDALONE, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=8, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=49945014}
2023-02-23 16:29:46,730 [main ] WARN CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2023-02-23 16:29:53,572 [main ] INFO Version - HV000001: Hibernate Validator 5.2.4.Final
2023-02-23 16:29:53,658 [main ] WARN CustomConversions - Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.
2023-02-23 16:29:53,682 [main ] INFO ContextLoader - Root WebApplicationContext initialized in 10182 ms
2023-02-23 16:29:53,962 [main ] INFO Reflections - Reflections took 26 ms to scan 1 urls, producing 43 keys and 77 values
2023-02-23 16:29:55,460 [qtp815033865-15 ] INFO ExceptionHandler - User session not found and will be prompt to authorize
2023-02-23 16:29:55,633 [qtp815033865-12 ] INFO ExceptionHandler - User session not found and will be prompt to authorize
2023-02-23 16:30:01,288 [qtp815033865-12 ] INFO connection - Opened connection [connectionId{localValue:4, serverValue:3}] to mongod:27017
2023-02-23 16:30:01,293 [qtp815033865-14 ] INFO connection - Opened connection [connectionId{localValue:3, serverValue:4}] to mongod:27017
2023-02-23 16:30:35,725 [qtp815033865-16 ] INFO ExceptionHandler - User session not found and will be prompt to authorize
2023-02-23 16:30:46,661 [qtp815033865-11 ] INFO connection - Opened connection [connectionId{localValue:5, serverValue:5}] to mongod:27017
2023-02-23 16:31:02,843 [qtp815033865-16 ] INFO ExceptionHandler - User session not found and will be prompt to authorize
2023-02-23 16:31:10,111 [qtp815033865-13 ] INFO DbAuthProvider - No session found. Auth by login/password ip=127.0.0.1
2023-02-23 16:31:10,116 [qtp815033865-13 ] INFO ExceptionHandler - User session not found and will be prompt to authorize
2023-02-23 16:31:16,507 [qtp815033865-11 ] INFO DbAuthProvider - No session found. Auth by login/password ip=127.0.0.1
2023-02-23 16:32:13,724 [qtp815033865-13 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war--any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:32:36,140 [qtp815033865-15 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war-
-any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:32:50,835 [qtp815033865-13 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war--any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:33:06,523 [qtp815033865-15 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war-
-any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:33:09,152 [qtp815033865-13 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war--any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:33:13,970 [qtp815033865-15 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war-
-any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:33:36,604 [qtp815033865-15 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war--any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:34:32,203 [qtp815033865-69 ] INFO ExceptionHandler - User session not found and will be prompt to authorize
2023-02-23 16:34:42,099 [qtp815033865-15 ] INFO DbAuthProvider - No session found. Auth by login/password ip=127.0.0.1
2023-02-23 16:34:49,207 [qtp815033865-14 ] WARN ExceptionHandler - Exception has occurred for user bob : null
java.lang.NullPointerException
at com.testquack.services.BaseService.userCanReadProject(BaseService.java:146)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanUpdateProject(BaseService.java:131)[services-1.21.jar:]
at com.testquack.services.BaseService.userCanCreate(BaseService.java:163)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:79)[services-1.21.jar:]
at com.testquack.services.ProjectService.userCanCreate(ProjectService.java:21)[services-1.21.jar:]
at com.testquack.services.BaseService.create(BaseService.java:214)[services-1.21.jar:]
at com.testquack.services.ProjectService.createProject(ProjectService.java:51)[services-1.21.jar:]
at com.testquack.api.resources.ProjectResource.create(ProjectResource.java:64)[file:/tmp/jetty-0_0_0_0-8080-quack_war-
-any-5511933201595692644/webapp/WEB-INF/classes/:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.8.0_212]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[:1.8.0_212]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.8.0_212]
at java.lang.reflect.Method.invoke(Method.java:498)[:1.8.0_212]
at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$TypeOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:205)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.internal.Errors.process(Errors.java:267)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317)[jersey-common-2.25.1.jar:]
at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154)[jersey-server-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341)[jersey-container-servlet-core-2.25.1.jar:]
at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228)[jersey-container-servlet-core-2.25.1.jar:]
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1443)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:791)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:550)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:602)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1435)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1350)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:191)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:273)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:336)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:313)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:171)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:129)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:375)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:773)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:905)
at java.lang.Thread.run(Thread.java:748)[:1.8.0_212]
2023-02-23 16:34:54,929 [qtp815033865-14 ] INFO ExceptionHandler - User session not found and will be prompt to authorize

mongod log

2023-02-23T16:29:41.805+0000 I CONTROL [main] Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'
2023-02-23T16:29:41.812+0000 W ASIO [main] No TransportLayer configured during NetworkInterface startup
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=a5e5fd1c6695
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] db version v4.2.23
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] git version: f4e6602d3a4c5b22e9d8bcf0722d0afd0ec01ea2
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.1.1 11 Sep 2018
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] allocator: tcmalloc
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] modules: none
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] build environment:
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] distmod: ubuntu1804
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] distarch: x86_64
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] target_arch: x86_64
2023-02-23T16:29:41.813+0000 I CONTROL [initandlisten] options: { net: { bindIp: "*" } }
2023-02-23T16:29:41.814+0000 I STORAGE [initandlisten]
2023-02-23T16:29:41.814+0000 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
2023-02-23T16:29:41.814+0000 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
2023-02-23T16:29:41.814+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1068M,cache_overflow=(file_max=0M),session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress],
2023-02-23T16:29:42.010+0000 I STORAGE [initandlisten] WiredTiger message [1677169782:10756][1:0x7fe0b40b3b00], txn-recover: Set global recovery timestamp: (0, 0)
2023-02-23T16:29:42.028+0000 I RECOVERY [initandlisten] WiredTiger recoveryTimestamp. Ts: Timestamp(0, 0)
2023-02-23T16:29:42.046+0000 I STORAGE [initandlisten] Timestamp monitor starting
2023-02-23T16:29:42.054+0000 I CONTROL [initandlisten]
2023-02-23T16:29:42.054+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database.
2023-02-23T16:29:42.054+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted.
2023-02-23T16:29:42.054+0000 I CONTROL [initandlisten]
2023-02-23T16:29:42.054+0000 I STORAGE [initandlisten] createCollection: admin.system.version with provided UUID: 95416ebf-59bc-4bda-8e36-79caf92ddf38 and options: { uuid: UUID("95416ebf-59bc-4bda-8e36-79caf92ddf38") }
2023-02-23T16:29:42.070+0000 I INDEX [initandlisten] index build: done building index id on ns admin.system.version
2023-02-23T16:29:42.070+0000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 4.2
2023-02-23T16:29:42.070+0000 I STORAGE [initandlisten] Flow Control is enabled on this deployment.
2023-02-23T16:29:42.071+0000 I STORAGE [initandlisten] createCollection: local.startup_log with generated UUID: b3aba4af-e22d-458b-af8c-11eb08a83294 and options: { capped: true, size: 10485760 }
2023-02-23T16:29:42.085+0000 I INDEX [initandlisten] index build: done building index id on ns local.startup_log
2023-02-23T16:29:42.088+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data'
2023-02-23T16:29:42.090+0000 I CONTROL [LogicalSessionCacheReap] Sessions collection is not set up; waiting until next sessions reap interval: config.system.sessions does not exist
2023-02-23T16:29:42.090+0000 I NETWORK [listener] Listening on /tmp/mongodb-27017.sock
2023-02-23T16:29:42.090+0000 I STORAGE [LogicalSessionCacheRefresh] createCollection: config.system.sessions with provided UUID: 6e72186c-01da-4258-8f31-4e6088b85c96 and options: { uuid: UUID("6e72186c-01da-4258-8f31-4e6088b85c96") }
2023-02-23T16:29:42.090+0000 I NETWORK [listener] Listening on 0.0.0.0
2023-02-23T16:29:42.090+0000 I NETWORK [listener] waiting for connections on port 27017
2023-02-23T16:29:42.104+0000 I INDEX [LogicalSessionCacheRefresh] index build: done building index id on ns config.system.sessions
2023-02-23T16:29:42.119+0000 I INDEX [LogicalSessionCacheRefresh] index build: starting on config.system.sessions properties: { v: 2, key: { lastUse: 1 }, name: "lsidTTLIndex", ns: "config.system.sessions", expireAfterSeconds: 1800 } using method: Hybrid
2023-02-23T16:29:42.119+0000 I INDEX [LogicalSessionCacheRefresh] build may temporarily use up to 200 megabytes of RAM
2023-02-23T16:29:42.120+0000 I INDEX [LogicalSessionCacheRefresh] index build: collection scan done. scanned 0 total records in 0 seconds
2023-02-23T16:29:42.120+0000 I INDEX [LogicalSessionCacheRefresh] index build: inserted 0 keys from external sorter into index in 0 seconds
2023-02-23T16:29:42.123+0000 I INDEX [LogicalSessionCacheRefresh] index build: done building index lsidTTLIndex on ns config.system.sessions
2023-02-23T16:29:46.562+0000 I NETWORK [listener] connection accepted from 172.18.0.3:43178 #1 (1 connection now open)
2023-02-23T16:29:46.563+0000 I NETWORK [listener] connection accepted from 172.18.0.3:43194 #2 (2 connections now open)
2023-02-23T16:29:46.582+0000 I NETWORK [conn1] received client metadata from 172.18.0.3:43178 conn1: { driver: { name: "mongo-java-driver|sync", version: "4.4.0" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.19.0-31-generic" }, platform: "Java/Oracle Corporation/1.8.0_212-b04" }
2023-02-23T16:29:46.582+0000 I NETWORK [conn2] received client metadata from 172.18.0.3:43194 conn2: { driver: { name: "mongo-java-driver|sync", version: "4.4.0" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.19.0-31-generic" }, platform: "Java/Oracle Corporation/1.8.0_212-b04" }
2023-02-23T16:30:01.285+0000 I NETWORK [listener] connection accepted from 172.18.0.3:52058 #3 (3 connections now open)
2023-02-23T16:30:01.287+0000 I NETWORK [conn3] received client metadata from 172.18.0.3:52058 conn3: { driver: { name: "mongo-java-driver|sync", version: "4.4.0" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.19.0-31-generic" }, platform: "Java/Oracle Corporation/1.8.0_212-b04" }
2023-02-23T16:30:01.288+0000 I NETWORK [listener] connection accepted from 172.18.0.3:52066 #4 (4 connections now open)
2023-02-23T16:30:01.291+0000 I NETWORK [conn4] received client metadata from 172.18.0.3:52066 conn4: { driver: { name: "mongo-java-driver|sync", version: "4.4.0" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.19.0-31-generic" }, platform: "Java/Oracle Corporation/1.8.0_212-b04" }
2023-02-23T16:30:15.290+0000 I STORAGE [conn4] createCollection: test.users with generated UUID: b3ec8ec8-dadf-4597-a66e-b67105893803 and options: {}
2023-02-23T16:30:15.344+0000 I INDEX [conn4] index build: done building index id on ns test.users
2023-02-23T16:30:27.309+0000 I STORAGE [conn4] createCollection: test.sequencer with generated UUID: 806fb68f-e6e6-4ad9-b09e-774b89dd9cce and options: {}
2023-02-23T16:30:27.354+0000 I INDEX [conn4] index build: done building index id on ns test.sequencer
2023-02-23T16:30:27.409+0000 I STORAGE [conn4] createCollection: test.projects with generated UUID: b657b039-4195-4e7c-a983-e723d787667c and options: {}
2023-02-23T16:30:27.435+0000 I INDEX [conn4] index build: done building index id on ns test.projects
2023-02-23T16:30:46.658+0000 I NETWORK [listener] connection accepted from 172.18.0.3:50252 #5 (5 connections now open)
2023-02-23T16:30:46.660+0000 I NETWORK [conn5] received client metadata from 172.18.0.3:50252 conn5: { driver: { name: "mongo-java-driver|sync", version: "4.4.0" }, os: { type: "Linux", name: "Linux", architecture: "amd64", version: "5.19.0-31-generic" }, platform: "Java/Oracle Corporation/1.8.0_212-b04" }

@bobbeck55
Copy link
Author

Screen shots - see previous comment for logs, yml file, and properties file included
in comment. Attachments giving me problems.

change_password
couldnot_saveproject

@azee
Copy link
Collaborator

azee commented Feb 23, 2023

@bobbeck55
QuAck has 2 modes. One is for a single organization. Another one is for multi organization environment - the one we are using in http://cloud.testquack.com/

A single org mode implies the idea that projects can be created by admins only. In cloud a user who creates an organization becomes its administrator and has ability to create projects within organization.

Would be happy to understand your usecase a bit more:

  1. How often do you expect non-admin users will be creating separate projects?
  2. In case a user creates the project - do you want it to become an admin and allow granting permissions to other users, or do you want to grant permissions on all projects to all users in your organization by default?

@bobbeck55
Copy link
Author

Hi,
we are currently in the evaluation phase of this project. create project use case is a need but whether it is a critical need for a normal user or just for the admin user has yet to be determined.
Thanks for the update. I'm continuing to run the tests from your youtube video on our local quack installation.

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