Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586820 - dev-java/microba-0.4.4.3 misses important files in .jar file (breaks app-text/jabref)
Summary: dev-java/microba-0.4.4.3 misses important files in .jar file (breaks app-text...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-23 16:42 UTC by Dominic Jänichen
Modified: 2017-08-27 19:33 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
modified ebuild (microba-0.4.4.3.ebuild,1.18 KB, text/plain)
2016-06-23 16:42 UTC, Dominic Jänichen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominic Jänichen 2016-06-23 16:42:44 UTC
Created attachment 438564 [details]
modified ebuild

Since dev-java/microba-0.4.4.3, the generated .jar only contains .class's and misses .properties and icons.
Consequently, consumers like jabref throw exceptions on initialising classes from microba.

Attached is an ebuild that at least unbreaks jabref.
Comment 1 Jonas Stein gentoo-dev 2016-06-26 14:11:07 UTC
Thank you for the report and your ebuild.
Which version of JabRef trew the exceptions? I did not see any exceptions on my system yet.
Comment 2 tka 2016-07-15 18:08:51 UTC
# emerge dev-java/microba app-text/jabref -pqv
[ebuild   R   ] dev-java/microba-0.4.4.3  USE="-doc -source" 
[ebuild   R   ] app-text/jabref-2.10-r4  USE="-doc" 

I get a NullPointerException when I try to edit an entry in JabRef.

java.lang.NullPointerException
	at java.util.Properties$LineReader.readLine(Properties.java:434)
	at java.util.Properties.load0(Properties.java:353)
	at java.util.Properties.load(Properties.java:341)
	at com.michaelbaranov.microba.calendar.DefaultCalendarResources.<init>(DefaultCalendarResources.java:28)
	at com.michaelbaranov.microba.calendar.CalendarPane.<init>(CalendarPane.java:185)
	at com.michaelbaranov.microba.calendar.DatePicker.<init>(DatePicker.java:120)
	at com.michaelbaranov.microba.calendar.DatePicker.<init>(DatePicker.java:74)
	at net.sf.jabref.gui.date.DatePickerButton.<init>(DatePickerButton.java:36)
	at net.sf.jabref.EntryEditor.getExtra(EntryEditor.java:426)
	at net.sf.jabref.EntryEditorTab.setupPanel(EntryEditorTab.java:155)
	at net.sf.jabref.EntryEditorTab.<init>(EntryEditorTab.java:82)
	at net.sf.jabref.EntryEditor.setupFieldPanels(EntryEditor.java:274)
	at net.sf.jabref.EntryEditor.<init>(EntryEditor.java:219)
	at net.sf.jabref.BasePanel.getEntryEditor(BasePanel.java:2357)
	at net.sf.jabref.gui.MainTableSelectionListener.editSignalled(MainTableSelectionListener.java:221)
	at net.sf.jabref.gui.MainTableSelectionListener.editSignalled(MainTableSelectionListener.java:215)
	at net.sf.jabref.BasePanel$2.action(BasePanel.java:366)
	at net.sf.jabref.BasePanel.runCommand(BasePanel.java:1666)
	at net.sf.jabref.JabRefFrame$GeneralAction.actionPerformed(JabRefFrame.java:1140)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
	at java.awt.Component.processMouseEvent(Component.java:6535)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3315)
	at java.awt.Component.processEvent(Component.java:6300)
	at java.awt.Container.processEvent(Container.java:2236)
	at java.awt.Component.dispatchEventImpl(Component.java:4891)
	at java.awt.Container.dispatchEventImpl(Container.java:2294)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
	at java.awt.Container.dispatchEventImpl(Container.java:2280)
	at java.awt.Window.dispatchEventImpl(Window.java:2750)
	at java.awt.Component.dispatchEvent(Component.java:4713)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.awt.EventQueue$4.run(EventQueue.java:729)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Comment 3 James Le Cuirot gentoo-dev 2017-07-09 22:24:04 UTC
This is fixed in dev-java/microba-0.4.4.3-r1. I used java-pkg_addres.
Comment 4 James Le Cuirot gentoo-dev 2017-08-27 19:33:03 UTC
This fix is now stable and the old version was removed.