On 14 November 2012 14:05, EBo <[email protected]> wrote:

> Hmmm... when I ran the "cleanup entries" tool last night, it was on my
> home server.  Today I was adding some entries and decided to tweak the
> entries by hand.  I found that if I converted something like:
>
>    pdf={oldfile.pdf}
>
> to either
>
>    file={oldfile.pdf}
>    file={oldfile.pdf::PDF}
>
> then I get the following errors:
>
> java.lang.NullPointerException
>          at
> net.sf.jabref.gui.CleanUpAction.doRenamePDFs(CleanUpAction.java:410)
>          at net.sf.jabref.gui.CleanUpAction.run(CleanUpAction.java:216)
>          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>          at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>          at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>          at java.lang.reflect.Method.invoke(Method.java:616)
>          at spin.Invocation.evaluate(Invocation.java:181)
>          at spin.off.SpinOffEvaluator$1.run(SpinOffEvaluator.java:114)
>          at java.lang.Thread.run(Thread.java:679)
>
> But if I converted it to:
>
>    file={oldfile.pdf:oldfile.pdf:PDF}
>
> then it works as expected and renames the file
> {oldfile.pdf:authYEARkey.pdf:PDF}
>
> What is the meaning of the first two fields?  The PDF makes sense that
> it is the type...  Anyway, it might make sense that if the middle field
> is null for the cleanup tool to move the first name to the new generated
> one.
>

The first two fields are for description and file name, respectively. The
cleanup tool should of course handle this gracefully, so we'll make sure to
fix this before the final version.

-- 
Morten
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Jabref-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jabref-users

Reply via email to