Assertion Error

Discussions

EJB programming & troubleshooting: Assertion Error

  1. Assertion Error (2 messages)

    hi

    iam using web logic 5.1
    while deploying bean(Entity bean-bmp), iam getting following error.This erreo is generated ehile making jar file.

    Any one here could resolve my problem

    thanks

    somal
    -----------------------------------------------------------


    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ File root of D:/weblogic/myserver/serverclasses is not a prefix for file d:/weblogic/myserver/serverclasses/acc/AccHome.class ]

    at weblogic.ejb.ui.jarbuilder.FileMap.getRelativePath(FileMap.java:688)

    at weblogic.ejb.ui.deployer.ProviderProject.fileSetChanged(ProviderProject.java, Compiled Code)

    at weblogic.ejb.ui.jarbuilder.EJBJarSpec.newFileList(EJBJarSpec.java, Compiled Code)

    at weblogic.ejb.ui.deployer.ProviderProject.newFileSet(ProviderProject.java:772)

    at weblogic.ejb.ui.deployer.ProviderProjectNode.newFileSet(ProviderProjectNode.java, Compiled Code)

    at weblogic.ejb.ui.jarbuilder.FileSupplementDialog.actionPerformed(FileSupplementDialog.java:121)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)

    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

    at java.awt.Component.processMouseEvent(Component.java, Compiled Code)

    at java.awt.Component.processEvent(Component.java, Compiled Code)

    at java.awt.Container.processEvent(Container.java, Compiled Code)

    at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)

    at java.awt.Dialog.show(Dialog.java:365)

    at java.awt.Component.show(Component.java:834)

    at java.awt.Component.setVisible(Component.java:796)

    at weblogic.ejb.ui.deployer.ProviderProjectNode.addRemoveFiles(ProviderProjectNode.java:111)

    at java.lang.reflect.Method.invoke(Native Method)

    at weblogic.ejb.ui.common.Action.actionPerformed(Action.java:84)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)

    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

    at java.awt.Component.processMouseEvent(Component.java, Compiled Code)

    at java.awt.Component.processEvent(Component.java, Compiled Code)

    at java.awt.Container.processEvent(Container.java, Compiled Code)

    at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

    Exception occurred during event dispatching:

    weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ File root of D:/weblogic/myserver/serverclasses is not a prefix for file d:/weblogic/myserver/serverclasses/acc/AccHome.class ]

    at weblogic.ejb.ui.jarbuilder.FileMap.getRelativePath(FileMap.java:688)

    at weblogic.ejb.ui.deployer.ProviderProject.fileSetChanged(ProviderProject.java, Compiled Code)

    at weblogic.ejb.ui.jarbuilder.EJBJarSpec.newFileList(EJBJarSpec.java, Compiled Code)

    at weblogic.ejb.ui.deployer.ProviderProject.newFileSet(ProviderProject.java:772)

    at weblogic.ejb.ui.deployer.ProviderProjectNode.newFileSet(ProviderProjectNode.java, Compiled Code)

    at weblogic.ejb.ui.jarbuilder.FileSupplementDialog.actionPerformed(FileSupplementDialog.java:121)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)

    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

    at java.awt.Component.processMouseEvent(Component.java, Compiled Code)

    at java.awt.Component.processEvent(Component.java, Compiled Code)

    at java.awt.Container.processEvent(Container.java, Compiled Code)

    at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)

    at java.awt.Dialog.show(Dialog.java:365)

    at java.awt.Component.show(Component.java:834)

    at java.awt.Component.setVisible(Component.java:796)

    at weblogic.ejb.ui.deployer.ProviderProjectNode.addRemoveFiles(ProviderProjectNode.java:111)

    at java.lang.reflect.Method.invoke(Native Method)

    at weblogic.ejb.ui.common.Action.actionPerformed(Action.java:84)

    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1066)

    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1101)

    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)

    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:204)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:230)

    at java.awt.Component.processMouseEvent(Component.java, Compiled Code)

    at java.awt.Component.processEvent(Component.java, Compiled Code)

    at java.awt.Container.processEvent(Container.java, Compiled Code)

    at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.processMouseEvent(Container.java, Compiled Code)

    at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled Code)

    at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)

    at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)

    at java.awt.Component.dispatchEvent(Component.java, Compiled Code)

    at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java, Compiled Code)

    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:92)

    at java.awt.EventDispatchThread.run(EventDispatchThread.java:83)

    Threaded Messages (2)

  2. Assertion Error[ Go to top ]

    I forget to tell my package and dir structure::

    iam using package com.iplanet.ias.tool and placing the com folder in d:\weblogic\myserver\serverclasses
    what i think is that this problem is related to classpath.so i set my class path .

    D:\ORANT\jdbc\lib\classes111.zip;D:\jdk1.2.2\lib\classes.zip;D:\JavaWebServer2.0\public_html;D:\jdk1.2.2\lib;d:\weblogic\lib;d:\weblogic\myserver\serverclasses;d:\weblogic\myserver\serverclasses\

    But above classpath doesn't resolve my problem

    do help me in cracking this error
    thanks


    somal
  3. Assertion Error[ Go to top ]

    Iam sorry i accidently paste error code of my test application -acc,which uses acc package and placed in d:\weblogic\myserver\serverclasses

    rest of settings are same.
    same error was genrated for both applications.

    iam again sorry for inconvenience

    somal