Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0002139 [Quercus] minor always 11-04-07 15:57 11-05-07 18:46
Reporter koreth View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.4
Summary 0002139: Compile fails with undefined symbol
Description Getting a few similar instances of this error:

GEN: com.caucho.quercus.expr.ProRequiredExpr$1
[14:43:45.233] Compiling _quercus/_Users/_sgrimm/_www/_lib/_elections__php.java
[14:43:45.837] com.caucho.java.JavaCompileException: /Users/sgrimm/www/html/WEB-INF/work/_quercus/_Users/_sgrimm/_www/_lib/_elections__php.java:660: cannot find symbol
[14:43:45.837] symbol : variable ook
[14:43:45.837] location: class _quercus._Users._sgrimm._www._lib._elections__php.fun_candidate_dbget_info
[14:43:45.837] v_parties = fun_political_party_get_names.call(env, ook.eval(env)).copyReturn();
[14:43:45.837] ^
[14:43:45.837] 1 error
[14:43:45.837] at com.caucho.java.InternalCompiler.executeInt(InternalCompiler.java:220)
[14:43:45.837] at com.caucho.java.InternalCompiler.compileInt(InternalCompiler.java:84)
[14:43:45.837] at com.caucho.java.AbstractJavaCompiler.run(AbstractJavaCompiler.java:98)
[14:43:45.837] at java.lang.Thread.run(Thread.java:613)

The line of code in question is totally innocuous:

  $parties = political_party_get_names();

In general the compiler is working; several hundred PHP files compile successfully before it gets to this one and bombs out.
Additional Information I am running a locally built copy of most of Resin (latest svn version as of noon November 4 with a couple local hacks, nothing in the area of PHP parsing) with the pro.jar from the November 3 snapshot.
Attached Files

- Relationships

- Notes
(0002449)
nam
11-05-07 18:09

Can you provide us with a copy or the offending subset of elections.php? That would help us immensely to track down the issue.
 
(0002450)
ferg
11-05-07 18:46

php/376e
 

- Issue History
Date Modified Username Field Change
11-04-07 15:57 koreth New Issue
11-05-07 18:09 nam Note Added: 0002449
11-05-07 18:46 ferg Note Added: 0002450
11-05-07 18:46 ferg Assigned To  => ferg
11-05-07 18:46 ferg Status new => closed
11-05-07 18:46 ferg Resolution open => fixed
11-05-07 18:46 ferg Fixed in Version  => 3.1.4


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker