java.lang.IllegalArgumentException: ConfigBean parent com.sun.enterprise.config.serverbeans.WebContainer must be registered first before child = com.sun.enterprise.config.serverbeans.SessionConfig

Oracle Community | pablopina | 6 years ago
  1. 0

    GF v3.1 (beta) b9... So many errors and so slow to start the admin console

    Oracle Community | 6 years ago | pablopina
    java.lang.IllegalArgumentException: ConfigBean parent com.sun.enterprise.config.serverbeans.WebContainer must be registered first before child = com.sun.enterprise.config.serverbeans.SessionConfig
  2. 0

    jcarder doesn't like emma

    Google Groups | 7 years ago | DrScott
    java.lang.IllegalArgumentException: Invalid end label (must be visited first)
  3. 0

    How to reproduce : - create a component comp1 - add an interface int1 to comp1 - add another interface int2 to comp1 - delete int1 org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:519) at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:206) at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:169) at org.eclipse.gmf.runtime.diagram.ui.parts.DiagramCommandStack.execute(DiagramCommandStack.java:156) at org.eclipse.gef.ui.actions.WorkbenchPartAction.execute(WorkbenchPartAction.java:76) at org.eclipse.gmf.runtime.diagram.ui.internal.actions.PromptingDeleteAction.run(PromptingDeleteAction.java:174) at org.eclipse.gef.KeyHandler.performStroke(KeyHandler.java:76) at org.eclipse.gef.KeyHandler.keyPressed(KeyHandler.java:50) at org.eclipse.gef.KeyHandler.keyPressed(KeyHandler.java:54) at org.eclipse.gef.ui.parts.GraphicalViewerKeyHandler.keyPressed(GraphicalViewerKeyHandler.java:318) at org.eclipse.gmf.runtime.diagram.ui.internal.parts.DiagramGraphicalViewerKeyHandler.keyPressed(DiagramGraphicalViewerKeyHandler.java:109) at org.eclipse.gef.KeyHandler.keyPressed(KeyHandler.java:54) at org.eclipse.gmf.runtime.diagram.ui.internal.parts.DirectEditKeyHandler.keyPressed(DirectEditKeyHandler.java:89) at org.eclipse.gef.tools.SelectionTool.handleKeyDown(SelectionTool.java:319) at org.eclipse.gef.tools.PanningSelectionTool.handleKeyDown(PanningSelectionTool.java:160) at org.eclipse.gmf.runtime.diagram.ui.services.palette.SelectionToolEx.handleKeyDown(SelectionToolEx.java:112) at org.eclipse.gef.tools.AbstractTool.keyDown(AbstractTool.java:912) at org.eclipse.gef.tools.SelectionTool.keyDown(SelectionTool.java:468) at org.eclipse.gef.EditDomain.keyDown(EditDomain.java:156) at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchKeyPressed(DomainEventDispatcher.java:246) at org.eclipse.draw2d.LightweightSystem$EventHandler.keyPressed(LightweightSystem.java:488) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:155) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1050) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1074) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1059) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1100) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1096) at org.eclipse.swt.widgets.Widget.wmKeyDown(Widget.java:1805) at org.eclipse.swt.widgets.Control.WM_KEYDOWN(Control.java:4475) at org.eclipse.swt.widgets.Control.windowProc(Control.java:4170) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4830) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2456) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3626) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2416) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2380) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2229) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:497) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1406) at org.eclipse.equinox.launcher.Main.main(Main.java:1382) Caused by: java.lang.IllegalArgumentException: Figure must be a child at org.eclipse.draw2d.Figure.setConstraint(Figure.java:1490) at org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart.setLayoutConstraint(AbstractBorderedShapeEditPart.java:68) at org.ow2.mindEd.adl.editor.graphic.ui.custom.edit.parts.CompositeBodyCustomEditPart.setLayoutConstraint(CompositeBodyCustomEditPart.java:14) at org.eclipse.gef.editparts.AbstractGraphicalEditPart.reorderChild(AbstractGraphicalEditPart.java:776) at org.eclipse.gmf.runtime.diagram.ui.editparts.AbstractBorderedShapeEditPart.reorderChild(AbstractBorderedShapeEditPart.java:119) at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:723) at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.handleNotificationEvent(GraphicalEditPart.java:1464) at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeEditPart.handleNotificationEvent(ShapeEditPart.java:169) at org.eclipse.gmf.runtime.diagram.ui.editparts.ShapeNodeEditPart.handleNotificationEvent(ShapeNodeEditPart.java:236) at org.eclipse.gmf.runtime.diagram.ui.editparts.GraphicalEditPart.notifyChanged(GraphicalEditPart.java:1438) at org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBroker.fireNotification(DiagramEventBroker.java:500) at org.eclipse.gmf.runtime.diagram.core.listener.DiagramEventBroker.resourceSetChanged(DiagramEventBroker.java:395) at org.eclipse.gmf.runtime.diagram.ui.DiagramEventBrokerThreadSafe.resourceSetChanged(DiagramEventBrokerThreadSafe.java:73) at org.eclipse.gmf.runtime.diagram.core.DiagramEditingDomainFactory$DiagramEditingDomain.postcommit(DiagramEditingDomainFactory.java:214) at org.eclipse.emf.transaction.impl.TransactionalEditingDomainImpl.deactivate(TransactionalEditingDomainImpl.java:543) at org.eclipse.emf.transaction.impl.TransactionImpl.close(TransactionImpl.java:712) at org.eclipse.emf.transaction.impl.TransactionImpl.commit(TransactionImpl.java:474) at org.eclipse.emf.workspace.AbstractEMFOperation.execute(AbstractEMFOperation.java:155) at org.eclipse.core.commands.operations.DefaultOperationHistory.execute(DefaultOperationHistory.java:511) ... 56 more

    JIRA | 7 years ago | Olivier Marot
    org.eclipse.core.commands.ExecutionException: While executing the operation, an exception occurred
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    solr 4.1 java.lang.IllegalArgumentException: first position increment must be > 0 (got 0)

    Stack Overflow | 4 years ago | Rick
    java.lang.IllegalArgumentException: first position increment must be > 0 (got 0)
  6. 0

    Per jbaruch's original test case submission at http://forum.springframework.org/showthread.php?p=182914 -- Error Log from JUnit -- Class: issues.sjc118.BppTest Method: testBppInjection Actual: null Expected: null Stack Trace: java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:203) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109) at org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:255) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:93) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.invokeTestMethod(SpringJUnit4ClassRunner.java:130) at org.junit.internal.runners.JUnit4ClassRunner.runMethods(JUnit4ClassRunner.java:51) at org.junit.internal.runners.JUnit4ClassRunner$1.run(JUnit4ClassRunner.java:44) at org.junit.internal.runners.ClassRoadie.runUnprotected(ClassRoadie.java:27) at org.junit.internal.runners.ClassRoadie.runProtected(ClassRoadie.java:37) at org.junit.internal.runners.JUnit4ClassRunner.run(JUnit4ClassRunner.java:42) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'demoBean': Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public final issues.sjc118.Bean issues.sjc118.SpringConfig$$EnhancerByCGLIB$$ec4b4c6f.demoBean()] threw exception; nested exception is java.lang.IllegalArgumentException: ConfigurationSupport must be injected before calling this at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:423) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:901) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:815) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:220) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:96) at org.springframework.test.context.support.AbstractGenericContextLoader.loadContext(AbstractGenericContextLoader.java:44) at org.springframework.test.context.TestContext.loadApplicationContext(TestContext.java:173) at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:199) ... 16 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public final issues.sjc118.Bean issues.sjc118.SpringConfig$$EnhancerByCGLIB$$ec4b4c6f.demoBean()] threw exception; nested exception is java.lang.IllegalArgumentException: ConfigurationSupport must be injected before calling this at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127) at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:414) ... 34 more Caused by: java.lang.IllegalArgumentException: ConfigurationSupport must be injected before calling this at org.springframework.util.Assert.notNull(Assert.java:112) at issues.sjc118.SpringConfig.demoBean(SpringConfig.java:22) at issues.sjc118.SpringConfig$$EnhancerByCGLIB$$ec4b4c6f.CGLIB$demoBean$0(<generated>) at issues.sjc118.SpringConfig$$EnhancerByCGLIB$$ec4b4c6f$$FastClassByCGLIB$$a7fe1fb4.invoke(<generated>) at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:167) at org.springframework.config.java.internal.enhancement.CglibConfigurationEnhancer$BeanMethodInterceptor.doIntercept(CglibConfigurationEnhancer.java:252) at org.springframework.config.java.internal.enhancement.CglibConfigurationEnhancer$AbstractMethodInterceptor.intercept(CglibConfigurationEnhancer.java:116) at issues.sjc118.SpringConfig$$EnhancerByCGLIB$$ec4b4c6f.demoBean(<generated>) 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.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115) ... 35 more

    Spring JIRA | 9 years ago | Chris Beams
    java.lang.IllegalStateException: Failed to load ApplicationContext

    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.IllegalArgumentException

      ConfigBean parent com.sun.enterprise.config.serverbeans.WebContainer must be registered first before child = com.sun.enterprise.config.serverbeans.SessionConfig

      at org.glassfish.admin.amx.impl.config.AMXConfigLoader._registerConfigBeanAsMBean()
    2. AMX
      AMXConfigLoader$AMXConfigLoaderThread.run
      1. org.glassfish.admin.amx.impl.config.AMXConfigLoader._registerConfigBeanAsMBean(AMXConfigLoader.java:630)
      2. org.glassfish.admin.amx.impl.config.AMXConfigLoader.registerConfigBeanAsMBean(AMXConfigLoader.java:606)
      3. org.glassfish.admin.amx.impl.config.AMXConfigLoader.registerConfigBeanAsMBean(AMXConfigLoader.java:603)
      4. org.glassfish.admin.amx.impl.config.AMXConfigLoader.access$100(AMXConfigLoader.java:81)
      5. org.glassfish.admin.amx.impl.config.AMXConfigLoader$AMXConfigLoaderThread.registerOne(AMXConfigLoader.java:514)
      6. org.glassfish.admin.amx.impl.config.AMXConfigLoader$AMXConfigLoaderThread.doRun(AMXConfigLoader.java:570)
      7. org.glassfish.admin.amx.impl.config.AMXConfigLoader$AMXConfigLoaderThread.run(AMXConfigLoader.java:534)
      7 frames