Notification
 
 
Error - java.lang.NullPointerException

An Error Occurred:

java.lang.NullPointerException

+ Stack Trace

java.lang.NullPointerException

+ Component Tree

<UIViewRootBridgeImpl id="A5444" inView="true" locale="vi_VN" renderKitId="HTML_BASIC" rendered="true" transient="false" viewId="/xhtml/Notification/Notification.xhtml">
<UIOutput id="j_idt2" inView="true" rendered="true" transient="false"/>
<UIOutput id="j_idt9" inView="true" rendered="true" transient="false">
<div class="p-notification"> <div class="p-notify"> <div class="p-notify-header"> <div class="p-notify-name">Thông báo</div> <div class="p-notify-config" title="Cấu hình"/> <div class="p-notify-markallread" title="Đánh dấu tất cả là đã đọc"/> </div> <div class="p-notify-content"> <div class="p-notify-scroll"> </div> </div> </div> </div>
<Panel closable="false" closeSpeed="1000" collapsed="false" id="quanLyDuAn" inView="true" rendered="true" toggleSpeed="1000" toggleable="false" transient="false" visible="true">
<HtmlForm enctype="application/x-www-form-urlencoded" id="frmThongBao" inView="true" prependId="true" rendered="false" submitted="false" transient="false">
start
<p:graphicImage value="../resources/images/ajax-loader.gif" alt="Đang tải dữ liệu..." title="Đang tải dữ liệu..."/>
complete
<HtmlOutputText escape="true" id="_t47" inView="true" rendered="true" transient="false" value=""/>
<style> .btnCapNhatCauHinh .ui-icon{ border-radius: 0px !important; } </style>
<HtmlSelectBooleanCheckbox disabled="false" id="_t17" immediate="false" inView="true" localValueSet="false" readonly="false" rendered="true" required="false" selected="false" style="display:none" styleClass="allChon" transient="false" valid="true"/>
<Dialog closable="true" closeOnEscape="true" dialogPosition="center" draggable="true" header="Cấu hình nhận thông báo" height="-2147483648" id="j_idt22" inView="true" minHeight="0" minWidth="150" modal="true" onShow="precheck('checkNhanThongBao', 'precheckNhanThongBao', 'allChon'); setTooltipCloseDialog(); " relativePosition="center" rendered="true" resizable="true" showHeader="true" transient="false" visible="false" widgetVar="dlgCauHinhThongBao" width="700" zindex="1000">
<DataTable clickableHeaderSorting="true" columnPinning="false" columnPinningControlsInHeader="false" constantRefilter="false" disabled="false" doubleClickSelect="false" emptyMessage="Không tìm thấy dữ liệu." filterEvent="change" first="0" forcedUpdateCounter="0" groupedFilterResults="false" id="j_idt25" inView="true" lazy="false" liveScroll="false" model="javax.faces.model.ListDataModel@2df57b73" page="0" pageCount="10" paginator="false" paginatorAlwaysVisible="false" paginatorPosition="both" rendered="true" reorderableColumns="false" resizableColumns="false" rowIndex="-1" rowIndexVar="rowIndex" rowStatePreserved="false" rowStateVar="rowState" rows="0" scrollHeight="100" scrollable="false" singleSort="false" style="width: 100%;" styleClass="iso_dataTable" tabIndex="0" transient="false" var="item">
<Column colspan="1" configurable="true" currGroupLength="0" filterMatchMode="startsWith" headerText="STT" id="j_idt26" inView="true" oddGroup="false" rendered="true" reorderable="true" rowspan="1" stacked="false" style="text-align: center; width: 7%;" transient="false">
#{rowIndex+1}
</Column>
<Column colspan="1" configurable="true" currGroupLength="0" filterMatchMode="startsWith" headerText="Nội dung thông báo" id="j_idt30" inView="true" oddGroup="false" rendered="true" reorderable="true" rowspan="1" stacked="false" style="width: 45%; text-align:left" transient="false">
<HtmlOutputText escape="false" id="_t33" inView="true" rendered="true" transient="false"/>
</Column>
<Column colspan="1" configurable="true" currGroupLength="0" filterMatchMode="startsWith" headerText="Diễn giải" id="j_idt34" inView="true" oddGroup="false" rendered="true" reorderable="true" rowspan="1" stacked="false" style="width: 40%;" transient="false">
<HtmlOutputText escape="false" id="_t35" inView="true" rendered="true" transient="false"/>
</Column>
<Column colspan="1" configurable="true" currGroupLength="0" filterMatchMode="startsWith" headerText="Chọn" id="j_idt36" inView="true" oddGroup="false" rendered="true" reorderable="true" rowspan="1" stacked="false" style="text-align: center; width: 8%;" transient="false">
<HtmlSelectBooleanCheckbox disabled="false" id="_t37" immediate="false" inView="true" localValueSet="false" readonly="false" rendered="true" required="false" selected="false" styleClass="checkNhanThongBao" transient="false" valid="true" value="false"/>
<span class="precheck precheckNhanThongBao">#{item.config_nhanthongbao}</span>
</Column>
</DataTable>
<div align="center" class="btnCapNhatCauHinh" style="margin: 5px 0 ">
<HtmlCommandButton disabled="false" id="_t41" immediate="false" inView="true" readonly="false" rendered="true" styleClass="cmd_capnhat_luu" title="Cập nhật" transient="false" type="submit" value="Cập nhật"/>
<HtmlCommandButton disabled="false" id="_t42" immediate="false" inView="true" readonly="false" rendered="true" styleClass="cmd_huybo" title="Đóng" transient="false" type="submit" value="Đóng"/>
</div>
</Dialog>
<script type="text/javascript"> function showSpinner(){ $('div[id$=":spinner"]').css('display', 'block'); } function hideSpinner(){ $('div[id$=":spinner"]').css('display', 'none'); } </script> <p:ajaxStatus onstart="showSpinner();" oncomplete="hideSpinner();" id="spinner" styleClass="spinner">
</p:ajaxStatus>
</HtmlForm>
<script type="text/javascript"> if(typeof String.prototype.trim !== 'function') { String.prototype.trim = function() { return this.replace(/^\s+|\s+$/g, ''); }; } /*********************CONFIG*************************/ var portletName = "notification-portlet"; var useridConfig = #{NotificationBean.userid}; var coQuyen = #{NotificationBean.coquyen}; var orgId = #{NotificationBean.orgId} /*********************CONFIG*************************/ //var newJQuery = jQuery.noConflict(true), $(function(){ var soThongBaoMoi = #{NotificationBean.soThongBaoMoi}; if(soThongBaoMoi==0){ $('.numberNotify').hide(); }else{ $('.numberNotify').html(soThongBaoMoi); $('.iconNotify').addClass('iconNotifyActive'); } $(document).on('click', function(e){ //$('.p-notification').slideUp(200); //$('.p-notification').animate({right: '-300px' }, 300 ).hide(0); $('.p-notification').removeClass('show'); if($(".numberNotify").length > 0){ var counter = $(".numberNotify").html().trim(); if(counter==0){//Nếu số thông báo = 0 thì ẩn trạng thái thông báo mới $('.iconNotify').removeClass('iconNotifyActive'); } } }); $(document).on('click','.p-notification, .nav-notify', function(e){ e.stopPropagation(); }); }); </script> <script type="text/javascript" src="/notification-portlet/resources/js/common.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/cometd-namespace.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/cometd-json.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/AckExtension.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/TransportRegistry.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/Transport.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/RequestTransport.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/WebSocketTransport.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/CallbackPollingTransport.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/LongPollingTransport.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/Utils.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/Cometd.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/jquery.cometd.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/push/application.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/toastr.min.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/timeago.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/scroll/jquery.mCustomScrollbar.concat.min.js"/> <script type="text/javascript" src="/notification-portlet/resources/js/loadding.js"/>
</Panel>
</UIOutput>
</UIViewRootBridgeImpl>

