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

Preferences do not open if no files are open #1130

Closed
koppor opened this issue Apr 7, 2016 · 1 comment
Closed

Preferences do not open if no files are open #1130

koppor opened this issue Apr 7, 2016 · 1 comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Milestone

Comments

@koppor
Copy link
Member

koppor commented Apr 7, 2016

JabRef version 3.3dev--snapshot--2016-04-06--master--6488cf7 on Windows 10

Steps to reproduce:

  1. Close all opened files
  2. Open Preferences

Result:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at net.sf.jabref.gui.labelpattern.LabelPatternPanel.buildGUI(LabelPatternPanel.java:107)
    at net.sf.jabref.gui.labelpattern.LabelPatternPanel.<init>(LabelPatternPanel.java:55)
    at net.sf.jabref.gui.preftabs.LabelPatternPrefTab.<init>(LabelPatternPrefTab.java:58)
    at net.sf.jabref.gui.preftabs.PreferencesDialog.<init>(PreferencesDialog.java:97)
@koppor koppor added the bug Confirmed bugs or reports that are very likely to be bugs label Apr 7, 2016
@koppor koppor added this to the v3.3 milestone Apr 7, 2016
@stefan-kolb
Copy link
Member

        for (EntryType type : EntryTypes.getAllValues(panel.getBibDatabaseContext().getMode())) {
            textFields.put(type.getName().toLowerCase(), addEntryType(pan, type, y));
            y++;
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Confirmed bugs or reports that are very likely to be bugs
Projects
None yet
Development

No branches or pull requests

2 participants