geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder (JIRA)" <...@geronimo.apache.org>
Subject [jira] Commented: (GERONIMO-715) 'StringIndexOutOfBoundsException' in 'org.openejb.corba.compiler.PortableStubCompiler'
Date Sun, 10 Jul 2005 18:32:11 GMT
    [ http://issues.apache.org/jira/browse/GERONIMO-715?page=comments#action_12315445 ] 

Aaron Mulder commented on GERONIMO-715:
---------------------------------------

Unfortunately the download link does not seem to be a working application, but a directory
with source files, a build script, and instructions that refer to an article without a URL
or anything.  Can you just attach the exact EAR you're using, and tell me how you set up the
database so that doesn't cause problems?  Also, if you can attach the full stack trace, that
would help.  Thanks.

> 'StringIndexOutOfBoundsException' in 'org.openejb.corba.compiler.PortableStubCompiler'
> --------------------------------------------------------------------------------------
>
>          Key: GERONIMO-715
>          URL: http://issues.apache.org/jira/browse/GERONIMO-715
>      Project: Geronimo
>         Type: Bug
>   Components: OpenEJB
>     Versions: 1.0-M4
>  Environment: up to date Geronimo snapshot  (03.07.2005)
>     Reporter: M.Oliver Scheele

>
> Just played around the first time with Geronimo and the OpenEJB service.
> First of all: Thanks for this great project and the hard work!
> During deployment of a simple CMP EJB project I got the following exception:
> 15:58:00,318 DEBUG [Deployer] Deployment failed: plan=null, module=D:\projects\geronimo\deploy_tests\target\geronimo\myproject.ear
> ..........
> Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 5
> 	at java.lang.String.charAt(String.java:444)
> 	at org.openejb.corba.compiler.PortableStubCompiler.createIiopOperations(PortableStubCompiler.java:198)
> ........
> During the last patch there seems to be introduced a small bug.
> Lock at line 198 in class 'org.openejb.corba.compiler.PortableStubCompiler' inside the
'openejb-core' project:
> >> if (methodName.length() > 4 && Character.isUpperCase(methodName.charAt(4
+ 1))) {
> That's not very friendly when using 5-character strings. ;)
> It should be something like this: 
> >> if (methodName.length() > 5 && Character.isUpperCase(methodName.charAt(4
+ 1))) {

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message