Skip to content

Instantly share code, notes, and snippets.

View PromanSEW's full-sized avatar

Roman Parshikov PromanSEW

  • Andromeda Coders
  • Irkutsk, Russia
View GitHub Profile
CreationException: Unable to create injector, see the following errors:
1) [Guice/ErrorInjectingConstructor]: IllegalStateException: Error trying to create the prototypeEntityBean for class models.Fish
at EbeanDynamicEvolutions.<init>(EbeanDynamicEvolutions.java:37)
at EbeanDynamicEvolutions.class(EbeanDynamicEvolutions.java:34)
while locating EbeanDynamicEvolutions
at EbeanModule.bindings(EbeanModule.java:21):
Binding(class DynamicEvolutions to ConstructionTarget(class EbeanDynamicEvolutions) eagerly)
\_ installed by: Modules$OverrideModule -> GuiceableModuleConversions$$anon$4
while locating DynamicEvolutions
package util
import play.api.mvc.QueryStringBindable
import java.util.{OptionalDouble, OptionalInt, OptionalLong}
import scala.compat.java8.OptionConverters.{RichOptionalDouble, RichOptionalInt, RichOptionalLong}
object OptionalBinders {
/**
* QueryString binder for Java OptionalInt.
@PromanSEW
PromanSEW / crash.log
Created December 16, 2019 15:57
Play 2.8.0 Jackson issue
[info] p.a.d.HikariCPConnectionPool - Creating Pool for datasource 'default'
[info] p.a.d.HikariCPConnectionPool - Shutting down connection pool.
java.lang.RuntimeException: java.lang.IllegalArgumentException: Infinite recursion (StackOverflowError) (through reference chain: io.ebean.bean.EntityBeanIntercept["persistenceContext"]->io.ebeaninternal.server.transaction.DefaultPersistenceContext["typeCache"]->java.util.HashMap["class models.TourType"]->io.ebeaninternal.server.transaction.DefaultPersistenceContext$ClassContext["map"]->java.util.HashMap["1"]->models.TourType["_ebean_intercept"]->io.ebean.bean.EntityBeanIntercept["persistenceContext"]->io.ebeaninternal.server.transaction.DefaultPersistenceContext["typeCache"]->java.util.HashMap["class models.TourType"]->io.ebeaninternal.server.transaction.DefaultPersistenceContext$ClassContext["map"]->java.util.HashMap["1"]->models.TourType["_ebean_intercept"]->io.ebean.bean.EntityBeanIntercept["persistenceContext"]->io.ebeaninternal.server.transaction.DefaultPersi
---- Minecraft Crash Report ----
WARNING: coremods are present:
MicdoodlePlugin (MicdoodleCore-1.12.2-4.0.2.218.jar)
Inventory Tweaks Coremod (InventoryTweaks-1.63.jar)
IvToolkit (IvToolkit-1.3.3-1.12.jar)
DLFMLCorePlugin (DynamicLights-1.12.2.jar)
CTMCorePlugin (CTM-MC1.12.2-0.3.3.22.jar)
Contact their authors BEFORE contacting forge
@PromanSEW
PromanSEW / TLS12SocketFactory.java
Last active November 24, 2018 07:32
TLSv1.2 problem on Android 4.3
class TLS12SocketFactory extends SSLSocketFactory {
public static final String TLS_1_2 = "TLSv1.2";
private static final String[] TLS_1_2_ONLY = { TLS_1_2 };
private final SSLSocketFactory delegate;
public TLS12SocketFactory(SSLSocketFactory base) {
this.delegate = base;