Package: geogebra
Version: 3.2.46.0+dfsg1-1
Severity: important

--- Please enter the report below this line. ---

Hello,

recently i recognized, that geogebra does not seem to be able to calculate e.g. 
the derivative of f(x)=x^2. I launched the program form the console and got 
this:

$ geogebra 
GeoGebra 3.2.46.0, Debian package 3.2.46.0+dfsg1-1, December 17, 2010, Java 
1.6.0_24
codebase: file:/usr/share/geogebra/
Fonts used: sans: SansSerif, serif: Serif
Fonts used: sans: SansSerif.plain, serif: Serif.plain
Exception: could not load bundle: /geogebra/properties/javaui_de.properties
java.lang.NullPointerException
        at 
org.mathpiper.builtin.BuiltinFunction.addOptionalFunctions(BuiltinFunction.java:234)
                                                
        at 
org.mathpiper.interpreters.SynchronousInterpreter.<init>(SynchronousInterpreter.java:83)
                                            
        at 
org.mathpiper.interpreters.SynchronousInterpreter.getInstance(SynchronousInterpreter.java:219)
                                      
        at 
org.mathpiper.interpreters.Interpreters.getSynchronousInterpreter(Interpreters.java:83)
                                             
        at geogebra.cas.GeoGebraCAS.getMathPiper(GeoGebraCAS.java:135)          
                                                               
        at geogebra.cas.GeoGebraCAS.initCAS(GeoGebraCAS.java:38)                
                                                               
        at geogebra.cas.GeoGebraCAS.<init>(GeoGebraCAS.java:33)                 
                                                               
        at geogebra.kernel.Kernel.getGeoGebraCAS(Kernel.java:353)               
                                                               
        at geogebra.gui.app.GeoGebraFrame$1.run(GeoGebraFrame.java:310)         
                                                               
java.lang.Exception: Error during system script initialization.
        at 
org.mathpiper.interpreters.SynchronousInterpreter.<init>(SynchronousInterpreter.java:175)
        at 
org.mathpiper.interpreters.SynchronousInterpreter.getInstance(SynchronousInterpreter.java:219)
        at 
org.mathpiper.interpreters.Interpreters.getSynchronousInterpreter(Interpreters.java:83)
        at geogebra.cas.GeoGebraCAS.getMathPiper(GeoGebraCAS.java:135)
        at geogebra.cas.GeoGebraCAS.initCAS(GeoGebraCAS.java:38)
        at geogebra.cas.GeoGebraCAS.<init>(GeoGebraCAS.java:33)
        at geogebra.kernel.Kernel.getGeoGebraCAS(Kernel.java:353)
        at geogebra.gui.app.GeoGebraFrame$1.run(GeoGebraFrame.java:310)
java.lang.Exception: Error during system script initialization.
MathPiper creation failed with scriptbase: 
jar:file:/usr/share/geogebra/geogebra_cas.jar!/
MathPiper creation failed again with null scriptbase

typing x^2 followed by f'(x) yields to the following lines on the console

*** BEGIN Message from [geogebra.cas.GeoGebraCAS.evaluateMathPiper] at 8:30:58 
free memory: 22368KB
String for MathPiper: D(x) (x)^(2)
Exception from MathPiper: Error encountered during initialization or parsing: 
Error parsing expression, near token (.
*** END Message from [geogebra.cas.GeoGebraCAS.evaluateMathPiper] at 8:30:58 
free memory: 22368KB

but on the oter hand integrating x^2 does work. does this look like a geogebra 
bug or more like a mathpiper bug?

Thank you for your effort

        Lorenz

--- System information. ---
Architecture: i386
Kernel:       Linux 3.1.0-1-486

Debian Release: wheezy/sid
  500 testing         www.debian-multimedia.org 
  500 testing         security.debian.org 
  500 testing         ftp.de.debian.org 
  500 squeeze         www.lamaresh.net 

--- Package information. ---
Depends                               (Version) | Installed
===============================================-+-===========
default-jre                                     | 1:1.6-46
 OR java5-runtime                               | 
mathpiper                                       | 0.81f+svn4469+dfsg2-1
libcommons-math-java                            | 2.2-2
libjama-java                                    | 1.0.2-4
libfreehep-io-java                              | 2.0.2-4
libfreehep-graphicsio-tests-java                | 2.1.1+dfsg1-3
libfreehep-export-java                          | 2.1.1-2
libfreehep-swing-java                           | 2.0.3-3
libfreehep-xml-java                             | 2.1.2+dfsg1-3
libfreehep-util-java                            | 2.0.2-5
libfreehep-graphics2d-java                      | 2.1.1-3
libfreehep-graphicsio-java                      | 2.1.1-2
libfreehep-graphicsio-svg-java                  | 2.1.1-3
libfreehep-graphicsio-pdf-java                  | 2.1.1+dfsg-1
libfreehep-graphicsio-emf-java                  | 2.1.1-emfplus+dfsg1-1


Recommends            (Version) | Installed
===============================-+-===========
icedtea6-plugin                 | 6b21.1.4-1
 OR sun-java6-plugin            | 


Package's Suggests field is empty.

Attachment: signature.asc
Description: This is a digitally signed message part.

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to