search for: findclass

Displaying 20 results from an estimated 34 matches for "findclass".

2011 Jun 23
1
Class not found when search in .onLoad
...date slots in objects). See package attached or code below (not sure attachments can go through). in R 2.13.0: At the loading check after installation, the classes are not found by `isClass` and `extends` when these are called in .onLoad, but are correctly found when called in .onAttach. However findClass correctly finds the class in both case, as well as isClass if it is called with the argument `where=asNamespace('<THE.PACKAGE.NAME>')`. When the package is loaded from an open R session, the behaviour is the same. in R 2.12.1: the classes are correctly found by isClass and extends...
2018 Oct 26
2
Bug report for sealClass() in Core-maintained package "methods"
...s(x) must be a character vector of the same length as x > isSealedClass("foo") [1] FALSE > sealClass("foo", where=.GlobalEnv) > isSealedClass("foo") [1] TRUE I found that this is because sealClass() includes the following line: if (missing(where)) where <- findClass(Class, unique = "sealing the class", where = where) Because findClass() always returns a list (even if argument 'unique' contains a character string), this assigns a list of length 1 to variable 'where'. This then throws an error in the subsequent line assignClassDef(Clas...
2013 Oct 29
1
unloadNamespace, getPackageName and "Created a package name xxx " warning
...() function. e.g. getPackageName(parent.env(getNamespace('data.table'))) I was wondering what could be done to get rid of these warnings, which I believe in the case "unloadNamespace" case are irrelevant. The stack of calls is: # where 3: sapply(where, getPackageName) # where 4: findClass(what, classWhere) # where 5: .removeSuperclassBackRefs(cl, cldef, searchWhere) # where 6: methods:::cacheMetaData(ns, FALSE, ns) # where 7: unloadNamespace(pkgname) So for instance: >findClass('data.frame', getNamespace('data.table')) generates a warning which once again seems i...
2008 Feb 04
1
Java and Xalan
...> at gnu.java.lang.MainThread.run(libgcj.so.7rh) > Caused by: java.lang.ClassNotFoundException: org.apache.xalan.xslt.Process not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}} > at java.net.URLClassLoader.findClass(libgcj.so.7rh) > at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.7rh) > at java.lang.ClassLoader.loadClass(libgcj.so.7rh) > at java.lang.ClassLoader.loadClass(libgcj.so.7rh) > at gnu.java.lang.MainThread.run(libgcj.so.7rh) > [jv at localhost ~]$ Thanks in advan...
2006 Jun 01
5
RAD RAILS Problem. Wont start! Linux nubee
...anager.java:402) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:188) at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:338) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:390) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:351) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(ClassLoader.java:235)...
2008 Jan 02
1
problems with JAVA in JGR library on ubuntu 7.04
...va.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at RJavaClassLoader.findClass(RJavaClassLoader.java:137) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)...
2018 Oct 27
0
Bug report for sealClass() in Core-maintained package "methods"
...e same length as x >> isSealedClass("foo") > [1] FALSE >> sealClass("foo", where=.GlobalEnv) >> isSealedClass("foo") > [1] TRUE > > I found that this is because sealClass() includes the following line: > if (missing(where)) where <- findClass(Class, unique = "sealing the class", where = where) > > Because findClass() always returns a list (even if argument 'unique' contains a character string), this assigns a list of length 1 to variable 'where'. > This then throws an error in the subsequent line >...
2007 Nov 26
2
Unable to launch puppetmasterd after installing mongrel
...uppet/ssl/private/password]: File does not exist debug: Finishing transaction -607590848 with 0 changes debug: Finishing transaction -607938028 with 0 changes info: mount[config]: allowing * access info: mount[dist]: allowing *.mediosystems.com access debug: Creating interpreter undefined method `findclass'' for nil:NilClass _______________________________________________ Puppet-users mailing list Puppet-users@madstop.com https://mail.madstop.com/mailman/listinfo/puppet-users
2009 Mar 30
0
Problem with Tomcat
...ClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclare...
2008 Feb 07
0
R GUI installation on Linux/SuSE 10.3
...va.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at RJavaClassLoader.findClass(RJavaClassLoader.java:137) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)...
2002 Jun 10
4
R search applet initialization
R 1.5.1 is due to come out ... and I've just noticed that the R help.start page search applet doesn't work on my Mandrake 8.2 system even though I've upgraded mozilla to version 1.0 and I have a perfectly working java (all right, I'm using 1.4.0 now, but with mozilla 0.98 and java 1.3.1 it still didn't work). I had thought the problem due to a too-old mozilla version, but it
2013 May 14
1
PuppetDB Cannot Find Postgresql Driver
...after about a minute of running: java.lang.ClassNotFoundException: org.postgresql.jdbcDriver at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at clojure.lang.DynamicClassLoader.findClass(DynamicClassLoader.java:61) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:188) a...
2004 Nov 26
1
Namespaces, coercion and setAs
...e I get: >A <- as(5,"matrix.diag.csr") Error in as(5, "matrix.diag.csr") : No method or default for coercing "numeric" to "matrix.diag.csr" so apparently using exportClass(matrix.diag.csr) isn't sufficient for coerce to know what to do. Using findClass("matrix.diag.csr") indicates that the class is recognized to be from SparseM, so my question is: is there some mechanism that I'm missing in the NAMESPACE scheme that would enable my old setAs() directive to work, or is there some other suggestion on how to proceed? url: www.eco...
2010 Jul 20
0
[LLVMdev] Fwd: Building VMKit
On Tue, Jul 20, 2010 at 6:56 PM, Joshua Warner <joshuawarner32 at gmail.com> wrote: > Hi Minas, > > I tried recompiling Classpath with -fno-omit-frame-pointer, and now, instead > of printing an error message, j3 just segfaults in > "j3::JnjvmClassLoader::loadClassFromAsciiz(char const*, bool, bool) ()" > Could you please run it under gdb like $ gdb --args ./j3
2007 Sep 25
4
"Have I included class X" function?
Anyone know if it would be straightforward to extract this information from Puppet, probably in a custom function: The classes included as a result of the client''s parsed configuration - or - Am I in class X as a result of my parsed configuration? I''m thinking it would result in a more elegant manifest if classes X and Y behaved differently if they were both included compared
2011 Jul 08
2
java annoyances
...dError: sun/plugin2/main/server/MozillaPlugin Caused by: java.lang.ClassNotFoundException: sun.plugin2.main.server.MozillaPlugin at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) Segmentation fault Anyone got any ideas what's wrong? Clues for th...
2001 Dec 09
0
Bug#123084: r-base: R documentatio search engine unusable with Mozilla 6 (OK with netscape 4.7x) (PR#1202)
...et.AppletClassLoader.getBytes(AppletClassLoader.java:223) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:41) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:137) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:252) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) at java.lang.ClassLoader.loadClass(ClassLoader.java:2...
2007 Dec 05
8
How does one use a module?
Greetings - Maybe I''m a bit slow, but I''ve been trying to understand how to use a module for the better part of a day and I''m not getting it. Here''s what I''ve done: Using puppet 0.23.2 1. Downloaded the shorewall module from David Schmitt''s git repo (Thanks David!!!!) and placed it in the directory /var/lib/puppet/modules (using the rpm
2011 Dec 05
1
using StatEt IDE for Eclipse
...basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410) at org.eclipse.equinox.launcher.Main.main(Main.java:1386) Caused by: java.lang.ClassNotFoundException: org.eclipse.ecf.docshare.menu.DocShareRosterMenuContributionItem at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:513) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429) at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107) at...
2001 Dec 09
0
Bug#123084: r-base: R documentatio search engine unusable (PR#1203)
....getBytes(AppletClassLoader.java:223) > at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:41) > at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:137) > at java.security.AccessController.doPrivileged(Native Method) > at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134) > at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:252) > at java.lang.ClassLoader.loadClass(ClassLoader.java:297) > at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) > at java.lang.ClassLoader.loadClas...