[JBoss JIRA] (GTNPORTAL-3475) NPE in LinkedList$ListItr.next when iterating over UIGroupMembershipSelect.getListMemberhip()
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3475?page=com.atlassian.jira.pl... ]
Peter Palaga commented on GTNPORTAL-3475:
-----------------------------------------
Update:
The issue is reproducible only in Chrome. It is easy to reproduce it every time with a breakpoint in {{UIGroupMembershipSelector.processRender()}} there are two threads stopping at that breakpoint when working with Chrome.
Chrome sends two subsequent requests that look almost identical:
{code:none}
http://127.0.0.1:8180/portal/g/:platform:administrators/administration/re...
http://127.0.0.1:8180/portal/g/:platform:administrators/administration/re...
{code}
> NPE in LinkedList$ListItr.next when iterating over UIGroupMembershipSelect.getListMemberhip()
> ---------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3475
> URL: https://issues.jboss.org/browse/GTNPORTAL-3475
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Attachments: GTNPORTAL-3475.log
>
>
> Looks like a concurrent modification of the {{LinkedList}} refered to by {{UIGroupMembershipSelect.listMemberhip}}, because:
> i. It is not always reproducible, the NPE occurs roughly once per 10 attempts.
> ii. It happens on line {{next = next.next}} of the JRE's {{LinkedList.ListItr}} where it is hard to thing of anything else than concurrent modification as a cause.
> Steps to reproduce:
> (1) Start clean Portal instance for the first time
> (2) Go to Application Registry
> (3) Import Applications
> Not OK: There is an NPE logged (the whole log is attached):
> {code:none}
> Caused by: java.lang.NullPointerException
> at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_55]
> at UIGroupMembershipSelector.run(UIGroupMembershipSelector.gtmpl:20) at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
> at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:115) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
> {code}
> Expected: No NPE
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (GTNPORTAL-3475) NPE in LinkedList$ListItr.next when iterating over UIGroupMembershipSelect.getListMemberhip()
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3475?page=com.atlassian.jira.pl... ]
Peter Palaga updated GTNPORTAL-3475:
------------------------------------
Description:
Looks like a concurrent modification of the {{LinkedList}} refered to by {{UIGroupMembershipSelect.listMemberhip}}, because:
i. It is not always reproducible, the NPE occurs roughly once per 10 attempts.
ii. It happens on line {{next = next.next}} of the JRE's {{LinkedList.ListItr}} where it is hard to thing of anything else than concurrent modification as a cause.
Steps to reproduce:
(1) Start clean Portal instance for the first time
(2) Go to Application Registry
(3) Import Applications
Not OK: There is an NPE logged (the whole log is attached):
{code:none}
Caused by: java.lang.NullPointerException
at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_55]
at UIGroupMembershipSelector.run(UIGroupMembershipSelector.gtmpl:20) at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:115) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
{code}
Expected: No NPE
was:
Looks like a concurrent modification of the {{LinkedList}} refered to by {{UIGroupMembershipSelect.listMemberhip}}, because:
i. It is not always reproducible, the NPE occurs roughly once per 10 attempts.
ii. It happens on line {{next = next.next}} of the JRE's {{LinkedList.ListItr}} where it is hard to thing of anything else than concurrent modification as a cause.
Steps to reproduce:
(1) Start clean Portal instance for the first time
(2) Go to Application Registry
(3) Import Applications
Not OK: There is an NPE logged (the whole log is attached):
{code:plain}
Caused by: java.lang.NullPointerException
at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_55]
at UIGroupMembershipSelector.run(UIGroupMembershipSelector.gtmpl:20) at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:115) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
{code}
Expected: No NPE
> NPE in LinkedList$ListItr.next when iterating over UIGroupMembershipSelect.getListMemberhip()
> ---------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3475
> URL: https://issues.jboss.org/browse/GTNPORTAL-3475
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Attachments: GTNPORTAL-3475.log
>
>
> Looks like a concurrent modification of the {{LinkedList}} refered to by {{UIGroupMembershipSelect.listMemberhip}}, because:
> i. It is not always reproducible, the NPE occurs roughly once per 10 attempts.
> ii. It happens on line {{next = next.next}} of the JRE's {{LinkedList.ListItr}} where it is hard to thing of anything else than concurrent modification as a cause.
> Steps to reproduce:
> (1) Start clean Portal instance for the first time
> (2) Go to Application Registry
> (3) Import Applications
> Not OK: There is an NPE logged (the whole log is attached):
> {code:none}
> Caused by: java.lang.NullPointerException
> at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_55]
> at UIGroupMembershipSelector.run(UIGroupMembershipSelector.gtmpl:20) at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
> at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:115) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
> {code}
> Expected: No NPE
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (GTNPORTAL-3475) NPE in LinkedList$ListItr.next when iterating over UIGroupMembershipSelect.getListMemberhip()
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3475?page=com.atlassian.jira.pl... ]
RH Bugzilla Integration commented on GTNPORTAL-3475:
----------------------------------------------------
Boleslaw Dawidowicz <bdawidow(a)redhat.com> changed the Status of [bug 1096190|https://bugzilla.redhat.com/show_bug.cgi?id=1096190] from NEW to ASSIGNED
> NPE in LinkedList$ListItr.next when iterating over UIGroupMembershipSelect.getListMemberhip()
> ---------------------------------------------------------------------------------------------
>
> Key: GTNPORTAL-3475
> URL: https://issues.jboss.org/browse/GTNPORTAL-3475
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Peter Palaga
> Attachments: GTNPORTAL-3475.log
>
>
> Looks like a concurrent modification of the {{LinkedList}} refered to by {{UIGroupMembershipSelect.listMemberhip}}, because:
> i. It is not always reproducible, the NPE occurs roughly once per 10 attempts.
> ii. It happens on line {{next = next.next}} of the JRE's {{LinkedList.ListItr}} where it is hard to thing of anything else than concurrent modification as a cause.
> Steps to reproduce:
> (1) Start clean Portal instance for the first time
> (2) Go to Application Registry
> (3) Import Applications
> Not OK: There is an NPE logged (the whole log is attached):
> {code:plain}
> Caused by: java.lang.NullPointerException
> at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_55]
> at UIGroupMembershipSelector.run(UIGroupMembershipSelector.gtmpl:20) at org.exoplatform.groovyscript.GroovyScript.render(GroovyScript.java:99) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
> at org.exoplatform.groovyscript.GroovyTemplate.render(GroovyTemplate.java:115) [exo.portal.component.scripting-3.8.0.Beta02-SNAPSHOT.jar:3.8.0.Beta02-SNAPSHOT]
> {code}
> Expected: No NPE
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (GTNPORTAL-3479) Errors importing GateIn Portal projects in Eclipse
by Peter Palaga (JIRA)
[ https://issues.jboss.org/browse/GTNPORTAL-3479?page=com.atlassian.jira.pl... ]
Peter Palaga updated GTNPORTAL-3479:
------------------------------------
Assignee: Juraci Paixão Kröhling
> Errors importing GateIn Portal projects in Eclipse
> --------------------------------------------------
>
> Key: GTNPORTAL-3479
> URL: https://issues.jboss.org/browse/GTNPORTAL-3479
> Project: GateIn Portal
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Common integration
> Environment: - Fedora 20
> - OpenJDK 1.7.0_51 (latest from Fedora 20)
> - JBoss Developer Studio 8.0.0.Beta1 (Beta1-v20140408-2350-B93)
> Reporter: Juraci Paixão Kröhling
> Assignee: Juraci Paixão Kröhling
>
> When trying to import "GateIn Portal" as an "Existing Maven Project" in JBoss Developer Studio Beta with EAP, I see an error dialog with two messages:
> - "JBoss Core Portlet 2.0 requires Java 1.5 or newer"
> - "JBoss Core Portlet 2.0 requires Dynamic Web Module 2.5 or newer"
> Steps to reproduce:
> - Install JBoss Developer Studio with EAP
> - Import "Existing Maven Project", selecting the root of the GateIn clone (ex: https://github.com/jpkrohling/gatein-portal)
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months