facebook

CGLIB Enhancement failed in Eclipse6.0M1 Hibernate project

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #273462 Reply

    Elisabeth
    Member

    I have tried the hibernate tutorials in MyEclipse 6.0M1
    (“Introduction to hibernate tutorial” and “hibernate spring tutorial”)
    They both fail and the exception message is

    ERROR 2007-08-03 10:02:14,648 [main] org.hibernate.proxy.BasicLazyInitializer: CGLIB Enhancement failed: com.myeclipse.hibernatespring.User

    Tried the same projects in MyEclipse 5.5 and it worked perfectly.

    Does anyone know why this happens in MyEclipse6.0M1 and how to fix it?

    #273471 Reply

    Loyal Water
    Member

    What version of Eclipse are you using with MyEclipse 6.0M1 ? How did you setup MyEclipse 6.0M1 ?

    #273476 Reply

    Elisabeth
    Member

    I downloaded the “All in one” version of MyEclipse
    (MyEclipse_6.0M1_E3.3_FullStackInstaller.exe) so I use Eclipse 3.3

    Regarding the tutorial examples: I actually unzipped the projects from the tutorials and imported them into MyEclipse to make sure the code was exactly the same when I first ran into this problem.

    #273480 Reply

    Steve Prior
    Member

    This is a known issue – see the thread in this forum named “signer information does not match signer information of othe “.

    You’re hitting the same thing I did, you just have to read down in the exception trace.

    #273491 Reply

    Loyal Water
    Member

    Can you go to <workspace>/.metadata/.log and paste the contents of your log file here for me.

    #273519 Reply

    Elisabeth
    Member

    !SESSION 2007-08-06 07:24:34.389 ———————————————–
    eclipse.buildId=I20070625-1500
    java.version=1.5.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_NO
    Command-line arguments: -os win32 -ws win32 -arch x86

    !ENTRY org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE A handler conflict occurred. This may disable some commands.
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureTypeNodeContribution/com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureTypeNodeContribution/com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureTypeNodeContribution/com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.actions.RefreshTypeNodeAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.actions.editNodeAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.actions.editNodeAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.EditNodeAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.actions.editNodeAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.EditNodeAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::ValidationMenuAction/ValidationAction’:
    HandlerActivation(commandId=AUTOGEN:::ValidationMenuAction/ValidationAction,
    handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.validation.internal.ui.ValidationMenuAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::ValidationMenuAction/ValidationAction,
    handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.validation.internal.ui.ValidationMenuAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil/org.eclipse.jst.ws.consumption.ui.wsilimport’:
    HandlerActivation(commandId=AUTOGEN:::org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil/org.eclipse.jst.ws.consumption.ui.wsilimport,
    handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::org.eclipse.jst.ws.internal.consumption.ui.wizard.client.genwsil/org.eclipse.jst.ws.consumption.ui.wsilimport,
    handler=ActionDelegateHandlerProxy(null,org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.runFunctionAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.runFunctionAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.RunSybaseFunctionProcedureAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.runFunctionAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.RunMssqlFunctionProcedureAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.openTriggerAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.openTriggerAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.OpenTriggerAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mysql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mysql.openTriggerAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mysql.actions.OpenTriggerAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.openTriggerAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.openTriggerAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.OpenTriggerAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.triggerNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.openTriggerAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.OpenTriggerAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.editProcedureAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.editProcedureAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.EditMssqlNodeAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.editProcedureAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.EditMssqlNodeAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.337
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.spHelpAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.spHelpAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.MssqlSpHelpAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.eclipse.sqlexplorer.mssql.procedureNodeActions/com.genuitec.eclipse.sqlexplorer.mssql.spHelpAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.eclipse.sqlexplorer.mssql.actions.MssqlSpHelpAction),
    expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),sourcePriority=16384)

    !ENTRY org.eclipse.jface 2 0 2007-08-06 07:24:44.337
    !MESSAGE Keybinding conflicts occurred. They may interfere with normal accelerator operation.
    !SUBENTRY 1 org.eclipse.jface 2 0 2007-08-06 07:24:44.337
    !MESSAGE A conflict occurred for ALT+SHIFT+T:
    Binding(ALT+SHIFT+T,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.refactor.quickMenu,Show Refactor Quick Menu,
    Shows the refactor quick menu,
    Category(org.eclipse.jdt.ui.category.refactoring,Refactor – Java,Java Refactoring Actions,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(ALT+SHIFT+T,
    ParameterizedCommand(Command(com.genuitec.org.springframework.ide.eclipse.beans.ui.commands.openjavatype,Open Java Type,
    ,
    Category(org.eclipse.ui.category.navigate,Navigate,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    !SUBENTRY 1 org.eclipse.jface 2 0 2007-08-06 07:24:44.337
    !MESSAGE A conflict occurred for ALT+SHIFT+V:
    Binding(ALT+SHIFT+V,
    ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.move.element,Move – Refactoring ,
    Move the selected element to a new location,
    Category(org.eclipse.jdt.ui.category.refactoring,Refactor – Java,Java Refactoring Actions,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)
    Binding(ALT+SHIFT+V,
    ParameterizedCommand(Command(com.genuitec.org.springframework.ide.eclipse.beans.ui.commands.showinview,Show in Spring Beans View,
    ,
    Category(org.eclipse.ui.category.navigate,Navigate,null,true),
    ,
    ,,true),null),
    org.eclipse.ui.defaultAcceleratorConfiguration,
    org.eclipse.ui.contexts.window,,,system)

    !ENTRY org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.352
    !MESSAGE A handler conflict occurred. This may disable some commands.
    !SUBENTRY 1 org.eclipse.ui.workbench 2 0 2007-08-06 07:24:44.352
    !MESSAGE Conflict for ‘AUTOGEN:::com.genuitec.myeclipse.comunity.essentials/com.genuitec.com.tikal.eclipse.updatemanager.quicksetup.actions.QuickInstallAction’:
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.myeclipse.comunity.essentials/com.genuitec.com.tikal.eclipse.updatemanager.quicksetup.actions.QuickInstallAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.com.tikal.eclipse.updatemanager.quicksetup.actions.QuickInstallAction),
    expression=AndExpression(ActionSetExpression(com.genuitec.myeclipse.comunity.essentials,org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9)),sourcePriority=16640)
    HandlerActivation(commandId=AUTOGEN:::com.genuitec.myeclipse.comunity.essentials/com.genuitec.com.tikal.eclipse.updatemanager.quicksetup.actions.QuickInstallAction,
    handler=ActionDelegateHandlerProxy(null,com.genuitec.com.tikal.eclipse.updatemanager.quicksetup.actions.QuickInstallAction),
    expression=AndExpression(ActionSetExpression(com.genuitec.myeclipse.comunity.essentials,org.eclipse.ui.internal.WorkbenchWindow@5f1ae9),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@5f1ae9)),sourcePriority=16640)

    #273541 Reply

    Steve Prior
    Member

    I thought I had provided enough of a clue in my last reply to this, but apparently neither of you read the other thread I mentioned. The root cause of the CGLIB enhancement failed error you’re seeing is that in 6.0M1 the MyEclipse folks started signing cglib-2.1.3.jar. Well, it turns out you can’t do that, and I documented references to this in the other thread. If you look down in the middle of the runtime exception stack trace where you got the CGLIB exception you will see that the root cause mentions signer information which does not match (hence the title of the other thread). The good news is that if you replace the signed jar files in the 6.0M1 release with the unsigned ones from the 5.5 release the problem goes away, plus the MyEclipse folks have added those jars to the signing exclusion list so this should be fixed in the upcoming 6.0GA release.

    #273556 Reply

    Riyad Kalla
    Member

    Guys sprior is spot-on, he helped us run down that mistake of signing those JARs, should be fixed in the upcoming release.

    #273600 Reply

    Elisabeth
    Member

    Just replaced the libraries and everything now works perfect. Thanks 🙂

    #273613 Reply

    Riyad Kalla
    Member

    Elisabeth, that’s great news. Glad it’s working now.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: CGLIB Enhancement failed in Eclipse6.0M1 Hibernate project

You must be logged in to post in the forum log in