Skip to content

NPE when Partition filter is subfilter #2534

Closed
@mbastian

Description

Ways to reproduce:

  • Create ego network filter
  • Drag a partition filter as subfilter
java.lang.NullPointerException
	at org.gephi.appearance.AttributePartitionImpl.getIndex(AttributePartitionImpl.java:70)
	at org.gephi.appearance.AttributePartitionImpl.getValues(AttributePartitionImpl.java:75)
	at org.gephi.appearance.PartitionImpl.getSortedValues(PartitionImpl.java:91)
	at org.gephi.ui.filters.plugin.partition.PartitionPanel.refresh(PartitionPanel.java:189)
	at org.gephi.ui.filters.plugin.partition.PartitionPanel.setup(PartitionPanel.java:180)
	at org.gephi.ui.filters.plugin.partition.PartitionUIImpl.getPanel(PartitionUIImpl.java:59)
	at org.gephi.filters.plugin.partition.PartitionBuilder$PartitionFilterBuilder.getPanel(PartitionBuilder.java:167)
[catch] at org.gephi.desktop.filters.FilterPanelPanel$1.run(FilterPanelPanel.java:121)
	at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
	at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions