Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JetUML launch inconsistencies for loading SequenceDiagram #478

Closed
Laurieprince opened this issue Nov 2, 2022 · 0 comments
Closed

JetUML launch inconsistencies for loading SequenceDiagram #478

Laurieprince opened this issue Nov 2, 2022 · 0 comments
Assignees
Labels
bug A problem main Issues with the main code base
Milestone

Comments

@Laurieprince
Copy link
Contributor

Laurieprince commented Nov 2, 2022

Description
There are some inconsistencies in loading sequence diagrams in integration_3_5.

Steps to reproduce
Scenario 1. Load large.sequence.jet

Launch Eclipse
Launch JetUML
Open large.sequence.jet
Error “error_another_integer_null.txt”
Stop JetUML
Launch JetUML
Open large.sequence.jet

  • Diagram opens in JetUML
  • Error "java.lang.NullPointerException: Cannot invoke "java.lang.Comparable.compareTo(Object)" because the return value of "java.util.function.Function.apply(Object)" is null" (error_apply_object_null.txt)

Stop JetUML
Launch JetUML
Open large.sequence.jet

  • Diagram does not open in JetUML
  • Error java.lang.NullPointerException: Cannot read field "value" because "anotherInteger" is null (error_another_integer_null.txt)

Stop JetUML
Stop Eclipse

Scenario 2. Loading small.sequence.jet then large.sequence.jet

Launch Eclipse
Launch JetUML
Open small.sequence.jet
No errors, Success
Open large.sequence.jet
No errors, Success
Stop JetUML
Launch JetUML
Open large.sequence.jet

  • Diagram does not open
  • Error java.lang.NullPointerException: Cannot read field "value" because "anotherInteger" is null (error_another_integer_null.txt)

Stop JetUML
Stop Eclipse

Scenario 3. Load constructor.sequence.jet

Launch Eclipse
Launch JetUML
Open constructor.sequence.jet

  • Diagram does not open
  • Error “Cannot invoke "java.lang.Integer.intValue()" because the return value of "java.util.Map.get(Object)" is null” (error_map_get_object_null.txt)

Stop JetUML
Launch JetUML
Load small.sequence.jet
No errors, Success
Load constructor.sequence.jet
No errors, Success
Stop Jetuml
Stop Eclipse

Configuration

  • JetUML Release: integration_3_5
  • OS + version: Windows 10
  • Java version: jdk-19
@Laurieprince Laurieprince changed the title JetUML launch inconsistencies JetUML launch inconsistencies for loading SequenceDiagram Nov 2, 2022
@prmr prmr added this to the Release 3.5 milestone Nov 7, 2022
Laurieprince added a commit to Laurieprince/JetUML that referenced this issue Nov 14, 2022
…st contains multiple elements

* In SequenceDiagramRenderer fix findRoot() method causing the intermittent bug
* In EditorFrame, catch the case when a list of possible roots contains more than one element, and display the error.open_file on gui
prmr added a commit that referenced this issue Dec 5, 2022
@prmr prmr self-assigned this Dec 5, 2022
@prmr prmr added bug A problem main Issues with the main code base labels Dec 5, 2022
@prmr prmr closed this as completed Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A problem main Issues with the main code base
Projects
None yet
Development

No branches or pull requests

2 participants