FAQ
Edit report at https://pear.php.net/bugs/bug.php?id=18966&edit=1

ID: 18966
Updated by: [email protected]
Reported By: daniel dot oconnor at gmail dot com
Summary: Fatal error: Call to a member function getKeyType()
on a non-object
-Status: Open
+Status: Closed
Type: Bug
Package: Crypt_RSA
Package Version: SVN
PHP Version: 5.3.1
-Assigned To:
+Assigned To: doconnor
Roadmap Versions:
New Comment:

-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: doconnor
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on pear.php.net
by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.




Previous Comments:
------------------------------------------------------------------------

[2011-11-06 23:58:20] doconnor

Description:
------------
Fatal error: Call to a member function getKeyType() on a non-
object

Test script:
---------------
http://test.pear.php.net:8080/job/Crypt_RSA/2/console

Expected result:
----------------
Tests pass

Actual result:
--------------
phpunit -d error_reporting=30719 --coverage-html
build/coverage/ --coverage-clover build/logs/clover.xml --log-
junit build/logs/junit.xml tests/
PHPUnit 3.6.1 by Sebastian Bergmann.

The Xdebug extension is not loaded. No code coverage will be
generated.


The Xdebug extension is not loaded. No code coverage will be
generated.


PHP Fatal error: Call to a member function getKeyType() on a
non-object in
/var/lib/jenkins/workspace/Crypt_RSA/Crypt/RSA.php on line
506
error: Error tail of decrypted text = 143. Expected 1
error: public key must have "public" attribute

Fatal error: Call to a member function getKeyType() on a non-
object in
/var/lib/jenkins/workspace/Crypt_RSA/Crypt/RSA.php on line
506
Build step 'Execute shell' marked build as failure
Publishing Clover coverage report...
No Clover report will be published due to a Build Failure
Recording test results
Finished: FAILURE

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedDec 5, '11 at 10:11p
activeDec 5, '11 at 10:11p
posts1
users1
websitepear.php.net

1 user in discussion

Daniel Oconnor: 1 post

People

Translate

site design / logo © 2023 Grokbase