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 9077013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:14:22+00:00 2026-06-16T19:14:22+00:00

Today I went to deploy a java application I’ve created up to Google App

  • 0

Today I went to deploy a java application I’ve created up to Google App Engine, and I am being roadblocked by some very unhelpful error messages.

Invocation of init method failed; nested exception is java.lang.SecurityException:
java.lang.IllegalAccessException: Reflection is not allowed on private 
java.lang.Throwable java.lang.Throwable.cause

Followed by a stack-trace that doesn’t mention any of my classes: there is no line of my code I can point to as causing this.

This application uses Objectify and Spring MVC, and works fine on my local development server (App Engine version 1.7.4).

I’ve gone through my code and removed any mention of “cause” from any of the exception classes I use. I still have this problem. Also, there is only one type of Exception my controllers can throw, and this again makes no mention of cause.

Any ideas?

P.S. I found this discussion, but wasnt very informative.

  • 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-06-16T19:14:23+00:00Added an answer on June 16, 2026 at 7:14 pm

    In case anyone else comes across similar problems, they have something to do with the code running under sandbox security restrictions when on the appengine servers, but without such restrictions when running on a local development server.

    The sandbox restrictions don’t allow reflection on private variables.

    In my case, I was using Gson for serialization, which uses reflection heavily in ways that are difficult to debug. I still have no idea where or why it was trying to perform reflection on the Throwable thingie it talks about in the stack trace. Regardless, all of my problems went away when I switched to using Jackson instead.

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

Sidebar

Related Questions

So, today i went back to some old methods in my application that i
today I started working with DirectX(D3D9), everything went fine until I created a Static-mesh
This is 'sorta' urgent since my app just went live today. My app works
I am trying to understand some code we went over today in class where
I went to SDK manager today and found google has released GCM update verison
I created a database named auth yesterday in mysql. Today, I went to access
I'm working with the new Task Parallel Library and today went to this case:
Today, I went for an interview and the interviewer asked me how I would
I installed the beta 2 of Visual Studio 2010 today. I went to test
I am new with wordpress. I have started learning wordpress from today. I went

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.