You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@isis.apache.org by Peter <li...@heuvelop.nl> on 2014/08/05 22:07:29 UTC
building sample app logs errors
Hi,
I've generated a simple app using the simpleapp archetype. When
building (mvn install), the following error are logged:
[Reflections main WARN ] could not create Dir using
directory from url
file:/System/Library/Java/Extensions/libQTJNative.jnilib. skipping.
java.lang.RuntimeException: cannot use dir
/System/Library/Java/Extensions/libQTJNative.jnilib
at org.reflections.vfs.SystemDir.<init>(SystemDir.java:20)
....
[Reflections main ERROR] could not create Vfs.Dir from
url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from
url, no matching UrlType was found
[file:/System/Library/Java/Extensions/libQTJNative.jnilib]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use
the static setDefaultURLTypes(final List<UrlType> urlTypes) or
addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
....
22:00:46,999 [Reflections main WARN ] could not create
Dir using directory from url
file:/System/Library/Java/Extensions/QTJava.zip. skipping.
java.lang.RuntimeException: cannot use dir
/System/Library/Java/Extensions/QTJava.zip
at org.reflections.vfs.SystemDir.<init>(SystemDir.java:20)
....
22:00:47,000 [Reflections main ERROR] could not create
Vfs.Dir from url. ignoring the exception and continuing
org.reflections.ReflectionsException: could not create Vfs.Dir from
url, no matching UrlType was found
[file:/System/Library/Java/Extensions/QTJava.zip]
either use fromURL(final URL url, final List<UrlType> urlTypes) or use
the static setDefaultURLTypes(final List<UrlType> urlTypes) or
addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
....
and a few more.
The build succeeds and i can run the application, but having loads of
error messages during building is very confusing and disturbing.
Why am i getting these error? What can i do about it?
Btw, i'm using a Mac (if you didn't notice from the file paths ;-)).
Regards
Peter
Re: building sample app logs errors
Posted by Dan Haywood <da...@haywood-associates.co.uk>.
Hi Peter,
I did actually do some fixes for similar exception messages in 1.6.0 [2],
[3], but looks like I simply associated them with the 1.6.0 release ticket,
[4].
As Jeroen says, these log errors are non-fatal and can be ignored; I'll
address to make less noisy in 1.7.0. I've updated ISIS-805.
Thx
Dan
[2]
https://github.com/apache/isis/commit/19cfaa8630475aa23bf9a064d463ca534644529a
[3]
https://github.com/apache/isis/commit/4e93d1b875caaa7de6102301bc4435e284e3b125
[4] https://issues.apache.org/jira/browse/ISIS-839
On 5 August 2014 22:49, Jeroen van der Wal <je...@stromboli.it> wrote:
> Hi Peter,
>
> Welcome to the Isis list!
>
> The errors you are seeing are known [1] but not fatal (and indeed only
> applicable to Mac users). I suggest you ignore them and wait for a fix.
>
> Cheers,
>
> Jeroen
>
> [1] https://issues.apache.org/jira/browse/ISIS-805
>
>
>
>
> On Tue, Aug 5, 2014 at 10:07 PM, Peter <li...@heuvelop.nl> wrote:
>
> > Hi,
> >
> > I've generated a simple app using the simpleapp archetype. When building
> > (mvn install), the following error are logged:
> >
> > [Reflections main WARN ] could not create Dir using
> > directory from url
> file:/System/Library/Java/Extensions/libQTJNative.jnilib.
> > skipping.
> > java.lang.RuntimeException: cannot use dir /System/Library/Java/
> > Extensions/libQTJNative.jnilib
> > at org.reflections.vfs.SystemDir.<init>(SystemDir.java:20)
> > ....
> > [Reflections main ERROR] could not create Vfs.Dir from
> > url. ignoring the exception and continuing
> > org.reflections.ReflectionsException: could not create Vfs.Dir from url,
> > no matching UrlType was found [file:/System/Library/Java/
> > Extensions/libQTJNative.jnilib]
> > either use fromURL(final URL url, final List<UrlType> urlTypes) or use
> the
> > static setDefaultURLTypes(final List<UrlType> urlTypes) or
> > addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
> > at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
> > ....
> > 22:00:46,999 [Reflections main WARN ] could not create
> > Dir using directory from url
> file:/System/Library/Java/Extensions/QTJava.zip.
> > skipping.
> > java.lang.RuntimeException: cannot use dir /System/Library/Java/
> > Extensions/QTJava.zip
> > at org.reflections.vfs.SystemDir.<init>(SystemDir.java:20)
> > ....
> > 22:00:47,000 [Reflections main ERROR] could not create
> > Vfs.Dir from url. ignoring the exception and continuing
> > org.reflections.ReflectionsException: could not create Vfs.Dir from url,
> > no matching UrlType was found [file:/System/Library/Java/
> > Extensions/QTJava.zip]
> > either use fromURL(final URL url, final List<UrlType> urlTypes) or use
> the
> > static setDefaultURLTypes(final List<UrlType> urlTypes) or
> > addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
> > at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
> > ....
> >
> > and a few more.
> >
> > The build succeeds and i can run the application, but having loads of
> > error messages during building is very confusing and disturbing.
> >
> > Why am i getting these error? What can i do about it?
> >
> > Btw, i'm using a Mac (if you didn't notice from the file paths ;-)).
> >
> > Regards
> > Peter
> >
> >
>
Re: building sample app logs errors
Posted by Jeroen van der Wal <je...@stromboli.it>.
Hi Peter,
Welcome to the Isis list!
The errors you are seeing are known [1] but not fatal (and indeed only
applicable to Mac users). I suggest you ignore them and wait for a fix.
Cheers,
Jeroen
[1] https://issues.apache.org/jira/browse/ISIS-805
On Tue, Aug 5, 2014 at 10:07 PM, Peter <li...@heuvelop.nl> wrote:
> Hi,
>
> I've generated a simple app using the simpleapp archetype. When building
> (mvn install), the following error are logged:
>
> [Reflections main WARN ] could not create Dir using
> directory from url file:/System/Library/Java/Extensions/libQTJNative.jnilib.
> skipping.
> java.lang.RuntimeException: cannot use dir /System/Library/Java/
> Extensions/libQTJNative.jnilib
> at org.reflections.vfs.SystemDir.<init>(SystemDir.java:20)
> ....
> [Reflections main ERROR] could not create Vfs.Dir from
> url. ignoring the exception and continuing
> org.reflections.ReflectionsException: could not create Vfs.Dir from url,
> no matching UrlType was found [file:/System/Library/Java/
> Extensions/libQTJNative.jnilib]
> either use fromURL(final URL url, final List<UrlType> urlTypes) or use the
> static setDefaultURLTypes(final List<UrlType> urlTypes) or
> addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
> at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
> ....
> 22:00:46,999 [Reflections main WARN ] could not create
> Dir using directory from url file:/System/Library/Java/Extensions/QTJava.zip.
> skipping.
> java.lang.RuntimeException: cannot use dir /System/Library/Java/
> Extensions/QTJava.zip
> at org.reflections.vfs.SystemDir.<init>(SystemDir.java:20)
> ....
> 22:00:47,000 [Reflections main ERROR] could not create
> Vfs.Dir from url. ignoring the exception and continuing
> org.reflections.ReflectionsException: could not create Vfs.Dir from url,
> no matching UrlType was found [file:/System/Library/Java/
> Extensions/QTJava.zip]
> either use fromURL(final URL url, final List<UrlType> urlTypes) or use the
> static setDefaultURLTypes(final List<UrlType> urlTypes) or
> addDefaultURLTypes(UrlType urlType) with your specialized UrlType.
> at org.reflections.vfs.Vfs.fromURL(Vfs.java:108)
> ....
>
> and a few more.
>
> The build succeeds and i can run the application, but having loads of
> error messages during building is very confusing and disturbing.
>
> Why am i getting these error? What can i do about it?
>
> Btw, i'm using a Mac (if you didn't notice from the file paths ;-)).
>
> Regards
> Peter
>
>