Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0005569 [Baratine] minor always 10-25-13 18:36 11-25-13 17:57
Reporter nam View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 0.8.0
Summary 0005569: ClassCastException with OpenJDK but not with Sun's JDK
Description nam: verified 2013-10-25

Steps to reproduce:
1. start resin
2. deploy app
3. store Employee into Store
4. edit Employee class (e.g. add class field)
5. redeploy app
6. get ClassCastException when calling method below:

    public Employee get() {
        logger.info("get");

        return (Employee) employeeStore.get(1L);
    }

[2013-10-25 11:32:13,563] {main@1} INFO ResinSystem: Resin Professional 7.0.s131025 (built Fri, 25 Oct 2013 05:09:37 PDT)
[2013-10-25 11:32:13,563] {main@1} INFO ResinSystem:
[2013-10-25 11:32:13,563] {main@1} INFO ResinSystem: Linux 2.6.32-358.23.2.el6.x86_64 amd64
[2013-10-25 11:32:13,563] {main@1} INFO ResinSystem: OpenJDK Runtime Environment 1.7.0_45-mockbuild_2013_10_23_08_18-b00, UTF-8, en
[2013-10-25 11:32:13,563] {main@1} INFO ResinSystem: OpenJDK 64-Bit Server VM 24.45-b08, 64, mixed mode, Oracle Corporation


java.lang.ClassCastException: com.ascentis.maui.storepoc.Employee cannot be cast to com.ascentis.maui.storepoc.Employee
        at com.ascentis.maui.storepoc.EmployeeService.get(EmployeeService.java:86)
        at com.caucho.ramp.proxy.SkeletonMethod_1.query(SkeletonMethod_1.java:157)
        at com.caucho.ramp.proxy.SkeletonMethod_1.query(SkeletonMethod_1.java:209)
        at com.caucho.ramp.message.QueryGatewayReadMessage_N.invokeQuery(QueryGatewayReadMessage_N.java:73)
        at com.caucho.ramp.mailbox.QueryItem.invoke(QueryItem.java:265)
        at com.caucho.ramp.mailbox.QueueMailbox$MessageConsumer.deliver(QueueMailbox.java:568)
        at com.caucho.ramp.mailbox.QueueMailbox$MessageConsumer.deliver(QueueMailbox.java:533)
        at com.caucho.env.actor.RingActorQueue.deliver(RingActorQueue.java:301)
        at com.caucho.env.actor.RingActorQueueResizing.deliver(RingActorQueueResizing.java:218)
        at com.caucho.env.actor.ActorWorkerSingleThread.runImpl(ActorWorkerSingleThread.java:87)
        at com.caucho.env.actor.ActorWorkerAdapter.runTask(ActorWorkerAdapter.java:85)
        at com.caucho.env.actor.ActorWorkerAdapter.run(ActorWorkerAdapter.java:167)
        at com.caucho.env.thread2.ThrottleExecutor$SpinTask.run(ThrottleExecutor.java:183)
        at com.caucho.env.thread2.ResinThread2.runTasks(ResinThread2.java:217)
        at com.caucho.env.thread2.ResinThread2.run(ResinThread2.java:158)
Additional Information
Attached Files

- Relationships

- Notes
(0006355)
ferg
11-25-13 17:57

baratine/7071
 

- Issue History
Date Modified Username Field Change
10-25-13 18:36 nam New Issue
10-25-13 18:49 nam Description Updated
10-25-13 18:50 nam Description Updated
11-25-13 17:57 ferg Note Added: 0006355
11-25-13 17:57 ferg Assigned To  => ferg
11-25-13 17:57 ferg Status new => closed
11-25-13 17:57 ferg Resolution open => fixed
11-25-13 17:57 ferg Fixed in Version  => 0.8.1


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker