Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6383731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:41:10+00:00 2026-05-25T02:41:10+00:00

Okay, so I’ve been banging my head against this problem for a couple of

  • 0

Okay, so I’ve been banging my head against this problem for a couple of days now, and I just don’t know what I’m missing to get it to work. I’ve also tried numerous searches here and on Google, but turned up nothing that has gotten me any visibly closer to a solution.

When trying to save my first record using the crudsiena module, I get an “Execution exception” screen, with the message:

AbstractMethodError occured: play.modules.gae.PlayDevEnvironment.enforceApiDeadlines()Z

It says it happens, In {module:crudsiena-2.0.2}/app/controllers/CRUD.java (around line 259)

That line is: SienaPlugin.pm().save(object);

The same error happens when I create a new object of my data model and try to save() it in a JUnit test.

I originally started out with implementation = siena.gae.GaePersistenceManager in siena.properties in the same folder as my model class, but also tried implementation = siena.jdbc.H2PersistanceManager to try the in-memory H2 DB, but it still gives the same error.

play modules reports the following modules:

  • crudsiena-2.0.2
  • gae-1.4
  • siena-2.0.4

From some debug logging output I inserted into the unit test, it seems even with implementation = siena.jdbc.H2PersistanceManager, getPersistanceManager() on the instantiation of my model returns a siena.gae.GaePersistenceManager object.

My data model class is as follows (note, variable and column names have been obfuscated here):

@Table("my_model")
public class MyModel extends Model {

    @Id(Generator.AUTO_INCREMENT)
    public Long id;

    @Column("index_alpha_numeric")
    @NotNull
    public String indexAlphaNumeric;

    @Column("extra_index_numbers")
    @Embedded
    public List<String> extraNumbers;

    @Column("string_value")
    @NotNull
    public String stringValue;

    @Column("another_string")
    @NotNull
    public String anotherString;

    @Column("another_index")
    @NotNull
    public Integer another_index;

    //empty no-param constructor, required if explicit constructor with parameters specified
    public MyModel() { }

    public MyModel(String aNum, String stringVal, String string2, Integer intIndex) {
        indexAlphaNumeric = aNum;
        stringValue = stringVal;
        anotherString = string2;
        anotherIndex = intIndex;
    }


    public static Query<MyModel> all() {
        return Model.all(MyModel.class);
    }

}

I’ve also tried removing the embedded list, just to see if I was misunderstanding how that worked, but again, there was no difference.

I can’t think of anything else I may need to include in this question right now, but if you need additional information that I haven’t thought of, I’ll of course be happy to oblige.

Edit: I was asked for a stack trace, so here it is. This stack trace is from the JUnit test. The issue appears to be in the GAE classes, so I’m going to poke around with that for a bit.

java.lang.AbstractMethodError: play.modules.gae.PlayDevEnvironment.enforceApiDeadlines()Z
    at com.google.appengine.tools.development.ApiProxyLocalImpl.doAsyncCall(ApiProxyLocalImpl.java:190)
    at com.google.appengine.tools.development.ApiProxyLocalImpl.makeAsyncCall(ApiProxyLocalImpl.java:151)
    at com.google.apphosting.api.ApiProxy.makeAsyncCall(ApiProxy.java:182)
    at com.google.appengine.api.datastore.DatastoreApiHelper.makeAsyncCall(DatastoreApiHelper.java:81)
    at com.google.appengine.api.datastore.AsyncDatastoreServiceImpl.put(AsyncDatastoreServiceImpl.java:266)
    at com.google.appengine.api.datastore.DatastoreServiceImpl$2.runInternal(DatastoreServiceImpl.java:113)
    at com.google.appengine.api.datastore.DatastoreServiceImpl$2.runInternal(DatastoreServiceImpl.java:110)
    at com.google.appengine.api.datastore.TransactionRunner.runInTransaction(TransactionRunner.java:31)
    at com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:110)
    at com.google.appengine.api.datastore.DatastoreServiceImpl.put(DatastoreServiceImpl.java:94)
    at siena.gae.GaePersistenceManager._insertSingle(GaePersistenceManager.java:285)
    at siena.gae.GaePersistenceManager._insertSingle(GaePersistenceManager.java:267)
    at siena.gae.GaePersistenceManager.insert(GaePersistenceManager.java:253)
    at siena.gae.GaePersistenceManager.save(GaePersistenceManager.java:894)
    at siena.Model.save(Model.java:87)
    at MyModelTest.addItem(MyModelTest.java:14)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
    at play.test.PlayJUnitRunner$StartPlay$2$1.evaluate(PlayJUnitRunner.java:98)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at play.test.PlayJUnitRunner.run(PlayJUnitRunner.java:48)
    at org.junit.runners.Suite.runChild(Suite.java:128)
    at org.junit.runners.Suite.runChild(Suite.java:24)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:157)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:136)
    at org.junit.runner.JUnitCore.run(JUnitCore.java:117)
    at play.test.TestEngine.run(TestEngine.java:101)
    at controllers.TestRunner.run(TestRunner.java:67)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at play.mvc.ActionInvoker.invokeWithContinuation(ActionInvoker.java:546)
    at play.mvc.ActionInvoker.invoke(ActionInvoker.java:500)
    at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:476)
    at play.mvc.ActionInvoker.invokeControllerMethod(ActionInvoker.java:471)
    at play.mvc.ActionInvoker.invoke(ActionInvoker.java:159)
    at play.server.PlayHandler$NettyInvocation.execute(PlayHandler.java:220)
    at play.Invoker$Invocation.run(Invoker.java:265)
    at play.server.PlayHandler$NettyInvocation.run(PlayHandler.java:200)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T02:41:11+00:00Added an answer on May 25, 2026 at 2:41 am

    Your problem is not in the model apparently!
    It’s in the configuration of Play+Siena IMO.
    Don’t you have the full stacktrace?

    When you tell you use “implementation = siena.gae.GaePersistenceManager”, it means in a siena.properties file? If yes, remove this file, you don’t need any siena.properties file when using Play as Siena is wired to Play application.conf file.

    Can you show your dependencies.yml and you conf plz?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay. I know this looks like the typical Why didn't he just Google it
Okay,I've been following this tutorial http://coenraets.org/blog/android-samples/androidtutorial/ Basically it gives me exactly what i need
Okay, Now admittedly this sounds like a silly question; But, I actually have a
Okay, so I've known about this for like 600 years now, but I've only
Okay So I know this is super basic and I should know how to
Okay i have this problem with every page i make. im not sure what
Okay, I'll say now that I know very little about Java. I was given
Okay I have spent the last 2 days trying to sort this one out.
Okay so im working on this php image upload system but for some reason
Okay, so this probably sounds terribly nefarious, but I need such capabilities for my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.