Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #9997 (closed)

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

Bug: Refreshing the tree results in -1 for getGroupId() on ImporterModel

Reported by: sylittlewood Owned by: jburel
Priority: major Milestone: OMERO-4.4.7
Component: Insight Version: n.a.
Keywords: n.a. Cc: jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2012-12-18 (3)

Description

Refreshing the tre hierarchy in Insight results in -1 being returned for the function getGroupId() in ImporterModel?. The error is produced in ImporterComponent?.setContainer(...)

This results in a crash as the ImportDialog? / LocationDialog? expect it to be a valid group id.

Change History (7)

comment:1 Changed 11 years ago by sylittlewood

Just notcied that it occurs when I select to show another group. -1 is being broadcast via the same stack.

Thread [AWT-EventQueue-0] (Suspended (breakpoint at line 1064 in LocationDialog))	
	LocationDialog.onReconnected(Collection<GroupData>, long) line: 1064	
	LocationDialog.reset(TreeImageDisplay, int, Collection<TreeImageDisplay>, long) line: 1052	
	ImportDialog.reset(TreeImageDisplay, Collection<TreeImageDisplay>, int, boolean, long) line: 1500	
	ImportDialog.reset(Collection<TreeImageDisplay>, int, long) line: 1428	
	ImporterComponent.setContainers(Collection, boolean, boolean, int) line: 582	
	ImporterAgent.handleExperimenterLoadedDataEvent(ExperimenterLoadedDataEvent) line: 257	
	ImporterAgent.eventFired(AgentEvent) line: 410	
	EventBusImpl.dispatch() line: 91	
	EventBusImpl.post(AgentEvent) line: 222	
	BrowserComponent.setExperimenterData(TreeImageDisplay, Collection) line: 1194	
	ExperimenterDataLoader.handleResult(Object) line: 238	
	ExperimenterDataLoader(DSCallAdapter).eventFired(AgentEvent) line: 90	
	BatchCallMonitor$1.run() line: 124	
	InvocationEvent.dispatch() line: 209	
	EventQueue.dispatchEventImpl(AWTEvent, Object) line: 702	
	EventQueue.access$400(EventQueue, AWTEvent, Object) line: 82	
	EventQueue$2.run() line: 663	
	EventQueue$2.run() line: 661	
	AccessController.doPrivileged(PrivilegedAction<T>, AccessControlContext) line: not available [native method]	
	AccessControlContext$1.doIntersectionPrivilege(PrivilegedAction<T>, AccessControlContext, AccessControlContext) line: 87	
	EventQueue.dispatchEvent(AWTEvent) line: 672	
	EventDispatchThread.pumpOneEventForFilters(int) line: 296	
	EventDispatchThread.pumpEventsForFilter(int, Conditional, EventFilter) line: 211	
	EventDispatchThread.pumpEventsForHierarchy(int, Conditional, Component) line: 201	
	EventDispatchThread.pumpEvents(int, Conditional) line: 196	
	EventDispatchThread.pumpEvents(Conditional) line: 188	
	EventDispatchThread.run() line: 122	

comment:2 Changed 11 years ago by jburel

  • Milestone changed from Unscheduled to OMERO-4.5
  • Remaining Time set to 0.1
  • Sprint set to 2012-12-18 (3)
  • Status changed from new to accepted

comment:3 Changed 11 years ago by jburel

see also #9975

comment:4 Changed 11 years ago by jburel

To Test:

  • Open the importer.
  • Go back to the data manager
  • Click the refresh button
  • Make sure that the group is not -1 in the importer.

comment:5 Changed 11 years ago by jburel

  • Remaining Time changed from 0.1 to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

comment:6 Changed 11 years ago by jburel <j.burel@…>

(In [b5bc1491865a2694ae0b271f25d8aceac5c753b5/ome.git] on branch develop) -1 was still specified instead of groupId. (see #9997)

comment:7 Changed 11 years ago by Josh Moore <josh@…>

(In [aaa289e1d91ba5f8103dd542ded5ddf7ce780d59/ome.git] on branch develop) Merge pull request #544 from jburel/import-bugs-develop

-1 was still specified instead of groupId. (see #9997)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.65844 sec.)

We're Hiring!