Error when compiling a class
Hi all,
I have created a class in SE24 for BOM creation.There are no syntax errors.But when i run the extended program check i get the following error.
The program YMFCL_ENH00108_SRV_BOM========CCDEF referred to in INCLUDE, CALL FUNCTION, PERFORM, CALL TRANSACTION, or SUBMIT is missing.
It would be very helpful if somebody could tell me what the error message means and what i need to check to remove the error.
Really?! FYI even SAP standard programs are full of warnings when you do an extended check on them! Just try one and see for yourself.
The development objective should be to get rid of 'real' errors which affects the system or the business processes.
Good luck with the extended program check
Similar Messages
-
Cannot resolve symbol error when compiling a class that calls another class
I've read all the other messages that include "cannot resolve symbol", but no luck. I've got a small app - 3 classes all in the same package. BlackjackDAO and Player compile OK, but BlackjackServlet throws the "cannot resolve symbol" (please see pertinent code below)...
I've tried lots: ant and javac compiling, upgrading my version of tomcat, upgrading my version of jdk/jre, making sure my servlet.jar is being seen by the compiler (at least as far as I can see from the -verbose feedback)...any help would be GREAT! Thanks in advance...
classes: BlackjackServlet, BlackjackDAO, Player
package: myblackjackpackage
tomcat version: 4.1.1.8
jdk version: j2sdk 1.4.0
ant version: 1.4.1
I get the same error message from Ant and Javac...
C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage>javac *.java -verbose
C:\Tomcat4118\src\webapps\helloblackjack>ant all -verbose
compile error:
BlackjackServlet.java:55: cannot resolve symbol
symbol: method addPlayer (javax.servlet.http.HttpServletRequest,javax.servlet.http.Http
ServletResponse)
location: class myblackjackpackage.BlackjackServlet
addPlayer(request, response);
^
My code is:
package myblackjackpackage;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.lang.*;
/** controller servlet in a web based blackjack game application @author Ethan Harlow */
public class BlackjackServlet extends HttpServlet {
private BlackjackDAO theBlackjackDAO;
public void init() throws ServletException {
String driver = "com.microsoft.jdbc.sqlserver.SQLServerDriver";
String dbUrl = "jdbc:microsoft:sqlserver://localhost:1433";
String userid = "testlogin";
String passwrd = "testpass";
try {
theBlackjackDAO = new BlackjackDAO(driver, dbUrl, userid, passwrd);
catch (IOException exc) {
System.err.println(exc.toString());
catch (ClassNotFoundException cnf) {
System.err.println(cnf.toString());
catch (SQLException seq) {
System.err.println(seq.toString());
public void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
doGet(request, response);
public void doGet(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String command = request.getParameter("command");
if (command == null || (command.equals("stats"))) {
else if (command.equals("add")) {
try {
//the following line is caught by compiler
addPlayer(request, response);
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("<html>");
out.println("<body>");
out.println("<p>Hi, your command was " + request.getParameter("command") + "!!!</p>");
out.println("</body>");
out.println("</html>");
catch (Exception exc) {
System.err.println(exc.toString());
else if (command.equals("play")) {
else if (command.equals("bet")) {
else if (command.equals("hit")) {
else if (command.equals("stand")) {
else if (command.equals("split")) {
else if (command.equals("double")) {
else if (command.equals("dealerdecision")) {
else if (command.equals("reinvest")) {
else if (command.equals("changebet")) {
else if (command.equals("deal")) {
package myblackjackpackage;
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
import java.sql.*;
import java.lang.*;
public class BlackjackDAO {
private Connection myConn;
public BlackjackDAO(String driver, String dbUrl, String userid, String passwrd)
throws IOException, ClassNotFoundException, SQLException {
System.out.println("Loading driver: " + driver);
Class.forName(driver);
System.out.println("Connection to: " + dbUrl);
myConn = DriverManager.getConnection(dbUrl, userid, passwrd);
System.out.println("Connection successful!");
public void addPlayer(HttpServletRequest request, HttpServletResponse response)
throws IOException, SQLException {
//I've commented out all my code while debugging, so I didn't include
//any here
compiler feedback
C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage>javac *.java -verbose
[parsing started BlackjackDAO.java]
[parsing completed 90ms]
[parsing started BlackjackServlet.java]
[parsing completed 10ms]
[parsing started Player.java]
[parsing completed 10ms]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/Object.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/sql/Connection.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/String.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/IOException.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/ClassNotFoundException.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/sql/SQLException.class)]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/http/HttpServletRequ
est.class)]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/http/HttpServletResp
onse.class)]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/http/HttpServlet.cla
ss)]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/GenericServlet.class
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/Servlet.class)]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/ServletConfig.class)
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/Serializable.class)]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/ServletException.cla
ss)]
[checking myblackjackpackage.BlackjackDAO]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/Throwable.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/Exception.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/System.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/PrintStream.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/FilterOutputStream.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/OutputStream.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/Class.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/sql/DriverManager.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/util/Properties.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/Error.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/RuntimeException.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/lang/StringBuffer.class)]
[wrote BlackjackDAO.class]
[checking myblackjackpackage.BlackjackServlet]
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/ServletRequest.class
BlackjackServlet.java:55: cannot resolve symbol
symbol : method addPlayer (javax.servlet.http.HttpServletRequest,javax.servlet
.http.HttpServletResponse)
location: class myblackjackpackage.BlackjackServlet
addPlayer(request, response);
^
[loading c:\tomcat4118\common\lib\servlet.jar(javax/servlet/ServletResponse.clas
s)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/PrintWriter.class)]
[loading c:\j2sdk14003\jre\lib\rt.jar(java/io/Writer.class)]
[checking myblackjackpackage.Player]
[total 580ms]
1 error
C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage>
and here's the ant feedback...
C:\Tomcat4118\src\webapps\helloblackjack>ant all -verbose
Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Detected Java version: 1.4 in: c:\j2sdk14003\jre
Detected OS: Windows 2000
parsing buildfile C:\Tomcat4118\src\webapps\helloblackjack\build.xml with URI =
file:C:/Tomcat4118/src/webapps/helloblackjack/build.xml
Project base dir set to: C:\Tomcat4118\src\webapps\helloblackjack
Build sequence for target `all' is [clean, prepare, compile, all]
Complete build sequence is [clean, prepare, compile, all, javadoc, deploy, dist]
clean:
[delete] Deleting directory C:\Tomcat4118\src\webapps\helloblackjack\build
[delete] Deleting C:\Tomcat4118\src\webapps\helloblackjack\build\images\a_s.g
if
[delete] Deleting C:\Tomcat4118\src\webapps\helloblackjack\build\images\q_s.g
if
[delete] Deleting directory C:\Tomcat4118\src\webapps\helloblackjack\build\im
ages
[delete] Deleting C:\Tomcat4118\src\webapps\helloblackjack\build\index.html
[delete] Deleting C:\Tomcat4118\src\webapps\helloblackjack\build\newplayer.ht
ml
[delete] Deleting C:\Tomcat4118\src\webapps\helloblackjack\build\WEB-INF\clas
ses\myblackjackpackage\BlackjackDAO.class
[delete] Deleting directory C:\Tomcat4118\src\webapps\helloblackjack\build\WE
B-INF\classes\myblackjackpackage
[delete] Deleting directory C:\Tomcat4118\src\webapps\helloblackjack\build\WE
B-INF\classes
[delete] Deleting C:\Tomcat4118\src\webapps\helloblackjack\build\WEB-INF\web.
xml
[delete] Deleting directory C:\Tomcat4118\src\webapps\helloblackjack\build\WE
B-INF
[delete] Deleting directory C:\Tomcat4118\src\webapps\helloblackjack\build
prepare:
[mkdir] Created dir: C:\Tomcat4118\src\webapps\helloblackjack\build
[copy] images\a_s.gif added as C:\Tomcat4118\src\webapps\helloblackjack\bui
ld\images\a_s.gif doesn't exist.
[copy] images\q_s.gif added as C:\Tomcat4118\src\webapps\helloblackjack\bui
ld\images\q_s.gif doesn't exist.
[copy] index.html added as C:\Tomcat4118\src\webapps\helloblackjack\build\i
ndex.html doesn't exist.
[copy] newplayer.html added as C:\Tomcat4118\src\webapps\helloblackjack\bui
ld\newplayer.html doesn't exist.
[copy] WEB-INF\web.xml added as C:\Tomcat4118\src\webapps\helloblackjack\bu
ild\WEB-INF\web.xml doesn't exist.
[copy] omitted as C:\Tomcat4118\src\webapps\helloblackjack\build is up to
date.
[copy] images added as C:\Tomcat4118\src\webapps\helloblackjack\build\image
s doesn't exist.
[copy] WEB-INF added as C:\Tomcat4118\src\webapps\helloblackjack\build\WEB-
INF doesn't exist.
[copy] Copying 5 files to C:\Tomcat4118\src\webapps\helloblackjack\build
[copy] Copying C:\Tomcat4118\src\webapps\helloblackjack\web\images\q_s.gif
to C:\Tomcat4118\src\webapps\helloblackjack\build\images\q_s.gif
[copy] Copying C:\Tomcat4118\src\webapps\helloblackjack\web\images\a_s.gif
to C:\Tomcat4118\src\webapps\helloblackjack\build\images\a_s.gif
[copy] Copying C:\Tomcat4118\src\webapps\helloblackjack\web\index.html to C
:\Tomcat4118\src\webapps\helloblackjack\build\index.html
[copy] Copying C:\Tomcat4118\src\webapps\helloblackjack\web\newplayer.html
to C:\Tomcat4118\src\webapps\helloblackjack\build\newplayer.html
[copy] Copying C:\Tomcat4118\src\webapps\helloblackjack\web\WEB-INF\web.xml
to C:\Tomcat4118\src\webapps\helloblackjack\build\WEB-INF\web.xml
compile:
[mkdir] Created dir: C:\Tomcat4118\src\webapps\helloblackjack\build\WEB-INF\
classes
[javac] myblackjackpackage\BlackjackDAO.class skipped - don't know how to ha
ndle it
[javac] myblackjackpackage\BlackjackDAO.java added as C:\Tomcat4118\src\weba
pps\helloblackjack\build\WEB-INF\classes\myblackjackpackage\BlackjackDAO.class d
oesn't exist.
[javac] myblackjackpackage\BlackjackServlet.java added as C:\Tomcat4118\src\
webapps\helloblackjack\build\WEB-INF\classes\myblackjackpackage\BlackjackServlet
.class doesn't exist.
[javac] myblackjackpackage\Player.java added as C:\Tomcat4118\src\webapps\he
lloblackjack\build\WEB-INF\classes\myblackjackpackage\Player.class doesn't exist
[javac] Compiling 3 source files to C:\Tomcat4118\src\webapps\helloblackjack
\build\WEB-INF\classes
[javac] Using modern compiler
[javac] Compilation args: -d C:\Tomcat4118\src\webapps\helloblackjack\build\
WEB-INF\classes -classpath
"C:\Tomcat4118\src\webapps\helloblackjack\build\WEB-I
NF\classes;
C:\tomcat4118\common\classes;
C:\tomcat4118\common\lib\activation.jar;
C:\tomcat4118\common\lib\ant.jar;
C:\tomcat4118\common\lib\commons-collections.jar;
C:\tomcat4118\common\lib\commons-dbcp.jar;
C:\tomcat4118\common\lib\commons-logging-api.jar;
C:\tomcat4118\common\lib\commons-pool.jar;
C:\tomcat4118\common\lib\jasper-compiler.jar;
C:\tomcat4118\common\lib\jasper-runtime.jar;
C:\tomcat4118\common\lib\jdbc2_0-stdext.jar;
C:\tomcat4118\common\lib\jndi.jar;
C:\tomcat4118\common\lib\jta.jar;
C:\tomcat4118\common\lib\mail.jar;
C:\tomcat4118\common\lib\mysql_uncomp.jar;
C:\tomcat4118\common\lib\naming-common.jar;
C:\tomcat4118\common\lib\naming-factory.jar;
C:\tomcat4118\common\lib\naming-resources.jar;
C:\tomcat4118\common\lib\servlet.jar;
C:\tomcat4118\common\lib\tools.jar;
C:\j2sdk14003\lib\tools.jar;
C:\tomcat4118\ant141\lib\servlet.jar;
C:\tomcat4118\ant141\lib\jaxp.jar;
C:\tomcat4118\ant141\lib\crimson.jar;
C:\tomcat4118\ant141\lib\ant.jar;
C:\Tomcat4118\src\webapps\helloblackjack;
C:\mysql\jdbc_dvr\mm.mysql.jdbc-1.2c;
C:\Program Files\SQLserverjdbcdriver\lib\msbase.jar;
C:\Program Files\SQLserverjdbcdriver\lib\msutil.jar;
C:\Program Files\SQLserverjdbcdriver\lib\mssqlserver.jar"
-sourcepath C:\Tomcat4118\src\webapps\helloblackjack\src -g -O
[javac] Files to be compiled:
C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage\BlackjackDAO
.java
C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage\BlackjackSer
vlet.java
C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage\Player.java
[javac] C:\Tomcat4118\src\webapps\helloblackjack\src\myblackjackpackage\Blac
kjackServlet.java:55: cannot resolve symbol
[javac] symbol : method addPlayer (javax.servlet.http.HttpServletRequest,j
avax.servlet.http.HttpServletResponse)
[javac] location: class myblackjackpackage.BlackjackServlet
[javac] addPlayer(request, response);
[javac] ^
[javac] 1 error
BUILD FAILED
C:\Tomcat4118\src\webapps\helloblackjack\build.xml:212: Compile failed, messages
should have been provided.
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:559)
at org.apache.tools.ant.Task.perform(Task.java:217)
at org.apache.tools.ant.Target.execute(Target.java:184)
at org.apache.tools.ant.Target.performTasks(Target.java:202)
at org.apache.tools.ant.Project.executeTarget(Project.java:601)
at org.apache.tools.ant.Project.executeTargets(Project.java:560)
at org.apache.tools.ant.Main.runBuild(Main.java:454)
at org.apache.tools.ant.Main.start(Main.java:153)
at org.apache.tools.ant.Main.main(Main.java:176)
Total time: 1 second
C:\Tomcat4118\src\webapps\helloblackjack>yes!
early on i tried: BlackjackDAO.addPlayer(request, response);
instead of: theBlackjackDAO.addPlayer(request, response);
you rock - thanks a ton -
Error when compiling java class
I am trying to compile the DVDService class which instiates the DVD class which is in the same package, but I get cannot resolver sumbol error because it could not recognise DVD class. I have included the current dir also in the class path. Can someone tell me where I am going wrong. DVD.class is the same subfolder aws DVDService.java
THanks
Meena
package com;
import java.util.*;
* <p>Title: </p>
* <p>Description: </p>
* <p>Copyright: Copyright (c) 2006</p>
* <p>Company: </p>
* @author not attributable
* @version 1.0
public class DVDService
public DVDService() {
public DVD getDVD()
List obj;
obj = new ArrayList();
obj.add("Denzel");
obj.add("kamal");
obj.add("rajini");
DVD dvd = new DVD();
dvd.setId("1");
dvd.setTitle("Siege");
dvd.setLength("120");
dvd.setActors(obj);
return dvd;
public String getString(String s)
return s;
public Vector getVector(String[] a)
Vector v = new Vector();
String s1;
for(int i = 0; i<a.length; i++)
s1=a;
v.add(s1);
return v;
public float getfloat(int i)
return i;
public static void main(String[] args) {
DVDService dvdservice = new DVDService();
DVD dvd1 = dvdservice.getDVD();
String id = dvd1.getId();
System.out.println("The value of id is " +id);
String title = dvd1.getTitle();
System.out.println("The value of title is " +title);
String length = dvd1.getLength();
System.out.println("The value of length is " +length);
List list = dvd1.getActors();
Iterator iter = list.iterator();
while (iter.hasNext()) {
System.out.println("The value of next element is " + (String) iter.next());
String u = dvdservice.getString("chinna");
System.out.println("Value of String u is " +u);
Vector v1 = dvdservice.getVector(new String[] {"meena","chinna","karthick"});
iter = v1.iterator();
while(iter.hasNext())
System.out.println("The valeu of vector elemet is " +(String)iter.next());
float f = dvdservice.getfloat(2);
System.out.println("The float output is " +f);If your directory structure looked like this, for example:
c
|_java
|_applications
|_com
|_pgm1
|_pgm2... Then back up to the 'applications' directory and compile as:
javac com\*.java
Run as:
java com.pgm1
~Bill -
Method not found in class errors when compiling project
Hi,
I am getting the following errors when compiling my project:
Error(3,8): ReqLinesNotificationsVORowImpl not found
Error(25,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(31,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(37,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(43,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(49,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(55,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(61,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(79,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(85,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(91,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(97,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(103,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(109,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(115,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(121,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(127,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(133,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(139,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(145,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(151,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(157,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(163,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(169,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(175,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(181,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(187,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(193,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
Error(199,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImplError(205,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
I have ReqLinesNotificationsVORowImpl and ReqLinesNotificationsVOImpl files in myprojects directory. Can anyone help please?
ThanksHi,
From the error it seems that the code is refering ReqLinesNotificationsVOExRowImpl file.
Please make sure that its class file is present in myclasses folder.
Since u have mentioned that ReqLinesNotificationsVORowImpl is already placed in myclasses folder. Hope this should resolve your issue.
Regards,
Raj Papdeja -
.class expected error when compiling
Ive been getting this frustrating error when compiling. My program is essentially supposed to add the values in two matrixes and return a new matrix using the added values
Heres my code:
public Matrix add(Matrix comp)
int[][] temp = new int[this.numRows()][this.numCols()];
for (int a = 0; a < comp.numRows(); a++) {
for (int b = 0; b < comp.numCols(); b++) {
temp[a] = this.myCells[a][b] + comp.getVal(a, b);
Matrix addedMatrix = new Matrix(temp[][]);
return addedMatrix;
heres the constructor for Matrix object:
public Matrix(int[][] mat)
int[][] myCells = new int[mat.length][mat[0].length];
for (int i = 0; i < mat.length; i++) {
for (int j = 0; j < mat[0].length; j++) {
myCells[i][j] = mat[i][j];
}getVal, numRows, and numCols are all helper methods that just return values.
The error is '.class' expected in the line which says Matrix addedMatrix = new Matrix(temp[][]); I checked for extra brackets but there dont seem to be any.
Any help would be appreciated. Thanks.I think you just needMatrix addedMatrix = new Matrix(temp);
-
Pragma error when compiling with SDK X
Hi,
I am trying to compile my plugin application (which compiled fine with the previous sdk) using the SDK X, but receive errors in CAVAlert.h on the exception handler construct DURING, HANDLER, END_HANDLER.
The errors are listed here:
Headers/API/CAVAlert.h:156:3: error: 'suppress' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: 'warning' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: '__pragma' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: expected ';' before 'jmp_buf'
Headers/API/CAVAlert.h:156:3: error: 'ASException' was not declared in this scope
Headers/API/CAVAlert.h:156:3: error: expected ')' before ':' token
Headers/API/CAVAlert.h:156:3: error: expected ';' before 'struct'
Headers/API/CAVAlert.h:162:3: error: request for member 'E_RETURNOutsideDURINGBlock' in 'gBadReturnCatcher', which is of non-class type 'int'
Headers/API/CAVAlert.h:162:3: error: expected ')' before ':' token
Headers/API/CAVAlert.h:162:3: error: expected ';' before 'int'
Headers/API/CAVAlert.h:165:3: error: 'ENDHANDLEROutsideHANDLER' was not declared in this scope
To compile against to SDK X all I did was:
1) Used PIMain.c from the SDK X API directory.
2) Changed ACRO_SDK_LEVEL=0x00090000 => ACRO_SDK_LEVEL=0x000A0000
3) Changed the include directories to point to the new SDK X directories
Is there another directive I must add to get the plugin to compile with SDK X?
My preprocessor list is as follows:
ACRO_SDK_LEVEL=0x000A0000
HAVE_W32API_H
PDMETADATA_HFT=1
PLUGIN=1
WIN32
WIN_ENV
WIN_PLATFORM
WXUSINGDLL
_CRT_SECURE_NO_DEPRECATE
_DEBUG
_WINDOWS
__GNUWIN32__
__WIN32__
__WXMSW__
Thank you,
MagdaWithout seeing your code, I can't really help.
If you want help with your code, open a formal support ticket.
From: Adobe Forums <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Tue, 6 Dec 2011 04:09:25 -0800
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: Pragma error when compiling with SDK X
Pragma error when compiling with SDK X
created by magdakuit<http://forums.adobe.com/people/magdakuit> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4066378#4066378 -
Errors when compiling the web service (SAP Web Service Design Tool)
After downloading and installing the SAP de Web Service Design Tool (for Crystal Reports Server) I created a connection, a simple query and was able to deploy a web services. I tested the web service with an Xcelsius dashboard within InfoView. Thereafter I created a second connection (other name but same ODBC connection / server) and created another simple query with two date(range) parameters and a group by year and month function in order to do a select count(). It executes fine, but when I try to publish the web service I get an error.
There are errors when compiling the web service.
Is does not say whatu2019s wrong or how I can solve this problem.
Who can help me?
Some notes:
1) Within expert mode I used a MONTH() SQL function which does not show in the normal mode.
2) It seams that the u2018administrationu2019 of Web Service Design Tool got u2018corruptedu2019 after only creating the two connections, queries and services mentioned above. I believe so because I could select one of two queries when I created the second service, but within the current connection I had only one query.
Thanks for any help,
Ron
ADDITIONAL INFO: The parameters seam to be the problem. After removing the parameters I can publish the service. But without parameters it is NO SOLOTION.
Edited by: RonKoudijs on Aug 26, 2010 6:28 PMHello Taylan,
I think the error that you received was due to packaging issues.I placed the
UtilClass.java file under a directory called data which was present under
the project directory.
When you want to access a java class, you can either place the compiled
class file in the WEB-INF/classes folder or you can place the java file
under the project directory.
I have attached the sample project that I created with your files.
Let me know if you have any other questions.
Thanks
Raj Alagumalai
WebLogic Workshop Support
"taylan" <[email protected]> wrote in message
news:3d6351b0$[email protected]..
>
I am trying to write a simpe web service in WebLogic Workshop, but havingan error
which I could not understand. Could you please help me? Thanks in advance.
Regards,
Taylan
My web service code is like belows:
import weblogic.jws.control.JwsContext;
import data.*;
public class WebService1
/** @jws:context */
JwsContext context;
* @jws:operation
public UtilClass testType(UtilClass tTest){
UtilClass returnObj=new UtilClass();
if(tTest.getName()!= null){
returnObj.setName(tTest.getName());
return returnObj;
and my UtilClass is placed in the data directory under the same directorywith
my web service code. It is a simpe class as belows:
package data;
public class UtilClass
private String name;
public void setName(String name){
this.name=name;
public String getName(){
return name;
However I got an error when I try to compile the webservice class. Theerror is
like belows:
File Line Message
WebService1.jws 0 Resource found on system classpath: data.UtilClass
Build complete - 1 error(s), 0 warning(s)
[ngroup.zip] -
Dear all,
Do we have any extra things to execute the Java mapping using the Sax Parser?
When I am executing the interface mapping ,I am getting the" Linkage error when loading the class" error.
Kindly let me know your personnel maildId so that I can mail you the screen shots.
Thanks,
SrinivasaDear sunil,
Find the File.
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
Source:
<MTO_FTP_MAT_DETAILS>
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
TARGET
MTI_FTP_MAT_DETAILS
<MATDETAILS>
<MAKTX>
<MATNR>
<WERKS>
<LABST>
<MEINS>
<PERCNT>
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.util.Map;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import org.xml.sax.Attributes;
import org.xml.sax.SAXException;
import org.xml.sax.helpers.DefaultHandler;
import com.sap.aii.mapping.api.StreamTransformation;
class Echo {
public static OutputStream out;
public class myEcho extends DefaultHandler implements StreamTransformation {
private Map map;
public void setParameter(Map param) {
map = param;
public void execute(InputStream in, OutputStream out) {
DefaultHandler handler = this;
SAXParserFactory factory = SAXParserFactory.newInstance();
try {
SAXParser saxParser = factory.newSAXParser();
Echo.out = out;
saxParser.parse(in, handler);
} catch (Throwable t) {
t.printStackTrace();
public void startDocument() throws SAXException {
try {
Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
} catch (IOException e) {
e.notify();
public void endDocument() throws SAXException {
try {
Echo.out.flush();
} catch (IOException e) {
throw new SAXException("I/O error", e);
public void startElement(String namespaceURI, String sName, // simple name
String qName, // qualified name
Attributes attrs) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("<" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void endElement(String namespaceURI, String sName, // simple name
String qName // qualified name
) throws SAXException {
String eName = sName; // element name
if ("".equals(eName))
eName = qName; // not namespace-aware
if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
try {
Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
} catch (Exception e) {
e.printStackTrace();
} else {
try {
Echo.out.write(("</" + qName + ">").getBytes());
} catch (Exception e) {
e.printStackTrace();
public void characters(char buf[], int offset, int len)
throws SAXException {
String s = new String(buf, offset, len);
try {
Echo.out.write(s.getBytes());
} catch (Exception e) {
e.printStackTrace(); -
Error when compiling invalid object XLA_00555_AAD_C_011117_PKG
Hello folks,
i am getting error when compiling the following object.
XLA_00555_AAD_C_011117_PKG
here i have mentioned below is what i have done for that invalid object.
SQL> select owner,object_name,object_type
2 from dba_objects
3 where status='INVALID';
OWNER
OBJECT_NAME
OBJECT_TYPE
APPS
XLA_00555_AAD_C_011117_PKG
PACKAGE BODY
SQL> connect apps/apps
Connected.
SQL> alter package XLA_00555_AAD_C_011117_PKG compile body;
Warning: Package Body altered with compilation errors.
SQL> show errors;
Errors for PACKAGE BODY XLA_00555_AAD_C_011117_PKG:
LINE/COL ERROR
32209/1 PLS-00103: Encountered the symbol "NVL" when expecting one of the
following:
* & - + / at mod remainder rem then <an exponent (**)> and or
|| multiset
The symbol "*" was substituted for "NVL" to continue.
32209/23 PLS-00103: Encountered the symbol "=" when expecting one of the
following:
. ( * % & - + / at mod remainder rem then <an exponent (**)>
and or ||
The symbol "* was inserted before "=" to continue.
LINE/COL ERROR
Please Provide me solution as soon as possible
Regards,
FarookNot exactly a custom object.
XLA%AAD%PKG packages will be built dynamically by the XLA's AAD compiler. This will be used while generating the accounting entries.
This error may occur due to two reasons:
a) missing source, which is used in the setup
SELECT *
FROM xla_conditions xc
WHERE application_id = &appl_id
AND xc.source_code IS NOT NULL
AND NOT EXISTS (SELECT 1
FROM xla_sources_b xsb
WHERE xc.source_application_id = xsb.application_id
AND xc.source_type_code = xsb.source_type_code
AND xc.source_code = xsb.source_code);
b) wrong conditions in setup
SELECT application_id,amb_context_code,entity_code,event_class_code
,accounting_line_type_code,accounting_line_code
,segment_rule_detail_id,description_prio_id
FROM xla_conditions xc
WHERE application_id = &appl_id
GROUP BY application_id,amb_context_code,entity_code,event_class_code
,accounting_line_type_code,accounting_line_code
,segment_rule_detail_id,description_prio_id
HAVING COUNT(*) > 1
AND SUM(NVL2(source_code,1,0)) <> SUM(NVL2(logical_operator_code,1,0)) + 1;
For (a) check any patch available for the missing source. Otherwise contact Oracle Support.
For (b) check the condition of the JLT / JED / ADR, whether anything is wrongly entered.
By
Vamsi -
I'm trying to use the HDL interface node in LV8 FPGA with a PCI-5640R and had the "timing constraint" error when compiling my VI, however, the same VI was successfully compiled on a CRIO-9104, it seems the FPGA on PCI-5640R is not good as the one on CRIO-9104, or I'm not using it right. could you please kindly help me out?
I tested it with the sample code downloaded from NI website
( http://zone.ni.com/devzone/conceptd.nsf/webmain/456722DDDE17986A86256E7B0065EE6F ) which demonstrates using an IP core for a filter. To simplify it, I only keep the HDL Interface Node and the While Loop (see "UsingFilterCore.vi" in attached zip file), and then I created 2 projects including this VI (1 for CRIO-9104, in sub folder "CRIO-9104", the other for PCI-5640R, in sub folder "IFRIO 5640"). When opening the 2 projects separately in LV8.0 and selecting the VI for compile, the one for 9104 passed and the other failed. Here I attach the source code, error message screenshot and the NIReport from MAX, hope you can reduplicate the problem.
Can you help me out? Thanks very much !
Message Edited by Jerry_L on 03-26-2006 09:28 PM
Message Edited by Jerry_L on 03-26-2006 09:29 PMHi Jerry,
I'm just tried to make all these steps by myself (http://zone.ni.com/devzone/cda/tut/p/id/3516). I have generated FIR filter using Xilinx ISE and got *.VHD file which was going to use in HDL Node.
In the Parameters tab of the HDL Interface Node configuration dialog, double-click in the Names column to add parameters. Create parameters as shown below.
Next, switch to the Code tab. Notice that your parameters now appear in the entity section. To complete the next two sections of code, you will need to refer to the filt.vhd file that you generated earlier and interface the filter core to the LabVIEW FPGA execution system.
1. The first problem I met was integrating VHDL code from earlier generated *.VHD file to CODE tab in properties of HDL Node. Content of entity section in *.VHD is not the same that in your attached file. Please check it in attached files. I'm sure this is the main reasen of problem.
Next, switch to the External Files tab. Click the Add File button and select the filt.edn file that you created earlier. This is the EDIF netlist file that you generated earlier.
2. I have no idea where can I get it and when during filter generation using Xilinx ISE it was generated too. How can I get it? I had to use your attached file filt.edn.
3. After that I have made the same schematics like you have in your VI FPGA and try to run. But I've got two error messages:
HDL Interfave node: enable chain not handled. Details: Refer to the documentation for the correct assignments for the enable_out output from your HDL code.
HDL Interfave node: output not handled. Details: Right-click the node, select Configure to open the Configure HDL Interface Node dialog box, and use the Code tab to handle all output parameters.
Actually I need to model FIR filter:
Bandwidth 200-600 Hz
Sampling 8 KHz
Attenuation 80 dB
That's why I tried to follow all these steps by myself to understand how does it work.
Thanks a lot.
Nikita
Attachments:
Filter1.vi 16 KB -
Assertion error when compiling ANSI C code - Forte 6.2
I have a compilation error when compiling on my Ultra 10
using Forte 6.2 C compiler (5.3). Here's the line:
teds@enigma[195]% cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil !!
cc -xtarget=ultra3 -xarch=v8plusb -dalign -fns -fsimple=2 -ftrap=%none -xlibmil -xO4 -DCMO_DEBUG_DETAIL -DUSE_DATACONN -c cmoisubs.c -o cmoisubs.o
cg: assertion failed in file ../src/ms_pipe/sp_interface.cc at line 689
cg: Internal error: constval annotation set on reg with multiple defs
cg: 1 errors
cc: cg failed for cmoisubs.c
teds@enigma[196]%
Does anyone have any ideas?
Thanks,
TedAre both files in the same directory? Is the directory in your classpath?
-
ERROR:HDLParsers:3370 Compile Error when compiling for NI-5640R
I'm trying to get a FFT Core working inside the NI-5640R FPGA. In my latest debugging step, I have received the following error when compiling:
Compiling vhdl file "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" in Library work.
Entity <bushold> compiled.
ERROR:HDLParsers:3370 - "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" Line 142. Value 0 is not included in the range, 1 to 2147483647, of kConfiguration_ClkMaxWidth.
ERROR:HDLParsers:3370 - "C:/NIFPGA82/srvrTmp/LOCALH~1/IFBC3E~1/bushold.vhd" Line 143. Value 0 is not included in the range, 1 to 2147483647, of kConfiguration_ClkCounterWidth.
Has anybody seen this before? I am including my FPGA VI that is causing this error (FFT (FPGA).vi). I am also including my previous step in debugging the FFT that worked (FFTworking (FPGA).vi).
Attachments:
FFT (FPGA).vi 125 KB
FFTworking (FPGA).vi 119 KBHi,
The main cause of this error message is the large array size. You configured a 16-bit fixed-size array with 4096 element for a total array size of 65536 (16 * 4096). Array uses a lot of FPGA resource and the general recommendation to limit the use and size of array as much as possible on the FPGA VI. This VI will certainly overmap the FPGA resource because of the large array size.
Although this error message is not directly related to the array size, it has however been reported to R&D (#4G3COBJ0) for further investigation. A possible workaround would be to reduce the size of the array or use DMA FIFO to pass the data to the host.
Thanks for the feedback!
Tunde A.
LabVIEW FPGA -
Revision: 10641
Author: [email protected]
Date: 2009-09-28 08:44:38 -0700 (Mon, 28 Sep 2009)
Log Message:
Fix ambiguous reference error when compiling a performance test.
Fully qualify mx.events.Requests in generated code for FlexInit.
QE notes: None.
Doc notes: None.
Bugs:
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no.
Modified Paths:
flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.javaStart by validating your HTML code. You have numerous code validation errors on line 230 caused by UPPER case tags. XHTML doc types, need lower case tags. After you fix your code errors, republish your page.
HTML Validator - http://validator.w3.org
CSS Validator - http://jigsaw.w3.org/css-validator/
HTML & CSS Tutorials - http://w3schools.com/
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Stack overflow error when "compiling" a TagHandler class in IBM
meda karthik, Aug 7, 2004
Hi,
I am getting a StackOverFlowError during compilation(yes StackOverFlow during compilation !) of a TagHandler class when i am compiling with IBM JDK 1.4.2. The strange thing is, that i dont get the error when i compile the same class with IBM JDK 1.3.1. I am sure that this class is causing the error, because without it,the build goes through fine. I am doing a build of my component through ant. The following is the error i get :
---------------------------ERROR-----------------------------
[javac] The system is out of resources.
[javac] Consult the following stack trace for details.
[javac] java.lang.StackOverflowError
[javac] at com.sun.tools.javac.v8.code.Type$ClassType.constType(Type.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitLiteral(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Literal.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribArgs(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribExpr(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitApply(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Apply.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.visitSelect(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.tree.Tree$Select.accept(Tree.java(Compiled Code))
The above messages continue repeating and finally ends with...
[javac] at com.sun.tools.javac.v8.tree.Tree$MethodDef.accept(Tree.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribTree(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribStat(Attr.java(Inlined Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribClassBody(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.comp.Attr.attribClass(Attr.java:1349)
[javac] at com.sun.tools.javac.v8.JavaCompiler.compile(JavaCompiler.java(Compiled Code))
[javac] at com.sun.tools.javac.v8.Main.compile(Main.java:586)
[javac] at com.sun.tools.javac.Main.compile(Main.java:67)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
[javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
[javac] at java.lang.reflect.Method.invoke(Method.java:391)
[javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:100)
[javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:842)
[javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:682)
[javac] at org.apache.tools.ant.Task.perform(Task.java:341)
[javac] at org.apache.tools.ant.Target.execute(Target.java:309)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[javac] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:143)
[javac] at org.apache.tools.ant.Task.perform(Task.java:341)
[javac] at org.apache.tools.ant.Target.execute(Target.java:309)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:397)
[javac] at org.apache.tools.ant.Task.perform(Task.java:341)
[javac] at org.apache.tools.ant.Target.execute(Target.java:309)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:336)
[javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
[javac] at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
[javac] at org.apache.tools.ant.Main.runBuild(Main.java:609)
[javac] at org.apache.tools.ant.Main.start(Main.java:196)
[javac] at org.apache.tools.ant.Main.main(Main.java:235)
---------------------------ERROR----------------------------- I am also attaching the first few lines of the tag, incase you find some imports are being referenced circularly....here is the TagHandlerClass.........: ------------------CLASS-------------------------------------
package com.ibm.bcg.consoleUI.tags;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import javax.servlet.jsp.JspException;
import javax.servlet.jsp.JspWriter;
import javax.servlet.jsp.tagext.TagSupport;
import org.apache.struts.util.MessageResources;
import com.ibm.bcg.consoleUI.forms.FormConstants;
import com.ibm.bcg.consoleUI.forms.SchedulerForm;
import com.ibm.bcg.consoleUI.forms.VCBaseForm;
import com.ibm.bcg.consoleUI.locale.LocaleUtils;
import com.ibm.bcg.shared.ClientInfo;
import com.ibm.bcg.shared.NameIdAssoc;
import com.ibm.bcg.shared.logging.Logger;
import com.ibm.bcg.shared.logging.LoggerFactory;
import java.util.*;
import com.ibm.bcg.consoleUI.action.ActionLists;
import com.ibm.bcg.consoleUI.action.alerts.AlertActionUtil;
import com.ibm.icu.util.Calendar;
import com.ibm.icu.text.NumberFormat;
* @author karthikd
* @version 1.0
public class ScheduleTag extends TagSupport {
// The following 3 fields denote the attributes of the tag.
private String formName;
private String requestKey;
private String scheduleController;
private SchedulerForm schedulerForm;
private Logger logger;
private MessageResources resources;
private ClientInfo clientInfo;
private Locale locale;
private HttpServletRequest request;
private JspWriter writer;
private HttpSession session;
private String newLine = "\r\n";
private Calendar cal = null;
public int doStartTag() throws JspException
try
logger = LoggerFactory.getLoggerInstance();
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"staring SchedulerTag ******");
request = (HttpServletRequest)pageContext.getRequest();
writer = (JspWriter)pageContext.getOut();
schedulerForm = (SchedulerForm) request.getAttribute(getRequestKey());
session = (HttpSession)pageContext.getSession();
clientInfo = (ClientInfo) session.getAttribute( "clientInfo" );
locale = clientInfo.getLocale();
resources = LocaleUtils.getMessageResources(VCBaseForm.CONSOLE_BUNDLE);
cal = Calendar.getInstance( clientInfo.getFormatLocale() );
// write out the various JavaScript functions required.
writer.println(getScripts());
//write out the main options,i.e Interval Based and Calendar based scheduling options
writer.println(getOptions());
//decide what kind of scheduling screen is needed.
if(schedulerForm.isIntervalBased())
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Interval based scheduling ******* ");
writer.println(getIntervalScreen());
else
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Calendarbased scheduling ******* ");
writer.println(getCalendarScreen());
writer.println(initCalendarScreen());
catch (Exception e)
logger.log(this.getClass(),Logger.PRIORITY_ERROR,"SchedulerTag Handler Exception ******** ");
logger.log(this.getClass(),Logger.PRIORITY_DEBUG,"Inside the catch block of Scheduler Tag ****** ");
throw new JspException("SchedulerTag : " + e.getMessage());
return SKIP_BODY;
------------------CLASS-------------------------------------
What could cause such a problem? Please help , in need of urgent help !!
regards, karthik .Hi,
No i have not tried to compile it manually as the file is part of a larger project and there are a lot of other dependencies before i can compile this manually.
In any case i found a work around for the porblem. What was happening is that i had a fairly large function, which was about 250 lines, with a larger number of calls to the "append()" function of the StringBuffer class.
I broke the large function into smaller pieces and now i dont get the error.!
But can somebody explain why this solved the problem. Is it because the compiler is not able to stack up all the activation records for execution during runtime ? But like i mentioned what is it in IBM JDK 1.4.2 which is not allowing this, whereas IBM JDK 1.3.1 is able to do it ?
I did solve my problem, but havent got a logical answer to why this was happening !
would appreciate it if someone sheds some light on this topic .
thanks and regards,
Karthik -
Java.lang symbols not found when compiling package classes
I have a set of classes that I have wrapped up in a package. The package name and
directory structure follow the standard required for each. These classes contain many
java.lang.Math functions and java.lang.Double calls.
Am I correct in that the java.lang functions will be imported automatically? When I
compile a class that is in the package, it looks for the Math.pow (for example)
function in the package instead of java.lang. I have tried putting the following include
at the top:
include java.lang.*;and I still get the "cannot resolve symbol" error. Only when I use
include java.lang.Math;
include java.lang.Double;does it compile properly. Is this indicative of a problem with my classpath? It is
currently set to look in whatever the current directory is, the directory with src.jar,
and my dev directory that contains the package I am working on.
Please advise! Thanks in advance!
RodmanThanks for the quick reply! I looked in the package directory and found the Math.java and
Double.java files. I'm not sure why they were there. Thanks again!
Maybe you are looking for
-
I installed ios 7 in iphone 4 - i am not able to create event in calender , icon is not active
i installed ios 7 in iphone 4 - i am not able to create event in calender , icon is not active
-
How do I update/refresh track information for mp3 files already on my the comput
I recently started using MediaSource after buying a Zen Touch and noticed that one (possibly more, I haven't screened all the?files I've burned) of the CD directories doesn't show the track information in MediaSource. I don't know why, when I go to t
-
How to open multiple windows from ALV?
I have a button on each line of ALV. If the user clicks on the button on the first line, it shoud open a window in another session. Now the user will be able to click on the button on the next line and another window should popu up. Thus the user can
-
InfoPackage QM status Process Chain
Hello Gurus, In a process chain (BI 7.0) we have an InfoPackage which is loading the content of a flat file in the PSA. The problem is that the flat file can be empty and in this case the QM status of the InfoPackage stays in yellow and thus the proc
-
Music plays, playlists are there but the song list is empty!?
The strangest things has happened with iTunes 7.3.2 today: all the playlists are there, I can even play the music, but the song list window is totaly empty! How has this happened and what can I do to restore the list? I've checked the .xml library fi