Ronin/Gosu Thin Aardvark Issue on Citrix Xen Desktop

32 views
Skip to first unread message

Matt Franczak

unread,
Mar 13, 2012, 3:14:40 PM3/13/12
to gosu-lang
I'm looking at using Ronin for a project, but I'm having some issues
with getting Aardvark to retrieve the files from the repository
specifed by the classpath "remote:releases:gosu-lang.org-
releases:http://gosu-lang.org/repositories/m2/releases" line in
the .vark file generated for new projects. I see the same issue when
running Gosu Thin. It only seems to occur in Citrix Desktops, but
our development team is using them heavily, so if anyone has some
insight into what the root cause is, it will help me quite a bit in
figuring out how to get it running.

Thanks,

Matt

The specific exception being thrown is below:

C:\gosu-thin-0.9-12\bin>gosu
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
gw.lang.init.GosuInitialization.callMethod(GosuInitialization.java:97
)
at
gw.lang.init.GosuInitialization.reinitializeRuntime(GosuInitializatio
n.java:56)
at gw.lang.Gosu.reinitGosu(Gosu.java:170)
at gw.lang.Gosu.setClasspath(Gosu.java:162)
at gw.lang.Gosu.init(Gosu.java:208)
at gw.lang.Gosu.start(Gosu.java:84)
at gw.lang.launch.GosuLauncher.run(GosuLauncher.java:116)
at gw.lang.launch.GosuLauncher.main(GosuLauncher.java:46)
Caused by: java.lang.IllegalArgumentException: URI has an authority
component
at java.io.File.<init>(File.java:368)
at
gw.internal.gosu.module.DefaultSingleModule.addSpecialJars(DefaultSin
gleModule.java:62)
at
gw.internal.gosu.module.DefaultSingleModule.getRawJavaClasspath(Defau
ltSingleModule.java:87)
at
gw.internal.gosu.module.DefaultSingleModule.reset(DefaultSingleModule
.java:35)
at gw.internal.gosu.module.Module.<init>(Module.java:62)
at
gw.internal.gosu.module.DefaultSingleModule.<init>(DefaultSingleModul
e.java:22)
at
gw.internal.gosu.parser.ExecutionEnvironment.initializeDefaultSingleM
odule(ExecutionEnvironment.java:60)
at
gw.internal.gosu.init.InternalGosuInit.initializeRuntime(InternalGosu
Init.java:20)
... 12 more
java.lang.NullPointerException
at
gw.internal.gosu.parser.TypeLoaderAccess.refresh(TypeLoaderAccess.jav
a:820)
at
gw.internal.gosu.parser.TypeSystemImpl.refresh(TypeSystemImpl.java:28
9)
at gw.lang.reflect.TypeSystem.refresh(TypeSystem.java:255)
at gw.lang.Gosu.setClasspath(Gosu.java:163)
at gw.lang.Gosu.init(Gosu.java:208)
at gw.lang.Gosu.start(Gosu.java:84)
at gw.lang.launch.GosuLauncher.run(GosuLauncher.java:116)
at gw.lang.launch.GosuLauncher.main(GosuLauncher.java:46)

Brian Chang

unread,
Mar 13, 2012, 5:26:46 PM3/13/12
to gosu...@googlegroups.com
That URL is out of date.  Try replacing it with http://gosu-lang.org/nexus/content/groups/releases


--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To post to this group, send email to gosu...@googlegroups.com.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gosu-lang?hl=en.




--
Brian
bcha...@gmail.com

Gus Prevas

unread,
Mar 15, 2012, 8:17:17 PM3/15/12
to gosu...@googlegroups.com
I don't think that can be the problem, as the old URL still works for me.

Matt, what version of Aardvark do you have?  What JVM are you running on?

If you need a temporary workaround, delete the classpath statements, then download https://raw.github.com/kprevas/ronin/master/ronin-init/src/vark/RoninVarkTargets.gsx and drop it into src/vark/ in your app.

Brian Chang

