java.lang.IllegalStateException: size is not set.

GitHub | GoogleCodeExporter | 1 year ago
  1. 0

    GitHub comment 11#124802019

    GitHub | 1 year ago | GoogleCodeExporter
    java.lang.IllegalStateException: size is not set.
  2. 0

    Problem with running the app outside NetBeans (loading fxml from jar)

    Oracle Community | 5 years ago | 935832
    java.lang.reflect.InvocationTargetException
  3. 0

    JavaFX multiple errors - Software Development | DaniWeb

    daniweb.com | 3 months ago
    java.lang.reflect.InvocationTargetException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Weld observes {{AfterBeanDiscovery}} events with {{@Default}} qualifier. However, if another CDI container is present, e.g. if another module is using OpenWebBeans to manage CDI solely for this component, then Weld will receive this event and throw an {{IllegalStateException}}: {code} Exception in thread "main" java.lang.IllegalStateException: Singleton is not set at org.jboss.weld.bootstrap.api.helpers.IsolatedStaticSingletonProvider$IsolatedStaticSingleton.get(IsolatedStaticSingletonProvider.java:52) at org.jboss.weld.Container.instance(Container.java:54) at org.jboss.weld.context.AbstractContext.<init>(AbstractContext.java:67) at org.jboss.weld.context.AbstractManagedContext.<init>(AbstractManagedContext.java:11) at org.jboss.weld.context.AbstractUnboundContext.<init>(AbstractUnboundContext.java:31) at org.jboss.weld.environment.se.contexts.ThreadContext.<init>(ThreadContext.java:40) at org.jboss.weld.environment.se.WeldSEBeanRegistrant.registerWeldSEContexts(WeldSEBeanRegistrant.java:49) 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:597) at org.apache.webbeans.event.ObserverMethodImpl.notify(ObserverMethodImpl.java:267) at org.apache.webbeans.event.NotificationManager.fireEvent(NotificationManager.java:474) at org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:440) at org.apache.webbeans.container.BeanManagerImpl.fireEvent(BeanManagerImpl.java:430) at org.apache.webbeans.config.BeansDeployer.fireAfterBeanDiscoveryEvent(BeansDeployer.java:332) at org.apache.webbeans.config.BeansDeployer.deploy(BeansDeployer.java:192) at org.apache.webbeans.lifecycle.AbstractLifeCycle.startApplication(AbstractLifeCycle.java:129) at com.company.mavenproject1.boot.BootWebBeans.startApplication(BootWebBeans.java:41) at com.company.mavenproject1.boot.BootWebBeans.run(BootWebBeans.java:28) at com.company.mavenproject1.boot.BootWebBeans.main(BootWebBeans.java:23) {code} I consider this being a major issue because it implies that it's impossible to develop components / modules / bean archives (whatever you call it) which use a private CDI container. As soon as Weld is present on the class path, e.g. to manage CDI for the client application, you will get this {{IllegalStateException}}.

    JBoss Issue Tracker | 3 years ago | Christian Schlichtherle
    java.lang.IllegalStateException: Singleton is not set

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      size is not set.

      at net.coobird.thumbnailator.Thumbnails$Builder.checkReadiness()
    2. net.coobird.thumbnailator
      Thumbnails$Builder.asBufferedImage
      1. net.coobird.thumbnailator.Thumbnails$Builder.checkReadiness(Unknown Source)
      2. net.coobird.thumbnailator.Thumbnails$Builder.asBufferedImage(Unknown Source)
      2 frames