Re: [google-appengine] using java.text.Bidi crashes appengine instance (error 202 in log)

42 views
Skip to first unread message

Takashi Matsuo

unread,
Jun 25, 2012, 1:19:08 PM6/25/12
to google-a...@googlegroups.com
Hi rp,

The log indicates that the code tried to make a system call which is
not allowed in the app engine runtime.
Can you file an issue on our issue tracker?

-- Takashi

On Sun, Jun 24, 2012 at 2:10 PM, rp1970 <ron....@gmail.com> wrote:
>
> Hi,
>
> I am experiencing a constant crash when inserting the below code into any
> call:
> Bidi bidi = new Bidi("some string", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT);
> int runs = bidi.getRunCount();
> int base = bidi.getBaseLevel();
>
> the code as is is of course not usable, this is just the simplest code I
> found to crash my servlet. Crash happens only on the deployed environment;
> when I run locally my (full) Bidi code works fine.
>  I am using the latest SDK 1.6.6, so the problem is not there I guess(?) The
> logging on the server shows:
>
> A problem was encountered with the process that handled this request,
> causing it to exit. This is likely to cause a new process to be used for the
> next request to your application. (Error code 202)
>
>
> Any suggestions from any one? Let me know if any more info is needed
> Thanks
> rp
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-appengine/-/jey28DC27VoJ.
> To post to this group, send email to google-a...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengi...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.



--
Takashi Matsuo | Developer Advocate | tma...@google.com

rp1970

unread,
Jun 27, 2012, 12:43:56 AM6/27/12
to google-a...@googlegroups.com
Hi Takashi,

Thanks for the quick reply! I will file an issue, to make it easier I will simulate first with a completely clean app. Let me know if this is not needed.

Thanks
rp


On Monday, June 25, 2012 8:19:08 PM UTC+3, Takashi Matsuo (Google) wrote:
Hi rp,

The log indicates that the code tried to make a system call which is
not allowed in the app engine runtime.
Can you file an issue on our issue tracker?

-- Takashi

On Sun, Jun 24, 2012 at 2:10 PM, rp1970  wrote:
>
> Hi,
>
> I am experiencing a constant crash when inserting the below code into any
> call:
> Bidi bidi = new Bidi("some string", Bidi.DIRECTION_DEFAULT_RIGHT_TO_LEFT);
> int runs = bidi.getRunCount();
> int base = bidi.getBaseLevel();
>
> the code as is is of course not usable, this is just the simplest code I
> found to crash my servlet. Crash happens only on the deployed environment;
> when I run locally my (full) Bidi code works fine.
>  I am using the latest SDK 1.6.6, so the problem is not there I guess(?) The
> logging on the server shows:
>
> A problem was encountered with the process that handled this request,
> causing it to exit. This is likely to cause a new process to be used for the
> next request to your application. (Error code 202)
>
>
> Any suggestions from any one? Let me know if any more info is needed
> Thanks
> rp
>


--

Takashi Matsuo

unread,
Jun 27, 2012, 1:47:26 AM6/27/12
to google-a...@googlegroups.com


Hi rp,

Thanks! It's always helpful for us if you create an issue with a minimal code for repro.

-- Takashi

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/0H9rm_NN2I4J.

Ron Peleg

unread,
Jun 30, 2012, 10:12:41 AM6/30/12
to google-a...@googlegroups.com, Ron Peleg
Hi Takashi

My apologies, for some reason I cannot find where to log a new appengine bug...
If you can direct my I will open the new issue. 

In the meanwhile - here is also the minimal code to reproduce:
  1. Create a new appengine 1.6.6 app with sample code in eclipse
  2. Replace the servlet doGet code with this:
    1. Bidi bidi = new Bidi("test string", Bidi.DIRECTION_RIGHT_TO_LEFT);
    2. resp.setContentType("text/plain");
    3. resp.getWriter().println("Hello, bidi crash");
  3. The line with the '... new Bidi ...' crashes app engine.

Best regards, 
Ron

Ron Peleg

unread,
Jun 30, 2012, 10:13:34 AM6/30/12
to google-a...@googlegroups.com, Ron Peleg (Creo)
Forgot to mention - this will only crash when you deploy. Running locally works fine.
Cheers
R

Takashi Matsuo

unread,
Jun 30, 2012, 10:15:31 AM6/30/12
to google-a...@googlegroups.com, Ron Peleg (Creo)
Please file a new issue at:
http://code.google.com/p/googleappengine/issues

-- Takashi
--
Takashi Matsuo

Ron Peleg (gmail)

unread,
Jun 30, 2012, 2:44:27 PM6/30/12
to google-a...@googlegroups.com, google-a...@googlegroups.com, Ron Peleg (Creo)
Thanks opened 7784

Cheers
R

ב-30 ביונ 2012, בשעה 17:15, Takashi Matsuo <tma...@google.com> כתב/ה:

Reply all
Reply to author
Forward
0 new messages