Getting the following error while runnig through eclipse

View: New views
2 Messages — Rating Filter:   Alert me  

Getting the following error while runnig through eclipse

by Hari Kishore-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi All,

       I am Getting the following error while running through eclipse for sample script can anybody help ? Attaching my script for reference

 

Traceback (innermost last):

  File "C:\grinder-3.2\projects\GrinderIntro\script.py", line 6, in ?

java.lang.ExceptionInInitializerError

 

      at net.grinder.plugin.http.HTTPPluginControl.<clinit>(HTTPPluginControl.java:45)

 

      at java.lang.Class.forName0(Native Method)

 

      at java.lang.Class.forName(Unknown Source)

 

      at org.python.core.SyspathJavaLoader.loadClass(Unknown Source)

 

      at java.lang.ClassLoader.loadClass(Unknown Source)

 

      at org.python.core.Py.findClassEx(Unknown Source)

 

      at org.python.core.SysPackageManager.findClass(Unknown Source)

 

      at org.python.core.PackageManager.findClass(Unknown Source)

 

      at org.python.core.SysPackageManager.findClass(Unknown Source)

 

      at org.python.core.PyJavaPackage.__findattr__(Unknown Source)

 

      at org.python.core.imp.importFromAs(Unknown Source)

 

      at org.python.core.imp.importFrom(Unknown Source)

 

      at org.python.pycode._pyx0.f$0(C:\grinder-3.2\projects\GrinderIntro\script.py:6)

 

      at org.python.pycode._pyx0.call_function(C:\grinder-3.2\projects\GrinderIntro\script.py)

 

      at org.python.core.PyTableCode.call(Unknown Source)

 

      at org.python.core.PyCode.call(Unknown Source)

 

      at org.python.core.Py.runCode(Unknown Source)

 

      at org.python.core.__builtin__.execfile_flags(Unknown Source)

 

      at org.python.util.PythonInterpreter.execfile(Unknown Source)

 

      at org.python.util.jython.main(Unknown Source)

 

Caused by: java.lang.NullPointerException

 

      at net.grinder.plugin.http.HTTPPlugin.<clinit>(HTTPPlugin.java:61)

 

      ... 20 more

 

 

java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError

 

 

Thanks

Hari



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

script.py (2K) Download Attachment

Re: Getting the following error while runnig through eclipse

by Philip Aston-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Try grinderstone - http://code.google.com/p/grinderstone/

- Phil

Hari Kishore wrote:

>
> Hi All,
>
>        I am Getting the following error while running through eclipse
> for sample script can anybody help ? Attaching my script for reference
>
>  
>
> Traceback (innermost last):
>
>   _File "C:\grinder-3.2\projects\GrinderIntro\script.py", line 6, in ?_
>
> java.lang.ExceptionInInitializerError
>
>  
>
>       at
> net.grinder.plugin.http.HTTPPluginControl.<clinit>(_HTTPPluginControl.java:45_)
>
>  
>
>       at java.lang.Class.forName0(_Native Method_)
>
>  
>
>       at java.lang.Class.forName(Unknown Source)
>
>  
>
>       at org.python.core.SyspathJavaLoader.loadClass(Unknown Source)
>
>  
>
>       at java.lang.ClassLoader.loadClass(Unknown Source)
>
>  
>
>       at org.python.core.Py.findClassEx(Unknown Source)
>
>  
>
>       at org.python.core.SysPackageManager.findClass(Unknown Source)
>
>  
>
>       at org.python.core.PackageManager.findClass(Unknown Source)
>
>  
>
>       at org.python.core.SysPackageManager.findClass(Unknown Source)
>
>  
>
>       at org.python.core.PyJavaPackage.__findattr__(Unknown Source)
>
>  
>
>       at org.python.core.imp.importFromAs(Unknown Source)
>
>  
>
>       at org.python.core.imp.importFrom(Unknown Source)
>
>  
>
>       at
> org.python.pycode._pyx0.f$0(C:\grinder-3.2\projects\GrinderIntro\script.py:6)
>
>  
>
>       at
> org.python.pycode._pyx0.call_function(C:\grinder-3.2\projects\GrinderIntro\script.py)
>
>  
>
>       at org.python.core.PyTableCode.call(Unknown Source)
>
>  
>
>       at org.python.core.PyCode.call(Unknown Source)
>
>  
>
>       at org.python.core.Py.runCode(Unknown Source)
>
>  
>
>       at org.python.core.__builtin__.execfile_flags(Unknown Source)
>
>  
>
>       at org.python.util.PythonInterpreter.execfile(Unknown Source)
>
>  
>
>       at org.python.util.jython.main(Unknown Source)
>
>  
>
> Caused by: _java.lang.NullPointerException_
>
>  
>
>       at net.grinder.plugin.http.HTTPPlugin.<clinit>(_HTTPPlugin.java:61_)
>
>  
>
>       ... 20 more
>
>  
>
>  
>
> java.lang.ExceptionInInitializerError:
> java.lang.ExceptionInInitializerError
>
>  
>
>  
>
> Thanks
>
> Hari
>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use