unread,
Mar 16, 2012, 1:19:16 AM3/16/12
to gosu...@googlegroups.com
If it's specific just to your Xen VMs, I'll ask whether you can confirm they have unrestricted access to the internet.  If you're uncomfortable with this, I understand - it's why we provide the gosu-full distribution of Gosu.  Ronin perhaps has some room to improve in the sense of providing some offline option.  We're still in the stage of feeling out how comfortable users are with a program hitting the internet during a launch process.

Matt Franczak

unread,
Mar 16, 2012, 10:57:47 AM3/16/12
to gosu-lang
I'm running aardvark 0.4 preview and have the Version 6 Update 14 JRE.

I get the below message if i comment out the classpaths in build.vark
and drop that file into the /src/vark directory of my project - are
there any other steps I need to do to get the targets in :

C:\aardvark-0.4-preview2\bin\my_app>vark server
Buildfile: C:\aardvark-0.4-preview2\bin\my_app\build.vark
Done parsing Aardvark buildfile in 1644 ms

BUILD FAILED
Target "server" does not exist in the project "null".

Total time: 0 seconds

Thanks,

Matt

On Mar 15, 7:17 pm, Gus Prevas <kpre...@gmail.com> wrote:
> I don't think that can be the problem, as the old URL still works for me.
>
> Matt, what version of Aardvark do you have?  What JVM are you running on?
>
> If you need a temporary workaround, delete the classpath statements, then
> downloadhttps://raw.github.com/kprevas/ronin/master/ronin-init/src/vark/Ronin...
> drop it into src/vark/ in your app.
>
>
>
> On Tue, Mar 13, 2012 at 5:26 PM, Brian Chang <bchan...@gmail.com> wrote:
> > That URL is out of date.  Try replacing it with
> >http://gosu-lang.org/nexus/content/groups/releases
>
> > bchan...@gmail.com
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "gosu-lang" group.
> > To post to this group, send email to gosu...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > gosu-lang+...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/gosu-lang?hl=en.- Hide quoted text -
>
> - Show quoted text -

Carson Gross

unread,
Mar 16, 2012, 11:01:11 AM3/16/12
to gosu...@googlegroups.com
I think the problem is that your vark file doesn't know about the enhancement.

Can you try to move the enhancement to a different source folder, say "build-src/vark" and then add "build-src" as a classpath entry in your vark file?

Cheers,
Carson

Matt Franczak

unread,
Mar 16, 2012, 11:10:11 AM3/16/12
to gosu-lang
I think I have unrestricted access - I can access the URL via a
browser. I'll bounce it off our citrix people to make sure - any
particular permission that I'd need beyond being able to access the
URL?

Thanks,

Matt

On Mar 16, 12:19 am, Brian Chang <bchan...@gmail.com> wrote:
> If it's specific just to your Xen VMs, I'll ask whether you can confirm
> they have unrestricted access to the internet.  If you're uncomfortable
> with this, I understand - it's why we provide the gosu-full distribution of
> Gosu.  Ronin perhaps has some room to improve in the sense of providing
> some offline option.  We're still in the stage of feeling out how
> comfortable users are with a program hitting the internet during a launch
> process.
>
>
>
>
>
> On Thu, Mar 15, 2012 at 5:17 PM, Gus Prevas <kpre...@gmail.com> wrote:
> > I don't think that can be the problem, as the old URL still works for me.
>
> > Matt, what version of Aardvark do you have?  What JVM are you running on?
>
> > If you need a temporary workaround, delete the classpath statements, then
> > download
> >https://raw.github.com/kprevas/ronin/master/ronin-init/src/vark/Ronin...drop it into src/vark/ in your app.
>
> > On Tue, Mar 13, 2012 at 5:26 PM, Brian Chang <bchan...@gmail.com> wrote:
>
> >> That URL is out of date.  Try replacing it with
> >>http://gosu-lang.org/nexus/content/groups/releases
>
> >> bchan...@gmail.com
>
> >>  --
> >> You received this message because you are subscribed to the Google Groups
> >> "gosu-lang" group.
> >> To post to this group, send email to gosu...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> gosu-lang+...@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/gosu-lang?hl=en.
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "gosu-lang" group.
> > To post to this group, send email to gosu...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > gosu-lang+...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/gosu-lang?hl=en.
>
> --
> Brian
> bchan...@gmail.com- Hide quoted text -
Reply all
Reply to author
Forward
0 new messages