Re: bsh-2.0b2 available...

Michael Pitoniak <michael_pitoniak-okLH5SSHHyRWk0Htik3J/[email protected]> Tue, 31 Aug 2004 10:29:15 -0400
Newsgroups gmane.comp.java.beanshell.user,gmane.comp.java.beanshell.devel
Message-ID <OFB438F138.04D369E8-ON85256F01.004F55A6-85256F01.004F9632@symantec.com>
Folks,

 Don't have much info on this error other than to say it came after the 
upgrade to the latest build. While i investigate i thought it would be 
wise to post it. 
Pat...some of the guys who use my beanshell tool pass namespaces around. 
Does this error look like the new Class supoort could have affected that?
I will post more data once i get it.

Thanks,

mp



Resetting redirectStd
    Output Executing: /TestHarness/scripts/BeanShell/expect/srl_backup.exp 
 /usr/bin fw-win2003.we.symc p
    Start ClassPath Mapping
    End ClassPath Mapping
    Executing: /TestHarness/scripts/BeanShell/expect/change_log_linux.exp 
fw-win2003.we.symc /usr/bin p
    java.lang.ClassFormatError: global/BlockNameSpace$4 (Illegal Field 
name "_bshStaticglobal/BlockNameSpace$4")
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at bsh.classpath.DiscreteFilesClassLoader.findClass(Unknown 
Source)
        at bsh.classpath.BshClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at bsh.classpath.ClassManagerImpl.classForName(Unknown Source)
        at bsh.classpath.ClassManagerImpl.defineClass(Unknown Source)
        at bsh.ClassGeneratorImpl.generateClassImpl(Unknown Source)
        at bsh.ClassGeneratorImpl.generateClass(Unknown Source)
        at bsh.BSHAllocationExpression.constructWithClassBody(Unknown 
Source)
        at bsh.BSHAllocationExpression.objectAllocation(Unknown Source)
        at bsh.BSHAllocationExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHAssignment.eval(Unknown Source)
        at bsh.BSHBlock.evalBlock(Unknown Source)
        at bsh.BSHBlock.eval(Unknown Source)
        at bsh.BSHBlock.eval(Unknown Source)
        at bsh.BSHTryStatement.eval(Unknown Source)
        at bsh.Interpreter.eval(Unknown Source)
        at bsh.Interpreter.source(Unknown Source)
        at bsh.Interpreter.source(Unknown Source)
        at 
harness.parsers.beanShell.BeanShellScriptParser.execScript(BeanShellScriptParser.java:347)
        at 
harness.parsers.beanShell.BeanShellScriptParser.scriptStateMachine(BeanShellScriptParser.java:144)
        at 
harness.parsers.beanShell.BeanShellScriptParser.run(BeanShellScriptParser.java:111)
Resetting redirectStd
    Output Executing: /TestHarness/scripts/BeanShell/expect/srl_backup.exp 
 /usr/bin fw-win2003.we.symc p
    Start ClassPath Mapping
    End ClassPath Mapping
    Executing: /TestHarness/scripts/BeanShell/expect/change_log_linux.exp 
fw-win2003.we.symc /usr/bin p
    java.lang.ClassFormatError: global/BlockNameSpace$4 (Illegal Field 
name "_bshStaticglobal/BlockNameSpace$4")
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at bsh.classpath.DiscreteFilesClassLoader.findClass(Unknown 
Source)
        at bsh.classpath.BshClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at bsh.classpath.ClassManagerImpl.classForName(Unknown Source)
        at bsh.classpath.ClassManagerImpl.defineClass(Unknown Source)
        at bsh.ClassGeneratorImpl.generateClassImpl(Unknown Source)
        at bsh.ClassGeneratorImpl.generateClass(Unknown Source)
        at bsh.BSHAllocationExpression.constructWithClassBody(Unknown 
Source)
        at bsh.BSHAllocationExpression.objectAllocation(Unknown Source)
        at bsh.BSHAllocationExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHPrimaryExpression.eval(Unknown Source)
        at bsh.BSHAssignment.eval(Unknown Source)
        at bsh.BSHBlock.evalBlock(Unknown Source)
        at bsh.BSHBlock.eval(Unknown Source)
        at bsh.BSHBlock.eval(Unknown Source)
        at bsh.BSHTryStatement.eval(Unknown Source)
        at bsh.Interpreter.eval(Unknown Source)
        at bsh.Interpreter.source(Unknown Source)
        at bsh.Interpreter.source(Unknown Source)
        at 
harness.parsers.beanShell.BeanShellScriptParser.execScript(BeanShellScriptParser.java:347)
        at 
harness.parsers.beanShell.BeanShellScriptParser.scriptStateMachine(BeanShellScriptParser.java:144)
        at 
harness.parsers.beanShell.BeanShellScriptParser.run(BeanShellScriptParser.java:111)




Patrick Niemeyer <[email protected]> 
Sent by: beanshell-users-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
08/23/2004 05:10 PM

To
beanshell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
cc
beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject
[Beanshell-users] bsh-2.0b2 available...






Since there have been no reports of problems I have put up bsh-2.0b2. 
This minor update addresses the class redefinition problem.  BeanShell 
now uses the bsh classloader when creating classes or interfaces, 
allowing it to reload them as necessary.

Please send feedback if you have issues.


Thanks,
Pat



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Beanshell-users mailing list
Beanshell-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/beanshell-users