Bug 452536 - NPE upon creation of .spec file
Summary: NPE upon creation of .spec file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-rpm-editor
Version: 9
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Alphonse Van Assche
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-06-23 16:42 UTC by Andrew Overholt
Modified: 2008-07-01 05:30 UTC (History)
1 user (show)

Fixed In Version: 0.4.0-3.fc8
Clone Of:
Environment:
Last Closed: 2008-07-01 05:30:34 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Andrew Overholt 2008-06-23 16:42:13 UTC
I started Eclipse on a fresh x86_64 F9 install and created a new "General
Project" called "odt".  I then created a specfile in it called
"eclipse-odt.spec" and I got an error dialogue with the following accompanying
stuff in the workspace .log:

java.io.FileNotFoundException: /home/overholt/.pkglist (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:137)
        at java.io.FileInputStream.<init>(FileInputStream.java:96)
        at
org.eclipse.linuxtools.rpm.ui.editor.RpmPackageProposalsList.setPackagesList(RpmPackageProposalsList.ja
        at
org.eclipse.linuxtools.rpm.ui.editor.RpmPackageProposalsList.<init>(RpmPackageProposalsList.java:41)
        at
org.eclipse.linuxtools.rpm.ui.editor.Activator.getRpmPackageList(Activator.java:119)
        at
org.eclipse.linuxtools.rpm.ui.editor.SpecfilePackagesScanner.<init>(SpecfilePackagesScanner.java:63)
        at
org.eclipse.linuxtools.rpm.ui.editor.SpecfileConfiguration.getSpecfilePackagesScanner(SpecfileConfigura
        at
org.eclipse.linuxtools.rpm.ui.editor.SpecfileConfiguration.getPresentationReconciler(SpecfileConfigurat
        at
org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:355)
        at
org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3210)
        at
org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
        at
org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.jav
        at
org.eclipse.linuxtools.rpm.ui.editor.SpecfileEditor.createPartControl(SpecfileEditor.java:158)

Comment 1 Alphonse Van Assche 2008-06-29 15:07:48 UTC
Fixed in 0.4.0.
https://koji.fedoraproject.org/koji/buildinfo?buildID=54157


Comment 2 Fedora Update System 2008-06-29 15:31:38 UTC
eclipse-rpm-editor-0.4.0-1.fc9 has been submitted as an update for Fedora 9

Comment 3 Fedora Update System 2008-06-29 17:19:54 UTC
eclipse-rpm-editor-0.4.0-3.fc8 has been submitted as an update for Fedora 8

Comment 4 Fedora Update System 2008-07-01 05:30:32 UTC
eclipse-rpm-editor-0.4.0-3.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.