Task #3730 (closed)
Opened 9 years ago
Closed 9 years ago
Bug: NPE on "New Tag" add
| Reported by: | jamoore | Owned by: | jburel |
|---|---|---|---|
| Priority: | critical | Milestone: | OMERO-Beta4.3 |
| Component: | Insight | Version: | n.a. |
| Keywords: | n.a. | Cc: | |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-01-13 (3) |
Description
- Open image
- Click on "+" beside "Tag"
- Wait for dialog to open
- Click on an existing tag and then ">" (gets added to "Selected")
- Type something into "New Tag"
- Click add.
- Get following stack trace
Change History (8)
comment:1 Changed 9 years ago by jmoore
comment:2 Changed 9 years ago by jburel
- Remaining Time set to 0.25
- Sprint set to 2011-01-27 (24)
comment:3 Changed 9 years ago by jburel
- Sprint changed from 2011-01-27 (24) to 2011-01-13 (23)
comment:4 Changed 9 years ago by jburel
- Status changed from new to accepted
comment:5 Changed 9 years ago by jburel
Cannot reproduce, added control. Josh can you try Insight:r7909
comment:6 Changed 9 years ago by jmoore
with r7909:
java.lang.Exception: Abnormal termination due to an uncaught exception. java.lang.NullPointerException at org.openmicroscopy.shoola.agents.util.SelectionWizardUI.doesObjectExist(SelectionWizardUI.java:152)
I think you need to also check if the tagvalue is null: ob.getTagValue() != null. The tag I added from the list was itself a badly formed one.
comment:7 Changed 9 years ago by jburel
I see, you must have not valid tag. I will probably improve the pojos
to avoid such problem
comment:8 Changed 9 years ago by jburel
- Remaining Time changed from 0.25 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [8897/omero]) review method when returning annotation name (close #3730).