Skip to Content
0
Former Member
Apr 11, 2008 at 03:09 PM

Central build fails when checking in an activity

14 Views

I have a web dynpro application that uses a javabean as model. The javabean has several properties that are of type collection that are mapped to DTOs that consist of simple types. I had to add a new simple type (integer) to one of the DTOs and made the same change in web dynpro by adding the integer property to the appropriate model class.

I did a reload + rebuild in web dynpro, dragged the new model attribute from the model to the component controller and added the attribute to my view. I then did a DC build and then a DC deploy and the application works. I can retrieve, update and add values from the database with the new field.

When I go to check my activity in, the central build fails and the failure is related to the new attribute that was added. Im wondering in the problem is related to problems with the NWDI server, as it was restarted several times this week while I had my activity open.

When I browse to the dev/inactive branch in the DTR, I can see the new attribute that was added to JobPartDTO.java class in the DTO DC and I can see the new attribute that was added to the JobPartDTO.wdmodelclass in the web dynpro DC. In the dev/active branch, theses changes are not present.

Here are the errors from the CBS log.

[echo] Starting Java compiler
     [javac] Compiling 73 source files to /usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/classes
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12771: cannot resolve symbol
symbol  : method getOperSeqNo ()
location: class com.company.dev.jsets.dto.JobPartDTO
      return gen_modelInstance.getOperSeqNo();
                              ^
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12779: cannot resolve symbol
symbol  : method setOperSeqNo (int)
location: class com.company.dev.jsets.dto.JobPartDTO
      gen_modelInstance.setOperSeqNo(value);
                       ^
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12791: cannot resolve symbol
symbol  : method getOperSeqNo ()
location: class com.company.dev.jsets.dto.JobPartDTO
          return new Integer(gen_modelInstance.getOperSeqNo());
                                              ^
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12808: cannot resolve symbol
symbol  : method setOperSeqNo (int)
location: class com.company.dev.jsets.dto.JobPartDTO
          gen_modelInstance.setOperSeqNo(((Number)value).intValue());
                           ^
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12820: cannot resolve symbol
symbol  : method getOperSeqNo ()
location: class com.company.dev.jsets.dto.JobPartDTO
          return gen_modelInstance.getOperSeqNo();
                                  ^
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/wdp/IPublicJobSetsComp.java:12829: cannot resolve symbol
symbol  : method setOperSeqNo (int)
location: class com.company.dev.jsets.dto.JobPartDTO
          gen_modelInstance.setOperSeqNo((int)value);
                           ^
/usr/sap/DJD/JC50/j2ee/cluster/server0/temp/CBS/eb/.B/10398/t/E63CF921E07C342BC77B3BB9E227D7A8/gwd/packages/com/company/dev/jsets/wdp/JobSetsComp.java:3052: cannot resolve symbol
symbol  : method setOperSeqNo (int)
location: class com.company.dev.jsets.dto.JobPartDTO
			dto.setOperSeqNo(operSeqNo);
                           ^
7 errors