Menu

Errors when instrumenting an EAR

Help
2008-11-27
2013-05-13
  • Ananda sagar BS

    Ananda sagar BS - 2008-11-27

    Hii,

    I am using Jensor 1.8.
    I am getting the following error when instrumenting the EAR for an application. Due to this the ear is not being built.

    Also I have observed that the jensorjdk library file is not being copied to the ear folder.

    Please provide the solution for the same

    Path : wmp.ear
    JAR FILE NAME IS : wmp.ear\AM.jar
    JAR FILE NAME IS : wmp.ear\an.jar
    JAR FILE NAME IS : wmp.ear\ARCH.jar
    JAR FILE NAME IS : wmp.ear\bfsarch-archbase.jar
    JAR FILE NAME IS : wmp.ear\bfsarch-list.jar
    JAR FILE NAME IS : wmp.ear\bfsarch-rpbase.jar
    JAR FILE NAME IS : wmp.ear\bfsarch-tags.jar
    JAR FILE NAME IS : wmp.ear\bfsarch.jar
    JAR FILE NAME IS : wmp.ear\bfsejb.jar
    JAR FILE NAME IS : wmp.ear\BR-bancs.jar
    JAR FILE NAME IS : wmp.ear\br.jar
    JAR FILE NAME IS : wmp.ear\BS.jar
    JAR FILE NAME IS : wmp.ear\clm.jar
    JAR FILE NAME IS : wmp.ear\CommonFunctionality.jar
    JAR FILE NAME IS : wmp.ear\commons-beanutils.jar
    JAR FILE NAME IS : wmp.ear\commons-logging.jar
    JAR FILE NAME IS : wmp.ear\Domains-bancs.jar
    JAR FILE NAME IS : wmp.ear\Domains.jar
    JAR FILE NAME IS : wmp.ear\ErrLog.jar
    JAR FILE NAME IS : wmp.ear\ErrorMessages-bancs.jar
    JAR FILE NAME IS : wmp.ear\ErrorMessages.jar
    JAR FILE NAME IS : wmp.ear\fa.jar
    JAR FILE NAME IS : wmp.ear\im.jar
    JAR FILE NAME IS : wmp.ear\j2ee.jar
    JAR FILE NAME IS : wmp.ear\jcommon.jar
    JAR FILE NAME IS : wmp.ear\jfreechart.jar
    JAR FILE NAME IS : wmp.ear\jsci-core.jar
    JAR FILE NAME IS : wmp.ear\log4j.jar
    JAR FILE NAME IS : wmp.ear\MCStrutsLib.jar
    JAR FILE NAME IS : wmp.ear\mctype.jar
    JAR FILE NAME IS : wmp.ear\mcutil.jar
    JAR FILE NAME IS : wmp.ear\openrdf-util.jar
    JAR FILE NAME IS : wmp.ear\oscache.jar
    JAR FILE NAME IS : wmp.ear\pm.jar
    JAR FILE NAME IS : wmp.ear\PS.jar
    JAR FILE NAME IS : wmp.ear\QZ.jar
    JAR FILE NAME IS : wmp.ear\report-controller.jar
    JAR FILE NAME IS : wmp.ear\RP.jar
    JAR FILE NAME IS : wmp.ear\sa.jar
    JAR FILE NAME IS : wmp.ear\se.jar
    JAR FILE NAME IS : wmp.ear\sqlj.jar
    JAR FILE NAME IS : wmp.ear\webarch.jar
    JAR FILE NAME IS : wmp.ear\wmparch.jar
    JAR FILE NAME IS : wmp.ear\wmpEJB.jar
    JAR FILE NAME IS : wmp.ear\xpp3_min.jar
    JAR FILE NAME IS : wmp.ear\xstream.jar
    java.lang.NullPointerException
            at org.objectweb.asm.jensor.MethodWriter.visitMaxs(MethodWriter.java:1299)
            at org.objectweb.asm.jensor.MethodAdapter.visitMaxs(MethodAdapter.java:189)
            at org.objectweb.asm.jensor.ClassReader.accept(ClassReader.java:1446)
            at org.objectweb.asm.jensor.ClassReader.accept(ClassReader.java:394)
            at com.tcs.perc.jensor.instrument.InstrumentationListener.actionPerformed(InstrumentationListener.java:244)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.Dialog$1.run(Unknown Source)
            at java.awt.Dialog$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Unknown Source)
            at java.awt.Component.show(Unknown Source)
            at java.awt.Component.setVisible(Unknown Source)
            at java.awt.Window.setVisible(Unknown Source)
            at java.awt.Dialog.setVisible(Unknown Source)
            at com.tcs.perc.jensor.instrument.writeEntireSelectionListener.getUserPermission(writeEntireSelectionListener.java:185)

            at com.tcs.perc.jensor.instrument.writeEntireSelectionListener.actionPerformed(writeEntireSelectionListener.java:258)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.Dialog$1.run(Unknown Source)
            at java.awt.Dialog$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Unknown Source)
            at java.awt.Component.show(Unknown Source)
            at java.awt.Component.setVisible(Unknown Source)
            at java.awt.Window.setVisible(Unknown Source)
            at java.awt.Dialog.setVisible(Unknown Source)
            at com.tcs.perc.jensor.instrument.Instrumenter.getUserSelection(Instrumenter.java:460)
            at com.tcs.perc.jensor.UI.modeInstrument.actionPerformed(modeInstrument.java:350)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.AbstractButton.doClick(Unknown Source)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)
    Exception occurred during event dispatching:
    java.lang.RuntimeException: java.lang.NullPointerException
            at com.tcs.perc.jensor.instrument.InstrumentationListener.actionPerformed(InstrumentationListener.java:251)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.Dialog$1.run(Unknown Source)
            at java.awt.Dialog$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Unknown Source)
            at java.awt.Component.show(Unknown Source)
            at java.awt.Component.setVisible(Unknown Source)
            at java.awt.Window.setVisible(Unknown Source)
            at java.awt.Dialog.setVisible(Unknown Source)
            at com.tcs.perc.jensor.instrument.writeEntireSelectionListener.getUserPermission(writeEntireSelectionListener.java:185)

            at com.tcs.perc.jensor.instrument.writeEntireSelectionListener.actionPerformed(writeEntireSelectionListener.java:258)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.Dialog$1.run(Unknown Source)
            at java.awt.Dialog$3.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Unknown Source)
            at java.awt.Component.show(Unknown Source)
            at java.awt.Component.setVisible(Unknown Source)
            at java.awt.Window.setVisible(Unknown Source)
            at java.awt.Dialog.setVisible(Unknown Source)
            at com.tcs.perc.jensor.instrument.Instrumenter.getUserSelection(Instrumenter.java:460)
            at com.tcs.perc.jensor.UI.modeInstrument.actionPerformed(modeInstrument.java:350)
            at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
            at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
            at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
            at javax.swing.AbstractButton.doClick(Unknown Source)
            at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
            at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
            at java.awt.Component.processMouseEvent(Unknown Source)
            at javax.swing.JComponent.processMouseEvent(Unknown Source)
            at java.awt.Component.processEvent(Unknown Source)
            at java.awt.Container.processEvent(Unknown Source)
            at java.awt.Component.dispatchEventImpl(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
            at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
            at java.awt.Container.dispatchEventImpl(Unknown Source)
            at java.awt.Window.dispatchEventImpl(Unknown Source)
            at java.awt.Component.dispatchEvent(Unknown Source)
            at java.awt.EventQueue.dispatchEvent(Unknown Source)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
            at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
            at org.objectweb.asm.jensor.MethodWriter.visitMaxs(MethodWriter.java:1299)
            at org.objectweb.asm.jensor.MethodAdapter.visitMaxs(MethodAdapter.java:189)
            at org.objectweb.asm.jensor.ClassReader.accept(ClassReader.java:1446)
            at org.objectweb.asm.jensor.ClassReader.accept(ClassReader.java:394)
            at com.tcs.perc.jensor.instrument.InstrumentationListener.actionPerformed(InstrumentationListener.java:244)
            ... 91 more
    Processing is done...

     
    • Suresh Malan

      Suresh Malan - 2008-11-27

      Hi Ananda,

          We have had some issues with Jensor v1.8 will like you to continue with Jensor v1.7, we are very close to resolving the issue. So would like you to check the space in a week's time.

         For downloading Jensor v1.7, you can visit the link mentioned below.

      http://sourceforge.net/project/showfiles.php?group_id=215085&package_id=259457

      Regards,
      Suresh.

       

Log in to post a comment.