+ Scoped Variables

Request Parameters
NameValue
None
View Attributes
NameValue
NotificationBeancom.cusc.notify.bean.NotificationBean@3b6a89ca
Request Attributes
NameValue
INVOKER_FILTER_URI/Notification/invoke
LIFERAY_SHARED_AUI_SCRIPT_DATAcom.liferay.portal.kernel.servlet.taglib.aui.ScriptData@15bc972e
LIFERAY_SHARED_RUNTIME_PORTLET_IDS[103]
PORTLET_IDNotification_WAR_notificationportlet
Flash Attributes
NameValue
None
Session Attributes
NameValue
None
Application Attributes
NameValue
CLP_MESSAGE_LISTENERS[]
PLUGIN_CLASS_LOADERWebappClassLoader context: /notification-portlet delegate: false repositories: /WEB-INF/classes/ ----------> Parent Classloader: org.apache.catalina.loader.StandardClassLoader@433c675d
_Notification_WAR_notificationportlet_p_p_col_count2
_Notification_WAR_notificationportlet_p_p_col_idcolumn-1
_Notification_WAR_notificationportlet_p_p_col_pos0
_Notification_WAR_notificationportlet_p_p_modeview
_Notification_WAR_notificationportlet_p_p_statenormal
auxUploadorg.icefaces.impl.application.AuxUploadSetup@2390c3ae
csfcffcom.sun.faces.context.flash.ELFlash@f0b4b0f
extFacesContextcom.liferay.faces.util.context.ExtFacesContextImpl@3dffe38f
fileEntryLoaderorg.icefaces.ace.component.fileentry.FileEntryLoader@2ddb63e0
liferayFacesContextcom.liferay.faces.portal.context.LiferayFacesContextImpl@217fbaa
May 4, 2024 9:34:58 PM - Generated by Mojarra/Facelets