Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
4840 | major | always | 11-05-11 12:31 | 11-05-11 12:31 | |
|
|||||
Reporter: | diyism | Platform: | |||
Assigned To: | OS: | ||||
Priority: | normal | OS Version: | |||
Status: | new | Product Version: | 4.0.14 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0004840: com.caucho.quercus.QuercusException: java.lang.reflect.Method.invoke: argument type mismatch | ||||
Description: |
Always show error: com.caucho.quercus.QuercusException: java.lang.reflect.Method.invoke: argument type mismatch The java code: public class GaeFileObject extends AbstractFileObject implements Serializable { private boolean isCombinedLocal; public void setCombinedLocal(boolean b) { this.isCombinedLocal = b; } } The php code: import com.newatlanta.commons.vfs.provider.gae.GaeVFS; import org.apache.commons.io.IOUtils; import java.lang.Long; import java.lang.Boolean; GaeVFS::setRootPath(quercus_servlet_request()->getSession(true)->getServletContext()->getRealPath('/')); define('VFSM', GaeVFS::getManager()); $file=VFSM->resolveFile('gae://gaevfs/tmp1'); [^] $file->getClass()->getDeclaredMethod('setCombinedLocal', array(Boolean::TYPE))->invoke($file, true); The last line "invoke" trigger the "argument type mismatch" error. and i tried: $file->getClass()->getDeclaredMethod('setCombinedLocal', array(Boolean::TYPE))->invoke($file, new Boolean('true')); And the error is still the same. I can't figure out why. It's maybe a bug of quercus. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |