java.lang.IllegalStateException: [Assertion failed] - this state invariant must be true

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
Expert tip

If you're using boot 1.4.x you need to modify the @springBootTest annotation to @SpringBootTest(classes = DataFlowServerConfiguration.class). 1.3.8 doesn't have this problem as well.

,
Expert tip

Spring Boot 1.4 changed their annotation system a little. Try using the @SpringBootApplication annotation for better results.

Solutions on the web

via Pentaho BI Platform Tracking by Golda David, 1 year ago
[Assertion failed] - this state invariant must be true
via Pentaho BI Platform Tracking by Golda David, 1 year ago
[Assertion failed] - this state invariant must be true
via Stack Overflow by JCDrew90
, 2 years ago
[Assertion failed] - this state invariant must be true
via Stack Overflow by Unknown author, 1 year ago
via Oracle Community by 1009273, 1 year ago
DdlPattern should be set before calling this method
via Stack Overflow by gmeiner.m
, 2 months ago
Async support must be enabled on a servlet and for all filters involved in async request processing. This is done in Java code using the Servlet API or by adding "<async-supported>true</async-supported>" to servlet and filter declarations in web.xml.
java.lang.IllegalStateException: [Assertion failed] - this state invariant must be true
at org.springframework.util.Assert.state(Assert.java:384)
at com.pentaho.tenant.TenantUtils.getTenantId(TenantUtils.java:19)
at com.pentaho.repository.RepositoryPaths.getTenantRootFolderPath(RepositoryPaths.java:89)
at org.pentaho.di.repository.pur.PurRepository.loadRepositoryDirectoryTree(PurRepository.java:452)
at org.pentaho.di.ui.repository.dialog.SelectDirectoryDialog.open(SelectDirectoryDialog.java:111)
at org.pentaho.di.ui.trans.dialog.TransDialog$8.widgetSelected(TransDialog.java:508)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1105)
at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:5925)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:519)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:110)

Users with the same issue

2 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
18 times, 6 months ago
Once, 6 months ago
67 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.