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

Studio Backward Compatibility Issue When Loading Type Definition #654

Open
mathieuisabel opened this issue Nov 4, 2022 · 3 comments
Open

Comments

@mathieuisabel
Copy link

Description

Loading a type definition in Studio results in the following error in Studio:

[SCH02] TypeDB Studio Schema: Failed to load type properties due to: [SRV30] Invalid Server Operation: The request message was not recognised..

On the server console:

10:57:02.408 [typedb-service::0] ERROR com.vaticle.typedb.core.server.TransactionService - [SRV30] Invalid Server Operation: The request message was not recognised.
com.vaticle.typedb.core.common.exception.TypeDBException: [SRV30] Invalid Server Operation: The request message was not recognised.
at com.vaticle.typedb.core.common.exception.TypeDBException.of(TypeDBException.java:66)
at com.vaticle.typedb.core.server.concept.TypeService.execute(TypeService.java:247)
at com.vaticle.typedb.core.server.TransactionService.executeRequest(TransactionService.java:190)
at com.vaticle.typedb.core.server.TransactionService.execute(TransactionService.java:153)
at com.vaticle.typedb.core.server.TransactionService.onNext(TransactionService.java:127)
at com.vaticle.typedb.core.server.TransactionService.onNext(TransactionService.java:82)
at io.grpc.stub.ServerCalls$StreamingServerCallHandler$StreamingServerCallListener.onMessage(ServerCalls.java:262)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailableInternal(ServerCallImpl.java:318)
at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.messagesAvailable(ServerCallImpl.java:301)
at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1MessagesAvailable.runInContext(ServerImpl.java:834)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:133)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)

Environment

  1. OS (where TypeDB server runs): Windows 11
  2. TypeDB version (and platform): 2.12
  3. TypeDB client: Studio 2.11
  4. Other environment details:

Reproducible Steps

Navigate to a type in the type browser in Studio and double click to load it.

Expected Output

Type definition load correctly.

Actual Output

image

Additional information

This might be expected broken behavior between 2.11 studio and 2.12 server. I just didn't notice that in the release notes as something that would be broken.

@jamesreprise
Copy link
Contributor

jamesreprise commented Nov 4, 2022

Hi @mathieuisabel, there should be a Studio release out fairly soon. Additionally, we have a compatibility table available at: https://docs.vaticle.com/docs/studio/overview.

If you want to use Studio against the latest version of TypeDB, you can compile and run Studio from the development branch using the instructions found at: https://github.com/vaticle/typedb-studio/#compiling-and-running-typedb-studio-from-source

Let us know if you encounter any issues.

@jamesreprise jamesreprise transferred this issue from typedb/typedb Nov 4, 2022
@jamesreprise jamesreprise self-assigned this Nov 4, 2022
@jamesreprise jamesreprise added this to the Bug Fixes milestone Nov 4, 2022
@jamesreprise
Copy link
Contributor

jamesreprise commented Nov 4, 2022

We should definitely look at the way we handle errors and alert users to compatibility issues. This isn't clear from the provided error message.

@alexjpwalker
Copy link
Member

This is a known issue in all TypeDB Clients, including typedb-client-java which Studio uses internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants