java.lang.IllegalArgumentException: adding container's parent to itself The stack trace that caused the error is beneath. I prefer to start at the bottom, looking for references to my code in each line that starts with an 'at'. There will also be references to other code, usually core Java classes and methods, but they can be to any other code imported to make your code complete. Inverting your stack trace:

Coderanch | Greg Brannon | 4 years ago
  1. 0

    Illegal argument exception: cannot add parent to itself

    Coderanch | 4 years ago | Greg Brannon
    java.lang.IllegalArgumentException: adding container's parent to itself The stack trace that caused the error is beneath. I prefer to start at the bottom, looking for references to my code in each line that starts with an 'at'. There will also be references to other code, usually core Java classes and methods, but they can be to any other code imported to make your code complete. Inverting your stack trace:
  2. 0

    java.lang.IllegalArgumentException: contentIntent required

    Google Groups | 5 years ago | brandall
    java.lang.IllegalArgumentException: contentIntent required: > > pkg=com.brandall.nutter id=1079820303 > > > notification=Notification(vibrate=null,sound=null,defaults=0x0,flags=0x60) > > > > There's nothing else relevant in the output. > > Is that in your null Intent case? The message makes more sense for > that than with the TTS_SETTINGS scenario. > That is returned in all cases...null or activity. > > It looks like contentIntent used to be required, but no longer is, as > of October 2010 (in terms of source code updates). Do you see a > pattern in OS versions in the devices that are hitting this? > > I would recommend using an Intent that points to one of your > activities -- that avoids the TTS_SETTINGS problem and avoids the null > contentIntent. > It's definitely replicated when using the main activity to launch the application. The stack did also contain: W/19:27:15.560 ActivityManager( 220)
  3. 0
    samebug tip
    Properties of subclasses may have to be referenced in a different way. More on this here: https://goo.gl/FvnBXb
    via goo.gl
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    JMS Using Spring

    Oracle Community | 7 years ago | ltouve
    java.lang.IllegalArgumentException: MQ:Topic:Invalid Topic Name - jms/Topic / Thanks, Sahoo Sahoo wrote: > I think it is an issue with context class loader. Can you configure > your Spring DM OSGi service to run in the context of the calling > Servlet if such a configuration option available? > > Thanks, > Sahoo > > glassfish@javadesktop.org wrote: >> I'm trying to get a simple JMS Topic application running and I'm >> having problems. My message producer is a pojo that's inside n OSGi >> bundle that I've deployed. It gets called from within a service >> that's exposed using Spring DM to a web servlet. >> The code for the message producer: >> >> public void sendMessage(String data) >> { >> Context theContext = new InitialContext(); >> System.out.println("Getting Connection Factory."); >> TopicConnectionFactory topicFactory = >> (TopicConnectionFactory) theContext.lookup("jms/TopicFactory"); >> >> System.out.println("Getting Topic."); >> Topic topic = (Topic) theContext.lookup("jmsTopic"); >> // Here's where it fails >> >> topicConnection = topicFactory.createTopicConnection(); >> session = topicConnection.createTopicSession(false, >> Session.AUTO_ACKNOWLEDGE); >> publisher = session.createPublisher(topic); >> message = session.createTextMessage(data); >> >> System.out.println("Sending Message."); >> publisher.publish(message); >> } >> >> I've created the Factory and the Topic using the Glassfish Admin >> console (Resources->JMS Resources->Destination Resources). I also >> tried it with creating the physical resource (Configuration->Java >> Messaging Service->Physical Destinations). >> >> Stack Trace: >> >> [#|2010-04-19T09:01:37.462-0400|SEVERE|glassfishv3.0|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=40;_ThreadName=Thread-8;|javax.naming.CommunicationException: >> Communication exception for SerialContext [Root exception is >> com.sun.appserv.connectors.internal.api.PoolingException] >> at >> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:475) >> >>
  6. 0

    IncClientServlet EJB example always failing

    Google Groups | 2 decades ago | Mamta Satoor
    java.lang.IllegalArgumentException: Illegal value of transactionAttribute at java.lang.Throwable.<init>(Compiled Code) at javax.ejb.deployment.ControlDescriptor.setTransactionAttribute(Compiled Code) at com.ibm.ejb.cb.tools.jet.JetModel.buildEJBJAR(Compiled Code) at com.ibm.ejb.cb.tools.jet.JetController.updateModel(Compiled Code) at com.ibm.ejb.cb.tools.jet.JetViewImpl$1.actionPerformed(Compiled Code) at com.sun.java.swing.AbstractButton.fireActionPerformed(Compiled Code) at com.sun.java.swing.AbstractButton$ForwardActionEvents.actionPerformed(Compiled Code) at com.sun.java.swing.DefaultButtonModel.fireActionPerformed(Compiled Code) at com.sun.java.swing.DefaultButtonModel.setPressed(Compiled Code) at com.sun.java.swing.plaf.basic.BasicButtonListener.mouseReleased(Compiled Code) at java.awt.Component.processMouseEvent(Compiled Code) at java.awt.Component.processEvent(Compiled Code) at java.awt.Container.processEvent(Compiled Code) at java.awt.Component.dispatchEventImpl(Compiled Code) at java.awt.Container.dispatchEventImpl(Compiled Code) at java.awt.LightweightDispatcher.retargetMouseEvent(Compiled Code) at java.awt.LightweightDispatcher.processMouseEvent(Compiled Code) at java.awt.LightweightDispatcher.dispatchEvent(Compiled Code) at java.awt.Container.dispatchEventImpl(Compiled Code) at java.awt.Window.dispatchEventImpl(Compiled Code) at java.awt.EventDispatchThread.run(Compiled Code) while trying to build in the jet tool. So, I am really stuck at this point and would appreciate any tips I can get to proceed. Thanks, Mamta STACK TRACE FOR INCCLIENT in the debug window/ at java.lang.Throwable.<init>(Compiled Code) at java.lang.Exception.<init>(Compiled Code) at java.lang.RuntimeException.<init>(Compiled Code)

    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

      adding container's parent to itself The stack trace that caused the error is beneath. I prefer to start at the bottom, looking for references to my code in each line that starts with an 'at'. There will also be references to other code, usually core Java classes and methods, but they can be to any other code imported to make your code complete. Inverting your stack trace:

      at charitypledgeprogram.CharityPledgeProgramGUI.main()
    2. charitypledgeprogram
      CharityPledgeProgramGUI.main
      1. charitypledgeprogram.CharityPledgeProgramGUI.main(CharityPledgeProgramGUI.java:142)
      1 frame