Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002921 [Resin] minor always 09-11-08 09:23 09-11-08 14:59
Reporter ferg View Status public  
Assigned To ferg
Priority normal Resolution fixed Platform
Status closed   OS
Projection none   OS Version
ETA none Fixed in Version 3.1.7 Product Version
  Product Build
Summary 0002921: amber 32-field issue
Description (rep by Neil Shannon)


I?ve included the error and a snippet of generated source (obfuscated a bit but you?ll get the idea).
 
Here?s the error (via a Hessian servlet):
500 Servlet Exception

c:\XXXX\deploy\WEB-INF\work\pre-enhance\XXXX\XXXX\XXXX\XXXX\XXXX__ResinExt.java:2956:
integer number too large: 2147483648
    if ((__caucho_super_get_xxxxx() != null) && (__caucho_state.isPersist() || (__caucho_dirtyMask_0 & 2147483648) != 0L)) { //No L here?
                                                                                                       ^
1 error
 
Here?s a snippet of generated source (this occurs inside the __caucho_flush() method):
 
    if ((__caucho_super_get_xxxxx() != null) && (__caucho_state.isPersist() || (__caucho_dirtyMask_0 & 2147483648) != 0L)) {
      com.caucho.amber.entity.EntityState otherState = ((com.caucho.amber.entity.Entity) __caucho_super_get_xxxxx()).__caucho_getEntityState();
      if (((com.caucho.amber.entity.Entity) __caucho_super_get_xxxxx()).__caucho_getConnection() == null) {
        if (__caucho_state.isTransactional() && ! otherState.isManaged())
          throw new IllegalStateException("amber flush: unable to flush XXXXXX[" + __caucho_getPrimaryKey() + "] with non-managed dependent relationship many-to-one to XXXXX. Current entity state: " + __caucho_state + " and parent entity state: " + otherState);
      }
    }
 
Steps To Reproduce
Additional Information
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
09-11-08 09:23 ferg New Issue
09-11-08 14:59 ferg Assigned To  => ferg
09-11-08 14:59 ferg Status new => closed
09-11-08 14:59 ferg Resolution open => fixed
09-11-08 14:59 ferg Fixed in Version  => 3.1.7


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