Modify

Opened 17 years ago

Last modified 12 years ago

#152 reopened defect

Method with large byte[] argument crashes with NullPointerException

Reported by: Ning Li (nli at uiuc dot edu) Owned by:
Priority: high Milestone:
Component: uka.gm Version:
Severity: critical Keywords:
Cc:

Description

The server-side execution of a method with a large (4096) byte[] argument crashes. The effect is similar to a DGC problem, where a method of a no longer existing object is invoked. The object ID seen by the server is illegal and depends on the contents of the byte array argument. This behavior can only be observed when using the GM transport technology.

Problem

With GM technology writeHugeByteArray() did send the data out of order, because the buffer was not flushed before transmission.

Test

jp.test.TestLargeArgument

fixed since 1.07d.

Attachments (0)

Change History (2)

comment:1 Changed 15 years ago by hauma

  • Milestone 1.07d deleted
  • Priority changed from normal to high
  • Resolution fixed deleted
  • Status changed from closed to reopened

The test case TestLargeArgument still fails in rare cases. Automatic check for revision [2564] went wrong, even if nothing changed except debug messages that were commented out.

test-TestLargeArgument:

check-specialized:

jphome-local:

jphome-user:

init:

call-jpinvite:
     [exec] failure 1: .../log/TestLargeArgument.log: Missing root branch.
     [call] exec returned: 1

comment:2 Changed 12 years ago by anonymous

  • Severity changed from normal to critical

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as reopened The ticket will remain with no owner.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from (none) to the specified user. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.