java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • update failed for AnAction with ID=ThePlugin.JiraIssues.GroupByCombo java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291) at java.util.regex.Matcher.<init>(Matcher.java:211) at java.util.regex.Pattern.matcher(Pattern.java:888) at com.atlassian.theplugin.idea.jira.Html2text.translate(Html2text.java:35) at com.atlassian.theplugin.idea.jira.tree.JIRAIssueTreeNode.buildTolltip(JIRAIssueTreeNode.java:203) at com.atlassian.theplugin.idea.jira.tree.JIRAIssueTreeNode.access$200(JIRAIssueTreeNode.java:19) at com.atlassian.theplugin.idea.jira.tree.JIRAIssueTreeNode$RendererPanel.<init>(JIRAIssueTreeNode.java:129) at com.atlassian.theplugin.idea.jira.tree.JIRAIssueTreeNode$RendererPanel.<init>(JIRAIssueTreeNode.java:36) at com.atlassian.theplugin.idea.jira.tree.JIRAIssueTreeNode.<init>(JIRAIssueTreeNode.java:33) at com.atlassian.theplugin.idea.jira.tree.JIRAIssueTreeBuilder.rebuild(JIRAIssueTreeBuilder.java:110) at com.atlassian.theplugin.idea.jira.IssuesToolWindowPanel.setGroupBy(IssuesToolWindowPanel.java:723) at com.atlassian.theplugin.idea.action.issues.GroupByAction$1.actionPerformed(GroupByAction.java:33) at javax.swing.JComboBox.fireActionEvent(JComboBox.java:1240) at javax.swing.JComboBox.setSelectedItem(JComboBox.java:567) at com.atlassian.theplugin.idea.action.issues.GroupByAction.onUpdate(GroupByAction.java:64) at com.atlassian.theplugin.idea.action.issues.JIRAAbstractAction.update(JIRAAbstractAction.java:26) at com.intellij.openapi.actionSystem.impl.Utils.a(Utils.java:72) at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroup(Utils.java:42) at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:286) at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$MyTimerListener.run(ActionToolbarImpl.java:9) at com.intellij.openapi.actionSystem.impl.WeakTimerListener.run(WeakTimerListener.java:2) at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.a(ActionManagerImpl.java:8) at com.intellij.openapi.actionSystem.impl.ActionManagerImpl$MyTimer.actionPerformed(ActionManagerImpl.java:6) at javax.swing.Timer.fireActionPerformed(Timer.java:271) at javax.swing.Timer$DoPostEvent.run(Timer.java:201) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at com.intellij.ide.IdeEventQueue.c(IdeEventQueue.java:35) at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:99) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:217) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) update failed for AnAction with ID=ThePlugin.JiraIssues.GroupByCombo java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291)
    via by Matthew Stahl,
  • Every time I try to autheticate I receive the message: "Incorrect username, password or no permission to use the Nexus User Interface. Try again.". But, my configurations were ok. And my user and password are ok too. Follow my Nexus LDAP configuration: CONNECTION Protocol: ldap Hostname: localhost Port: 389 Base Search: dc=mycompany,dc=com AUTHENTICATION Authetication Method: Anonymous Authentication SASL Realm: <none> Username: <none> Password: <none> USER ELEMENT MAPPING Base DN: ou=People User Subtree: <unchecked> Object Class: inetOrgPerson User ID Attribute: uid Real Name Attribute: cn E-Mail Attribute: mail Password Attribute: userPassword Password Encoding: Crypt GROUP ELEMENT MAPPING Group Type: Static Groups Base DN: ou=ci,ou=Groups Group Subtree: <checked> Object Class: groupOfUniqueNames Group ID Attribute: cn Group Member Attribute: uniqueMember Group Member Format: cn=${username},ou=People,dc=mycompany,dc=com When I click in the button "Check User Mapping", I get the follow configuration: USER ID morgany.mendes NAME Morgany EMAIL morgany.mendes@mycompany.com ROLES: developer, deployment, ..., admin Than I saw the log file: 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.a.FirstSucces~ - Iterating through [3] realms for PAM authentication 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.a.FirstSucces~ - Attempting to authenticate token [org.jsecurity.authc.UsernamePasswordToken - morgany.mendes, rememberMe=false (/10.11.27.8)] using realm of type [org.sonatype.security.realms.XmlAuthenticatingRealm@ec0874] 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.a.FirstSucces~ - Realm of type [org.sonatype.security.realms.XmlAuthorizingRealm@1e3bfb1] does not support token [org.jsecurity.authc.UsernamePasswordToken - morgany.mendes, rememberMe=false (/10.11.27.8)]. Skipping realm. 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.a.FirstSucces~ - Attempting to authenticate token [org.jsecurity.authc.UsernamePasswordToken - morgany.mendes, rememberMe=false (/10.11.27.8)] using realm of type [org.sonatype.nexus.security.ldap.realms.NexusLdapAuthenticationRealm@576b10] 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.l.r.DefaultLd~ - Initializing LDAP context using URL [ldap://localhost:389/dc=mycompany,dc=com] and username [null] with pooling [enabled] 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.l.d.LdapUserD~:default - Searching for user: morgany.mendes 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.l.d.LdapUserD~:default - Searching for users with filter: '(&(objectClass=inetOrgPerson)(uid=morgany.mendes))' 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.l.d.LdapGroup~:default - Searching for group membership of: morgany.mendes in group DN: ou=ci,ou=Groups Using filter: '(&(objectClass=groupOfUniqueNames) (&(cn=*) (isUniqueMember=cn=morgany.mendes,ou=People,dc=mycompany,dc=com)))' 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.s.l.r.c.Default~ - No roles found for user: morgany.mendes 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.n.s.l.r.Default~ - Failed to find user: morgany.mendes java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291) .... 2010-04-08 14:37:48 DEBUG [d-pool-8080-(1)] - o.s.n.s.f.a.NexusSe~ - Unable to authenticate user [morgany.mendes] from IP Address 10.11.27.8 First I thought it was because user don't have privilegies to read userPassword attribute. Than, I tested the filter printed in the information above: This work: (&(objectClass=inetOrgPerson)(uid=morgany.mendes)) This do not work: (&(objectClass=groupOfUniqueNames) (&(cn=*) (uniqueMember=cn=morgany.mendes,ou=People,dc=mycompany,dc=com))) ^ ^ If I change the filter to the follow filter, removing the spaces, between de expressions, than, work: (&(objectClass=groupOfUniqueNames)(&(cn=*)(uniqueMember=cn=morgany.mendes,ou=People,dc=mycompany,dc=com))) OpenDS do not accept spaces between expressions.
    via by Morgany Vieira Mendes,
  • NullpointerException Matcher
    via Stack Overflow by Lalson
    ,
  • Decrption: Unable to start the activity
    via Stack Overflow by Devesh Garg
    ,
  • extjs5: sencha app upgrade fails
    via Stack Overflow by Kat
    ,
    • java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291)

    Users with the same issue

    tvrmsmith
    4 times, last one,
    odd
    2 times, last one,
    stigkj
    6 times, last one,
    rp
    5 times, last one,
    Dunmer
    1 times, last one,
    19 more bugmates