|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (JANINO-137) Assignment conversion not possible from type "double[]" to type "double[]"Assignment conversion not possible from type "double[]" to type "double[]"
-------------------------------------------------------------------------- Key: JANINO-137 URL: http://jira.codehaus.org/browse/JANINO-137 Project: Janino Issue Type: Bug Affects Versions: 2.5.15 Environment: This issue has been recreated on Linux (Ubuntu) and OSX Reporter: Michael Ward Assignee: Arno Unkrig Attachments: Calculator.java, error.txt, MultiThreadedIssueTest.java We have discovered an issue when using Janino from multiple threads. No state is shared across these threads. We are using ClassBodyEvaluator.createFastClassBodyEvaluator. As is the case with most threading issues we do NOT see this issue every time. A simple test has been attached. Thanks, Mike Stacktrace: Caused by: org.codehaus.janino.CompileException: File Calculator_33, Line 25, Column 3: Assignment conversion not possible from type "double[]" to type "double[]" at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.access$1700(UnitCompiler.java) at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java) at org.codehaus.janino.Java$ReturnStatement.accept(Java.java) at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java) at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) at org.codehaus.janino.Java$Block.accept(Java.java) at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java) at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java) at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java) at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java) at org.codehaus.janino.ClassBodyEvaluator.compileToClass(ClassBodyEvaluator.java) at org.codehaus.janino.ClassBodyEvaluator.cook(ClassBodyEvaluator.java) at org.codehaus.janino.ClassBodyEvaluator.<init>(ClassBodyEvaluator.java) at org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(ClassBodyEvaluator.java) at me.mward.janino.MultiThreadedIssueTest.create(MultiThreadedIssueTest.java:52) ... 2 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (JANINO-137) Assignment conversion not possible from type "double[]" to type "double[]"[ http://jira.codehaus.org/browse/JANINO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194546#action_194546 ] Matt Fowles commented on JANINO-137: ------------------------------------ Before I spend much time pursuing this, can you verify that it reproduces with the bug fixes from http://code.google.com/p/janino-streambase/ Thanks, Matt > Assignment conversion not possible from type "double[]" to type "double[]" > -------------------------------------------------------------------------- > > Key: JANINO-137 > URL: http://jira.codehaus.org/browse/JANINO-137 > Project: Janino > Issue Type: Bug > Affects Versions: 2.5.15 > Environment: This issue has been recreated on Linux (Ubuntu) and OSX > Reporter: Michael Ward > Assignee: Arno Unkrig > Attachments: Calculator.java, error.txt, MultiThreadedIssueTest.java > > > We have discovered an issue when using Janino from multiple threads. No state is shared across these threads. We are using ClassBodyEvaluator.createFastClassBodyEvaluator. As is the case with most threading issues we do NOT see this issue every time. A simple test has been attached. > Thanks, > Mike > Stacktrace: > Caused by: org.codehaus.janino.CompileException: File Calculator_33, Line 25, Column 3: Assignment conversion not possible from type "double[]" to type "double[]" > at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$1700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java) > at org.codehaus.janino.Java$ReturnStatement.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) > at org.codehaus.janino.Java$Block.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java) > at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java) > at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java) > at org.codehaus.janino.ClassBodyEvaluator.compileToClass(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.cook(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.<init>(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(ClassBodyEvaluator.java) > at me.mward.janino.MultiThreadedIssueTest.create(MultiThreadedIssueTest.java:52) > ... 2 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (JANINO-137) Assignment conversion not possible from type "double[]" to type "double[]"[ http://jira.codehaus.org/browse/JANINO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194630#action_194630 ] Michael Ward commented on JANINO-137: ------------------------------------- Matt - I tested this against janino-streambase code and still see the same issue. Thanks, Mike > Assignment conversion not possible from type "double[]" to type "double[]" > -------------------------------------------------------------------------- > > Key: JANINO-137 > URL: http://jira.codehaus.org/browse/JANINO-137 > Project: Janino > Issue Type: Bug > Affects Versions: 2.5.15 > Environment: This issue has been recreated on Linux (Ubuntu) and OSX > Reporter: Michael Ward > Assignee: Arno Unkrig > Attachments: Calculator.java, error.txt, MultiThreadedIssueTest.java > > > We have discovered an issue when using Janino from multiple threads. No state is shared across these threads. We are using ClassBodyEvaluator.createFastClassBodyEvaluator. As is the case with most threading issues we do NOT see this issue every time. A simple test has been attached. > Thanks, > Mike > Stacktrace: > Caused by: org.codehaus.janino.CompileException: File Calculator_33, Line 25, Column 3: Assignment conversion not possible from type "double[]" to type "double[]" > at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$1700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java) > at org.codehaus.janino.Java$ReturnStatement.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) > at org.codehaus.janino.Java$Block.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java) > at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java) > at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java) > at org.codehaus.janino.ClassBodyEvaluator.compileToClass(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.cook(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.<init>(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(ClassBodyEvaluator.java) > at me.mward.janino.MultiThreadedIssueTest.create(MultiThreadedIssueTest.java:52) > ... 2 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (JANINO-137) Assignment conversion not possible from type "double[]" to type "double[]"[ http://jira.codehaus.org/browse/JANINO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194741#action_194741 ] Matt Fowles commented on JANINO-137: ------------------------------------ Thanks, I will try to check into this over the weekend. > Assignment conversion not possible from type "double[]" to type "double[]" > -------------------------------------------------------------------------- > > Key: JANINO-137 > URL: http://jira.codehaus.org/browse/JANINO-137 > Project: Janino > Issue Type: Bug > Affects Versions: 2.5.15 > Environment: This issue has been recreated on Linux (Ubuntu) and OSX > Reporter: Michael Ward > Assignee: Arno Unkrig > Attachments: Calculator.java, error.txt, MultiThreadedIssueTest.java > > > We have discovered an issue when using Janino from multiple threads. No state is shared across these threads. We are using ClassBodyEvaluator.createFastClassBodyEvaluator. As is the case with most threading issues we do NOT see this issue every time. A simple test has been attached. > Thanks, > Mike > Stacktrace: > Caused by: org.codehaus.janino.CompileException: File Calculator_33, Line 25, Column 3: Assignment conversion not possible from type "double[]" to type "double[]" > at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$1700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java) > at org.codehaus.janino.Java$ReturnStatement.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) > at org.codehaus.janino.Java$Block.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java) > at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java) > at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java) > at org.codehaus.janino.ClassBodyEvaluator.compileToClass(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.cook(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.<init>(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(ClassBodyEvaluator.java) > at me.mward.janino.MultiThreadedIssueTest.create(MultiThreadedIssueTest.java:52) > ... 2 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Updated: (JANINO-137) Assignment conversion not possible from type "double[]" to type "double[]"[ http://jira.codehaus.org/browse/JANINO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Fowles updated JANINO-137: ------------------------------- Attachment: JANINO-137.diff Patch containing fix from http://code.google.com/p/janino-streambase Revision 4177a391a1 > Assignment conversion not possible from type "double[]" to type "double[]" > -------------------------------------------------------------------------- > > Key: JANINO-137 > URL: http://jira.codehaus.org/browse/JANINO-137 > Project: Janino > Issue Type: Bug > Affects Versions: 2.5.15 > Environment: This issue has been recreated on Linux (Ubuntu) and OSX > Reporter: Michael Ward > Assignee: Arno Unkrig > Attachments: Calculator.java, error.txt, JANINO-137.diff, MultiThreadedIssueTest.java > > > We have discovered an issue when using Janino from multiple threads. No state is shared across these threads. We are using ClassBodyEvaluator.createFastClassBodyEvaluator. As is the case with most threading issues we do NOT see this issue every time. A simple test has been attached. > Thanks, > Mike > Stacktrace: > Caused by: org.codehaus.janino.CompileException: File Calculator_33, Line 25, Column 3: Assignment conversion not possible from type "double[]" to type "double[]" > at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$1700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java) > at org.codehaus.janino.Java$ReturnStatement.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) > at org.codehaus.janino.Java$Block.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java) > at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java) > at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java) > at org.codehaus.janino.ClassBodyEvaluator.compileToClass(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.cook(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.<init>(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(ClassBodyEvaluator.java) > at me.mward.janino.MultiThreadedIssueTest.create(MultiThreadedIssueTest.java:52) > ... 2 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
|
|
[jira] Commented: (JANINO-137) Assignment conversion not possible from type "double[]" to type "double[]"[ http://jira.codehaus.org/browse/JANINO-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195136#action_195136 ] Matt Fowles commented on JANINO-137: ------------------------------------ The problem was a race condition in lazy initialization of static values. The patch (which you can see) guards the initialization more carefully. Prior to this patching being applied, your test failed between 1 in 6 and 1 in 10 times on my machine. After this patch is applied, it successfully ran over 100 times without failure. > Assignment conversion not possible from type "double[]" to type "double[]" > -------------------------------------------------------------------------- > > Key: JANINO-137 > URL: http://jira.codehaus.org/browse/JANINO-137 > Project: Janino > Issue Type: Bug > Affects Versions: 2.5.15 > Environment: This issue has been recreated on Linux (Ubuntu) and OSX > Reporter: Michael Ward > Assignee: Arno Unkrig > Attachments: Calculator.java, error.txt, JANINO-137.diff, MultiThreadedIssueTest.java > > > We have discovered an issue when using Janino from multiple threads. No state is shared across these threads. We are using ClassBodyEvaluator.createFastClassBodyEvaluator. As is the case with most threading issues we do NOT see this issue every time. A simple test has been attached. > Thanks, > Mike > Stacktrace: > Caused by: org.codehaus.janino.CompileException: File Calculator_33, Line 25, Column 3: Assignment conversion not possible from type "double[]" to type "double[]" > at org.codehaus.janino.UnitCompiler.compileError(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.assignmentConversion(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$1700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitReturnStatement(UnitCompiler.java) > at org.codehaus.janino.Java$ReturnStatement.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.access$700(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$4.visitBlock(UnitCompiler.java) > at org.codehaus.janino.Java$Block.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileDeclaredMethods(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compile2(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler$3.visitPackageMemberClassDeclaration(UnitCompiler.java) > at org.codehaus.janino.Java$PackageMemberClassDeclaration.accept(Java.java) > at org.codehaus.janino.UnitCompiler.compile(UnitCompiler.java) > at org.codehaus.janino.UnitCompiler.compileUnit(UnitCompiler.java) > at org.codehaus.janino.SimpleCompiler.compileToClassLoader(SimpleCompiler.java) > at org.codehaus.janino.ClassBodyEvaluator.compileToClass(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.cook(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.<init>(ClassBodyEvaluator.java) > at org.codehaus.janino.ClassBodyEvaluator.createFastClassBodyEvaluator(ClassBodyEvaluator.java) > at me.mward.janino.MultiThreadedIssueTest.create(MultiThreadedIssueTest.java:52) > ... 2 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |