Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]: Enterprise Mode is not working after Version 2.3.1 #1258

Closed
Labels
BugSomething isn't working Java BackendPull requests that update Java code
@devapplicationbuilder

Description

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If I start the application in enterprise mode and try to create an account (which I expect to be an administrator account later), I receive the following error in the logs:

2024年10月25日 16:33:58.865 ERROR o.l.a.f.exception.CustomErrorWebExceptionHandler#render:92 [nioEventLoopGroup-3-4]: oops class java.lang.NullPointerException, Cannot invoke "org.lowcoder.domain.user.model.ConnectionAuthToken." getExpireAt()" because the return value of "org.lowcoder.domain.user.model.Connection.getAuthConnectionAuthToken()" is null
2024年10月25日 16:33:58.896 ERROR org.springframework.core.log.CompositeLog#error:102 [nioEventLoopGroup-3-4]: [ea703a0c-4] 500 Server Error for HTTP GET "/api/users/me "
java.lang.NullPointerException: Cannot invoke "org.lowcoder.domain.user.model.ConnectionAuthToken.getExpireAt()" because the return value of "org.lowcoder.domain.user.model.Connection.getAuthConnectionAuthToken()" is null
at org.lowcoder.api.framework.filter.UserSessionPersistenceFilter.lambda$filter1ドル(UserSessionPersistenceFilter.java:83)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoMapFuseable] :
reactor.core.publisher.Mono.map
org.lowcoder.api.framework.filter.UserSessionPersistenceFilter.filter(UserSessionPersistenceFilter.java:66)

Expected Behavior

I expect that when I want to start the application in enterprise mode, I can create an account in the application, and the first account I log in with will be an administrator account. As it happens in version 2.3.1

Steps to reproduce

  1. docker pull lowcoderorg/lowcoder-ce
  2. start container using ENV_VARIABLE: LOWCODER_WORKSPACE_MODE = ENTERPRISE
  3. sign up with an user

Environment

I tried both on version 2.4.10 and on the latest version from docker hub

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working Java BackendPull requests that update Java code

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /