Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id EE957200C78 for ; Thu, 18 May 2017 16:04:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id ECEDB160BB0; Thu, 18 May 2017 14:04:10 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 17F56160BA7 for ; Thu, 18 May 2017 16:04:09 +0200 (CEST) Received: (qmail 73293 invoked by uid 500); 18 May 2017 14:04:07 -0000 Mailing-List: contact commits-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list commits@cayenne.apache.org Received: (qmail 73284 invoked by uid 99); 18 May 2017 14:04:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2017 14:04:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id BFBEECD8EE for ; Thu, 18 May 2017 14:04:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 4LN2Luvvys2a for ; Thu, 18 May 2017 14:04:05 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 452E85F476 for ; Thu, 18 May 2017 14:04:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 7CE2BE07E1 for ; Thu, 18 May 2017 14:04:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1A788263A6 for ; Thu, 18 May 2017 14:04:04 +0000 (UTC) Date: Thu, 18 May 2017 14:04:04 +0000 (UTC) From: "Yury Harachka (JIRA)" To: commits@cayenne.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CAY-2229) Search throws NPE MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 18 May 2017 14:04:11 -0000 [ https://issues.apache.org/jira/browse/CAY-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16015786#comment-16015786 ] Yury Harachka commented on CAY-2229: ------------------------------------ [~ntimofeev] Search does not work in the version 4.0.M6-SNAPSHOT (May 10, 2017) Exception: {code}18.05.2017 16:52:39 ERROR: CayenneModeler Error java.lang.NoSuchMethodError: org.apache.cayenne.modeler.util.CellRenderers.iconForObject(Ljava/lang/Object;)Ljavax/swing/ImageIcon; at org.apache.cayenne.modeler.dialog.FindDialogView.convertToDataVector(FindDialogView.java:91) at org.apache.cayenne.modeler.dialog.FindDialogView.(FindDialogView.java:60) at org.apache.cayenne.modeler.dialog.FindDialog.(FindDialog.java:49) at org.apache.cayenne.modeler.action.FindAction.performAction(FindAction.java:122) at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:163) at javax.swing.JTextField.fireActionPerformed(Unknown Source) at javax.swing.JTextField.postActionEvent(Unknown Source) at javax.swing.JTextField$NotifyAction.actionPerformed(Unknown Source) at javax.swing.SwingUtilities.notifyAction(Unknown Source) at javax.swing.JComponent.processKeyBinding(Unknown Source) at javax.swing.JComponent.processKeyBindings(Unknown Source) at javax.swing.JComponent.processKeyEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source) at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source) at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) {code} > Search throws NPE > ----------------- > > Key: CAY-2229 > URL: https://issues.apache.org/jira/browse/CAY-2229 > Project: Cayenne > Issue Type: Bug > Components: Modeler > Affects Versions: 4.0.M5 > Reporter: ana benko > Assignee: Nikita Timofeev > Attachments: datamap.map.xml, Msearch.png > > > 1. Reengineer db, Save. > 2. Search any of the existing values in db or obj entities (works ok if no matches) > -> popup error appears > CayenneModeler Info > Version: 4.0.M5-SNAPSHOT > Build Date: Feb 15 2017 07:32:14 > Exception: > ================================= > java.lang.NullPointerException > at org.apache.cayenne.modeler.action.FindAction$SearchResultEntry.compareTo(FindAction.java:355) > at org.apache.cayenne.modeler.action.FindAction$SearchResultEntry.compareTo(FindAction.java:320) > at java.util.ComparableTimSort.countRunAndMakeAscending(ComparableTimSort.java:320) > at java.util.ComparableTimSort.sort(ComparableTimSort.java:188) > at java.util.Arrays.sort(Arrays.java:1312) > at java.util.Arrays.sort(Arrays.java:1506) > at java.util.ArrayList.sort(ArrayList.java:1454) > at java.util.Collections.sort(Collections.java:141) > at org.apache.cayenne.modeler.action.FindAction.search(FindAction.java:146) > at org.apache.cayenne.modeler.action.FindAction.performAction(FindAction.java:102) > at org.apache.cayenne.modeler.util.CayenneAction.actionPerformed(CayenneAction.java:162) > at javax.swing.JTextField.fireActionPerformed(JTextField.java:508) > at javax.swing.JTextField.postActionEvent(JTextField.java:721) > at javax.swing.JTextField$NotifyAction.actionPerformed(JTextField.java:836) > at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1663) > at javax.swing.JComponent.processKeyBinding(JComponent.java:2882) > at javax.swing.JComponent.processKeyBindings(JComponent.java:2929) > at javax.swing.JComponent.processKeyEvent(JComponent.java:2845) > at java.awt.Component.processEvent(Component.java:6310) > at java.awt.Container.processEvent(Container.java:2236) > at java.awt.Component.dispatchEventImpl(Component.java:4889) > at java.awt.Container.dispatchEventImpl(Container.java:2294) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1954) > at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:806) > at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1074) > at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:945) > at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:771) > at java.awt.Component.dispatchEventImpl(Component.java:4760) > at java.awt.Container.dispatchEventImpl(Container.java:2294) > at java.awt.Window.dispatchEventImpl(Window.java:2746) > at java.awt.Component.dispatchEvent(Component.java:4711) > at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) > at java.awt.EventQueue.access$500(EventQueue.java:97) > at java.awt.EventQueue$3.run(EventQueue.java:709) > at java.awt.EventQueue$3.run(EventQueue.java:703) > at java.security.AccessController.doPrivileged(Native Method) > at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) > at java.awt.EventQueue$4.run(EventQueue.java:731) > at java.awt.EventQueue$4.run(EventQueue.java:729) > at java.security.AccessController.doPrivileged(Native Method) > at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) > at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) > at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) > at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) > at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) -- This message was sent by Atlassian JIRA (v6.3.15#6346)