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

Fix NPE in MainTable #3318

Merged
merged 2 commits into from
Oct 20, 2017
Merged

Fix NPE in MainTable #3318

merged 2 commits into from
Oct 20, 2017

Conversation

tobiasdiez
Copy link
Member

As observed by @stefan-kolb in #3275 (comment) the NPE resulted from the strange matches(null) code. This is fixed now. Not sure if this actually fixes the problem of #3275.

  • Change in CHANGELOG.md described
  • Tests created for changes
  • Screenshots added (for bigger UI changes)
  • Manually tested changed features in running JabRef
  • Check documentation status (Issue created for outdated help page at help.jabref.org?)
  • If you changed the localization: Did you run gradle localizationUpdate?

@tobiasdiez tobiasdiez added the status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Oct 18, 2017
Copy link
Member

@lenhard lenhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code-wise, this is fine. Let us ask the user to try and see if it fixes his problem.

@tobiasdiez tobiasdiez merged commit 65cacb1 into master Oct 20, 2017
@tobiasdiez tobiasdiez deleted the fixNPE branch October 20, 2017 01:39
halirutan pushed a commit to halirutan/jabref that referenced this pull request Oct 20, 2017
* Fix NPE in MainTable

* Fix build
Siedlerchr added a commit that referenced this pull request Oct 20, 2017
* upstream/master:
  Small fix in drag and drop handler of linked files (#3328)
  Fix NPE in MainTable (#3318)
  Increase relative size of abstract field in editor (#3320)
lenhard pushed a commit that referenced this pull request Oct 20, 2017
* Made the LocalizationBundle a private class of Localization and ensured, that all accesses to it are only lookups in hashmaps

Made all access of Location-messages a fast hash table lookup.
Fixed one message in JabRefFrame that used an escaped key instead of the unescaped version.

* Fix NPE in MainTable (#3318)

* Fix NPE in MainTable

* Fix build

* Use of HashMap instead of Hashtable
General code cleanup

* Forgot to replace one null test

* Reordering of import statements and fields
Replacement of last null test with Objects.requireNonNull
Siedlerchr added a commit that referenced this pull request Oct 27, 2017
* upstream/master: (31 commits)
  Source tab entry duplication (#3360)
  Use CITE_COMMENT not only for external latex editors but also for cop… (#3351)
  Updating with new translations (#3348)
  Upgrade error-prone (#3350)
  Jabref_pt_BR partially updated (#3349)
  Used late initialization for context menus (#3340)
  Fix NPE when calling with bib file as cmd argument (#3343)
  update mockito-core from 2.10.0 -> 2.11.0 (#3338)
  Remove underscore in Localized messages (#3336)
  Localisation: French: new entries translated (#3337)
  Refactoring: Lazy init of all editor tabs (#3333)
  Initializing EntryEditor Tabs on focus (#3331)
  Fix #3292: annotations are now automatically refreshed (#3325)
  Change integrity message for names depending on database mode (#3330)
  Fix location bundle with fast access (#3327)
  Small code cleanup
  Fix "path not found" exception
  Small fix in drag and drop handler of linked files (#3328)
  Fix NPE in MainTable (#3318)
  Increase relative size of abstract field in editor (#3320)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: ready-for-review Pull Requests that are ready to be reviewed by the maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants