Bug in Calendar - java.lang.NullPointerException

Description

If i open big view of calendar from widget on new tab, then close this tab and open it again, i get java.lang.NullPointerException. Same bug is on idempiere.demo.com. I attached log and screenshot.

Environment

local+demo.idempiere.com

Attachments

5
  • 24 Oct 2013, 12:19 AM
  • 22 Oct 2013, 08:06 PM
  • 22 Oct 2013, 05:32 PM
  • 21 Oct 2013, 06:21 AM
  • 21 Oct 2013, 06:20 AM

Activity

Show:

Carlos Ruiz October 24, 2013 at 11:39 PM

Hiep, I committed a different fix based on your patch, please check:
https://bitbucket.org/idempiere/idempiere/commits/44054f0
and a fix here because the windows with pending save were being closed:
https://bitbucket.org/idempiere/idempiere/commits/7a7d302

Regards,

Carlos Ruiz

Hiep Lq October 24, 2013 at 12:19 AM

with pack make a issue.
when close a tab (isn't calendar) throw NPE.
I attack pack for fix this issue

Hiep Lq October 22, 2013 at 8:06 PM

I think my below issue isn't a issue. because i don't fix it.
"when open multi calendar window, refresh a calendar window, make all calendar window refresh.
because, make separate "SimpleCalendarModel scm" for calendar window "

When this this issue I detect below problem.
"when setOnCloseHandler in Tabpanel, tab can't close"
to fix this error, i also fix above problem.
if above problem isn't a issue. please point me, how to handle close tab event

Hiep Lq October 22, 2013 at 6:54 PM

change type or make event is not a reason.
reason is by all calendar window use one Model (csm object make in DPCalendar).
when close calendar window. it's not release Model.
for fix error, handle onclose calendar window (I don't know how to handle, will research)

but other issue is exist.
when open multi calendar window, refresh a calendar window, make all calendar window refresh.
because, make separate "SimpleCalendarModel scm" for calendar window (will try)

Tomáš Švikruha October 22, 2013 at 5:39 PM

You have to change type or click on ReQuery...

Fixed

Details

Assignee

Reporter

Components

Priority

Created October 21, 2013 at 6:20 AM
Updated April 6, 2014 at 3:50 PM
Resolved October 23, 2013 at 2:03 PM