ReportGen in TestStand Public Directory not overriding TestStand Application Directory

I copied the reportgen_html.seq from C:\Program Files\National Instruments\TestStand 4.2.1\Components\Models\TestStandModels\ to
C:\Documents and Settings\All Users\Documents\National Instruments\TestStand 4.2.1\Components\Models\TestStandModels and customized it, but find that it will only run if I rename the original in the TestStand application directory. 
Is there something else I need to do to get the new report generator to be called correctly? 
Thanks!

You need to copy the main model files (Sequential, Batch, or Parallel) to that directory too.  The reportgen is being called from those models, and it's finding them in the NI directory, then uses a relative path to find reportgen.  I would recommend copying everything from the NI Models directory to the Public directory to get everything to work.
Allen P

Similar Messages

  • Public part not found

    Hi all,
    I have created webdynpro dc B which uses webdynpro dc A
    When i build dc B it say public part not found. but i have varified that a jar of the public part is genrated in the DC A.
    I have noticed that when i compile DC A it gives following warning message in the build log
    [dcmake] All used DCs are available locally
              [dcmake] validating dependency to build plugin "sap.com/tc/bi/bp/webDynpro"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/cmi"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/ddic/ddicruntime"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/ddic/metamodel/content"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/wd/webdynpro"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/logging"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/tc/wdp/metamodel/content"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.aii.proxy.framework"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.aii.util.misc"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.exception"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/com.sap.mw.jco"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/mail"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/IAIKSecurity"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/activation"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/webservices"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/webservices_lib"
              [dcmake] validating dependency to  public part "default" of DC "sap.com/sapxmltoolkit"
              [dcmake] DC model check OK
    Start build plugin:
              [dcmake] using build plugin: sap.com/tc/bi/bp/webDynpro
              [dcmake] starting build plugin from : C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\
    Build plugin WebdynproPlugin
    Building development component 'dc/wd_xcs', vendor 'chevron', type 'Web Dynpro'
             software component 'CVX_COSTCENTER', vendor 'chevron'.
             location 'PDI_TRCCST_D'.
             source code location 'http://cpafisp5.chvpk.chevrontexaco.net:51100/dtr/ws/TRCCST/chevron_CVX_COSTCENTER/dev/inactive/'.
    Starting build (wrapped)
    Creating Ant build file..
    Using velocity macro file: C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\bi\bp\webDynpro\_comp\gen\default\public\webDynpro\macros\build.vm
    Creating Ant build file C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\logs\build.xml
    Ant build file created in 1 second
    Starting Ant with build file C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\logs\build.xml, target build
    Using temporary directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A
    Ant build started at 2006-01-10 22:30:02 GMT+05:30 (IST)
    prepare:
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\deploy
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gwd\packages
    gen:
         [ddgen]
         [ddgen] [Info]    Property deployment is true: Deployment information is provided!
         [ddgen] [Info]    Property sourcepath: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages
         [ddgen] [Info]    Property targetpath: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gdd
         [ddgen] [Info]    Property archivename: chevrondcwd_xcs
         [ddgen] [Info]    Property vendor: chevron
         [ddgen] [Info]    Property dcname: dc/wd_xcs
         [ddgen] [Info]    Property language: Available languages are automatically determined!
         [ddgen] [Info]    Property addpaths ...
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [ddgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [ddgen] [Info]    Destination directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd does not exist
         [ddgen] [Info]    Destination directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd is created
         [ddgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/dict/_comp/gen/default/public/def/lib/java/SapDictionaryGenerationCore.jar!/DictionaryGenerationConfigurationCompiled.xml
         [ddgen] [Info]    Generating dbtables/sdmDeployDd.xml
         [ddgen] [Info]    Generation finished (0 seconds)
         [ddgen]
         [wdgen]
         [wdgen] [Info]    Property deployment is true: Deployment information is provided!
         [wdgen] [Info]    Property sourcepath: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages
         [wdgen] [Info]    Property targetpath: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gwd
         [wdgen] [Info]    Property archivename: chevrondcwd_xcs
         [wdgen] [Info]    Property vendor: chevron
         [wdgen] [Info]    Property dcname: dc/wd_xcs
         [wdgen] [Info]    Property language: Available languages are automatically determined!
         [wdgen] [Info]    Property addpaths ...
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/mm/_comp/gen/default/public/def/lib/model
         [wdgen] [Info]       SapMetamodelWebdynproContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/wdp/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]       SapMetamodelDictionaryContent.zip - C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/ddic/metamodel/content/_comp/gen/default/public/default/lib/java
         [wdgen] [Info]    Initialize generation templates from configuration jar:file:/C:/Documents and Settings/divy/.dtc/1/DCs/sap.com/tc/bi/wd/_comp/gen/default/public/def/lib/java/SapWebDynproGenerationCore.jar!/WebDynproGenerationConfigurationCompiled.xml
         [wdgen] [Info]    com.chevron.wd_xcs.comp.EmptyView2 --> TransparentContainer RootUIElementContainer [Children]: Container does not contain children
         [wdgen] [Info]    com.chevron.wd_xcs.comp.EmptyView1 --> TransparentContainer RootUIElementContainer [Children]: Container does not contain children
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/ListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalListView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateEmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/EmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalEmptyView2.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateMainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/MainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalMainView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateEmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/EmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalEmptyView1.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateDetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/DetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalDetailView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/XiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXiCCSModelCust.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivate_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/Internal_MainViewSet_Xi_ccsComp_Xi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IExternalXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterfaceCfg.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceCfg.wdcontroller
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterfaceView.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPublicXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IExternalXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IPrivateXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/InternalXi_ccsCompInterface.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/Xi_ccsCompInterface.wdcontroller
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccList and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccList
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccDetail and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result/ChildNode:ccDetail
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response/ChildNode:Result
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:Response
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput/ChildNode:input and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput/ChildNode:input
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch/ChildNode:CVXSAMST_SearchInput
           [Ant] [Info] removed internal mapping between //WebDynpro/Controller:com.chevron.wd_xcs.comp.Xi_ccsCompInterface/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch and //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust/Context/ChildNode:Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch
           [Ant] [Info] removing usage of controller //WebDynpro/Controller:com.chevron.wd_xcs.comp.XiCCSModelCust
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/IMessageXi_ccsComp.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/XcsModel.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCList.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCSearchInput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_SearchOutput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_SearchInput.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/ComplexType_CVXSADTY_CCDetail.java
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch.java
           [Ant] getParameterStringForWSInvoke:modelclassname=Request_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch
           [Ant] getParameterStringForWSInvoke:modeltype=Request
           [Ant] getParameterStringForWSInvoke:modeltype=CVXSAMST_SearchInput
           [Ant] getParameterStringForWSInvoke:result=this.CVXSAMST_SearchInput.getOriginalBean()
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/models/Response_CVXSAMSI_CCSearch_CVXSAMSI_CCSearch.java
         [wdgen] [Info]    Generating configuration/Components/com.chevron.wd_xcs.comp.Xi_ccsComp/Xi_ccsComp.xml
         [wdgen] [Info]    Generating packages/com/chevron/wd_xcs/comp/wdp/ResourceXi_ccsComp.properties
         [wdgen] [Info]    Generating configuration/Applications/com.chevron.wd_xcs.applications.Xi_CCSApp/Xi_CCSApp.xml
         [wdgen] [Info]    Generating portalapp.xml
         [wdgen] [Info]    Generating wd.xml
         [wdgen] [Info]    Generating application.xml
         [wdgen] [Info]    Generating application-j2ee-engine.xml
         [wdgen] [Info]    Generating PublicPartFileList.properties
    <b>     [wdgen] WARNING: [Warning] Generation of PublicPartFileList.xml failed: null</b>
         [wdgen] [Info]    Generation finished (2 seconds)
         [wdgen]
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
         [javac] Compiling 58 source files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
    Note: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src\packages\com\chevron\wd_xcs\models\proxies\CVXSAMSI_CCSearchBindingStub.java uses or overrides a deprecated API.
    Note: Recompile with -deprecation for details.
         [timer] Java compiler finished in 2.781s
    [wdminimize] Start minimizer for project classpath:
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\classes
    [wdminimize] external classpath:
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_admin.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_basesrvc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_clientserver.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_modelimpl.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_model_dynamicrfc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_pdfobject.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_progmodel.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_designtime_coupling_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_runtime_repository_pmr.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\wd\webdynpro\_comp\gen\default\public\default\lib\java\_webdynpro_services.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\activation\_comp\gen\default\public\default\lib\java\activation.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.aii.proxy.framework\_comp\gen\default\public\default\lib\java\aii_proxy_rt.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_jce_export.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_jsse.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_smime.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\iaik_ssl.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\IAIKSecurity\_comp\gen\default\public\default\lib\java\w3c_http.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.mw.jco\_comp\gen\default\public\default\lib\java\jrfc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.exception\_comp\gen\default\public\default\lib\java\exception.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\logging\_comp\gen\default\public\default\lib\java\logging.perf.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypeServices.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\ddic\ddicruntime\_comp\gen\default\public\default\lib\java\SapDictionaryTypesRuntime.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\jaxm-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\jaxrpc-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\saaj-api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\sapxmltoolkit.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices\_comp\gen\default\public\default\lib\java\webservices_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\tc\cmi\_comp\gen\default\public\default\lib\java\_cmi_api.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\boot.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\iq-lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\tc_sec_wssec_lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\util.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\webservices_lib\_comp\gen\default\public\default\lib\java\webservices_lib.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\com.sap.aii.util.misc\_comp\gen\default\public\default\lib\java\aii_util_misc.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\mail\_comp\gen\default\public\default\lib\java\mail.jar
    [wdminimize]   C:\Documents and Settings\divy\.dtc\1\DCs\sap.com\sapxmltoolkit\_comp\gen\default\public\default\lib\java\sapxmltoolkit.jar
    <b>       [Ant] java.lang.reflect.InvocationTargetException
           [Ant]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           [Ant]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           [Ant]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           [Ant]      at java.lang.reflect.Method.invoke(Method.java:324)
           [Ant]      at com.tssap.util.xml.DOMAccessInQMy.parse(DOMAccessInQMy.java:122)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicParts.parseConfigurationFile(PublicParts.java:55)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicParts.parsePublicParts(PublicParts.java:70)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicPartAnalyzer.analyze(PublicPartAnalyzer.java:171)
           [Ant]      at com.sap.tools.webdynpro.smart.pp.PublicPartAnalyzer.analyzePublicPartFileList(PublicPartAnalyzer.java:28)
           [Ant]      at com.sap.tools.webdynpro.smart.WDClassFileMinimizer.initialize(WDClassFileMinimizer.java:83)
           [Ant]      at com.sap.tools.webdynpro.smart.ClassFileMinimizerTask.execute(ClassFileMinimizerTask.java:155)
           [Ant]      at org.apache.tools.ant.Task.perform(Task.java:341)
           [Ant]      at org.apache.tools.ant.Target.execute(Target.java:309)
           [Ant]      at org.apache.tools.ant.Target.performTasks(Target.java:336)
           [Ant]      at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
           [Ant]      at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:124)
           [Ant]      at com.sap.tc.buildplugin.AbstractAntBuildAction.execute(AbstractAntBuildAction.java:67)
           [Ant]      at com.sap.tc.buildplugin.PluginVersion1WrapperAction.execute(PluginVersion1WrapperAction.java:32)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginVersion1(PluginHandlerImpl.java:676)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.handlePluginCommunication(PluginHandlerImpl.java:627)
           [Ant]      at com.sap.tc.buildtool.PluginHandlerImpl.execute(PluginHandlerImpl.java:214)
           [Ant]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:1386)
           [Ant]      at com.sap.tc.devconf.impl.DCProxy.make(DCProxy.java:5111)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.buildDCsForDevConfig(BuildAction.java:307)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction.access$200(BuildAction.java:58)
           [Ant]      at com.sap.ide.eclipse.component.provider.actions.dcproject.BuildAction$1.run(BuildAction.java:212)
           [Ant]      at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:101)
           [Ant] Caused by: java.io.FileNotFoundException: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gwd\PublicPartFileList.xml (The system cannot find the file specified)
           [Ant]      at java.io.FileInputStream.open(Native Method)
           [Ant]      at java.io.FileInputStream.<init>(FileInputStream.java:106)
           [Ant]      at java.io.FileInputStream.<init>(FileInputStream.java:66)
           [Ant]      at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:69)
           [Ant]      at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:156)
           [Ant]      at java.net.URL.openStream(URL.java:913)
           [Ant]      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)
           [Ant]      at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:211)
           [Ant]      at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:270)
           [Ant]      at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:331)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:92)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParserExt.parse(DOMParserExt.java:24)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParser.parse(DOMParser.java:69)
           [Ant]      at com.sap.engine.lib.xml.parser.DOMParserExt.parse(DOMParserExt.java:19)
           [Ant]      ... 27 more</b><b>[wdminimize] ERROR: failed to parse public part file list
    [wdminimize] ERROR: Non Fatal Error: failed to analyze</b> public part definitions, minimizer skipped
    [wdminimize] WARNING: Minimization skipped due to non fatal errors (see above). Classes have not been touched.
         [timer] Class minimizer finished in 0.063s
    prepareStructure:
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\srclib
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\gdd\datatypes
          [echo] Copy mimes from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/mimes to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package
          [copy] Copying 4 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
          [copy] Copied 2 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package
          [echo] Copy configurations sources from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/configuration to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/webdynpro
          [copy] Copied 3 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
          [echo] Copy config files from C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/gwd/configuration to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/webdynpro
          [copy] Copying 2 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\webdynpro
          [echo] Copy src files from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\src/packages to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package/PORTAL-INF/classes
          [copy] Copying 17 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
          [copy] Copied 2 empty directories to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF\classes
          [echo] Copy deploy files
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\wda_package\PORTAL-INF
          [echo] creating source code archive
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\src\java
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\src\java\src.zip
         [timer] Structure preparation finished in 0.578s
    package:
          [echo] Package files from C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A/wda_package
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\app.jar
           [zip] Building zip: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\chevrondcwd_xcs.wda
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\ear_package\META-INF
          [copy] Copying 1 file to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\ear_package\META-INF
          [echo] Create deploy file chevrondcwd_xcs
        [jarsap] Info: JarSAP version 20041217.1600
        [jarsap] Info: JarSAPProcessing version 20041217.1600 / JarSL version 20041217.1600
        [jarsap] Property jarsap.info.dir is not set.
        [jarsap] Building: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\deploy\chevrondcwd_xcs.ear with compression
         [timer] JarSAP finished in 0.094s
    createPPs:
          [echo] * Web Dynpro Model Entities for PublicPart: pp_test_sda *
          [copy] Copying 16 files to C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\pp\pp_test_sda
          [echo] * Create PP jar pp_test_sda.jar *
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\lib\java
           [jar] Building jar: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\lib\java\pp_test_sda.jar
          [echo] Generating Entity References for Public Part: pp_test_sda
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\srcmerge
         [mkdir] Created dir: C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\src\java
           [zip] WARNING: skipping zip archive C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda\src\java\src.zip because no files were included.
        [delete] Deleted 2 directories from C:\Documents and Settings\divy\.dtc\1\DCs\chevron\dc\wd_xcs\_comp\gen\default\public\pp_test_sda
        [delete] Deleting directory C:\Documents and Settings\divy\.dtc\1\t\1D1901AB9DE4964213B3D4BB33DE6D2A\srcmerge
         [timer] Public parts created in 0.203s
    build:
    Ant build finished OK
    Ant build finished at 2006-01-10 22:30:10 GMT+05:30 (IST), Duration: 8 seconds
    Cleaning up.
    Packages com.chevron.wd_xcs.models.proxies com.chevron.wd_xcs.models.proxies.types are not reserved for DC : dc/wd_xcs.
    Due to this Build of DC B fails.
    can any body help why that xml is not genrated in DC A

    Hi Jain,
    is the error message that the public part is not found prefixed with [dcmake]? If yes that rather points in the direction that there is a problem with the metadata information. (PP name not correctly spelled, renamed after initial creation, perhaps even some problems with upper/lower-case letters depending on your platform.)
    What SP are you using? The log looks like some rather old build plugins are used on a newer NWDI installation.
    The warning from the [wdgen] task and the subsequent failure of the [wdminimizer] can be ignored. "ERROR: Non Fatal Error" is a bit quaint, but it really is not fatal. It just means that the minimizer didn't find the data required to operate. The [wdgen] warning means that the WebDynpro generator could not write the information. So the jar files in your public part are maybe a bit bigger than necessary but that's all.
    Best regards,
    Marc

  • Is not abstract and does not override abstract method actionPerformed

    I dont how to corr. Please help!! and thank you very much!!
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class test extends JFrame implements ActionListener, ItemListener
              private CenterPanel centerPanel;
              private QuestionPanel questionPanel;
              private ButtonPanel buttonPanel;
              private ResponsePanel responsePanel;
              private JButton b1,b2,b3,b4,b5;               //Create five references to Jbutton instances
         private JTextField t1,t2,t3,t4,t5;          //Create five references to JTextField instances
              private JLabel label1;                    //Create one references to JLabel instances
              private JRadioButton q1,q2,q3;               //Create three references to JRadioButton instances
              private ButtonGroup radioGroup;               //Create one references to Button Group instances
              private int que1[] = new int[5];           //Create int[4] Array
              private int que2[] = new int[5];
              private int que3[] = new int[5];
              private String temp1, temp2, temp3, temp4, temp5, temp6, temp7, temp8, temp9, temp10,
                        temp11, temp12, temp13, temp14, temp15;
    public test (String header)
              super(header);
              Container container = getContentPane();
              label1 = new JLabel ("PLease click on your response to ");     
              q1 = new JRadioButton("I understand most of the content of this subject",true);
              add(q1);
              q2 = new JRadioButton("I see the relevance of the subject to my degree",false);
              add(q2);
              q3 = new JRadioButton("The workload in this subject is appropriate",false);
              add(q3);
              radioGroup = new ButtonGroup();               //JRadioButton belong to ButtonGroup
              radioGroup.add(q1);
              radioGroup.add(q2);
              radioGroup.add(q3);
              JPanel buttonPanel = new JPanel();
              JPanel responsePanel = new JPanel();
              JPanel questionPanel = new JPanel();
              JPanel centerPanel = new JPanel();
              b1 = new JButton ("Strongly DISAGREE");          //Instantiate JButton with text
              b1.addActionListener (this);               //Register JButtons to receive events
              b2 = new JButton ("DISAGREE");
              b2.addActionListener (this);
              b3 = new JButton ("Neither AGREE or DISAGREE");
              b3.addActionListener (this);
              b4 = new JButton ("AGREE");
              b4.addActionListener (this);
              b5 = new JButton ("Strongly AGREE");
              b5.addActionListener (this);
              buttonPanel.setLayout(new GridLayout(5,1));
              buttonPanel.add(b1);
              buttonPanel.add(b2);
              buttonPanel.add(b3);
              buttonPanel.add(b4);
              buttonPanel.add(b5);
              t1 = new JTextField ("0",3);               //JTextField contains empty string
              t2 = new JTextField ("0",3);
              t3 = new JTextField ("0",3);
              t4 = new JTextField ("0",3);
              t5 = new JTextField ("0",3);
              t1.setEditable( false );
              t2.setEditable( false );
              t3.setEditable( false );
              t4.setEditable( false );
              t5.setEditable( false );
              responsePanel.setLayout(new GridLayout(5,1));
              responsePanel.add(t1);
              responsePanel.add(t2);
              responsePanel.add(t3);
              responsePanel.add(t4);
              responsePanel.add(t5);
              questionPanel.setLayout(new GridLayout(4,1));
              questionPanel.add(label1);
              questionPanel.add(q1);
              questionPanel.add(q2);
              questionPanel.add(q3);
              centerPanel.add(buttonPanel,BorderLayout.CENTER);
              centerPanel.add(responsePanel,BorderLayout.EAST);
              container.add(centerPanel,BorderLayout.WEST);
              container.add(questionPanel,BorderLayout.NORTH);
              q1.addActionListener(
                   new ActionListener(){
              public void actionPerformed( ActionEvent e )          
    {                                        //actionPerformed of all registered listeners
              if (e.getSource() == b1) {
                   que1[0] = Integer.parseInt(t1.getText()) + 1;
                   String temp1 = String.valueOf(que1[0]);
              t1.setText(temp1);
              else if (e.getSource() == b2)     {
                   que1[1] = Integer.parseInt(t2.getText()) + 1;
                   String temp2 = String.valueOf(que1[1]);
              t2.setText(temp2);
              else if (e.getSource() == b3)     {
                   que1[2] = Integer.parseInt(t3.getText()) + 1;
                   String temp3 = String.valueOf(que1[2]);
              t3.setText(temp3);
              else if (e.getSource() == b4)     {
                   que1[3] = Integer.parseInt(t4.getText()) + 1;
                   String temp4 = String.valueOf(que1[3]);
              t4.setText(temp4);
              else if (e.getSource() == b5)     {
                   que1[4] = Integer.parseInt(t5.getText()) + 1;
                   String temp5 = String.valueOf(que1[4]);
              t5.setText(temp5);
    } //end action performed
              q2.addActionListener(
                   new ActionListener(){
              public void actionPerformed( ActionEvent e )          
    {                                        //actionPerformed of all registered listeners
              if (e.getSource() == b1) {
                   que2[0] = Integer.parseInt(t1.getText()) + 1;
                   String temp6 = String.valueOf(que2[0]);
              t1.setText(temp1);
              else if (e.getSource() == b2)     {
                   que2[1] = Integer.parseInt(t2.getText()) + 1;
                   String temp7 = String.valueOf(que2[1]);
              t2.setText(temp7);
              else if (e.getSource() == b3)     {
                   que2[2] = Integer.parseInt(t3.getText()) + 1;
                   String temp8 = String.valueOf(que2[2]);
              t3.setText(temp8);
              else if (e.getSource() == b4)     {
                   que2[3] = Integer.parseInt(t4.getText()) + 1;
                   String temp9 = String.valueOf(que2[3]);
              t4.setText(temp9);
              else if (e.getSource() == b5)     {
                   que2[4] = Integer.parseInt(t5.getText()) + 1;
                   String temp10 = String.valueOf(que2[4]);
              t5.setText(temp10);
    } //end action performed
              q3.addActionListener(
                   new ActionListener(){
              public void actionPerformed( ActionEvent e )          
    {                                        //actionPerformed of all registered listeners
              if (e.getSource() == b1) {
                   que3[0] = Integer.parseInt(t1.getText()) + 1;
                   String temp11 = String.valueOf(que3[0]);
              t1.setText(temp11);
              else if (e.getSource() == b2)     {
                   que3[1] = Integer.parseInt(t2.getText()) + 1;
                   String temp12 = String.valueOf(que3[1]);
              t2.setText(temp12);
              else if (e.getSource() == b3)     {
                   que3[2] = Integer.parseInt(t3.getText()) + 1;
                   String temp13 = String.valueOf(que3[2]);
              t3.setText(temp13);
              else if (e.getSource() == b4)     {
                   que3[3] = Integer.parseInt(t4.getText()) + 1;
                   String temp14 = String.valueOf(que3[3]);
              t4.setText(temp14);
              else if (e.getSource() == b5)     {
                   que3[4] = Integer.parseInt(t5.getText()) + 1;
                   String temp15 = String.valueOf(que3[4]);
              t5.setText(temp15);
    } //end action performed
    }//end constructor test
    public void itemStateChanged(ItemEvent item) {
    //int state = item.getStateChange();
    //if (q1 == item.SELECTED)
              public class ButtonPanel extends JPanel
                   public ButtonPanel()
              public class CenterPanel extends JPanel
                   public CenterPanel()
              public class QuestionPanel extends JPanel
                   public QuestionPanel()
              public class ResponsePanel extends JPanel
                   public ResponsePanel()
    public static void main(String [] args)
         test surveyFrame = new test("Student Survey") ;
         surveyFrame.setSize( 500,300 );
         surveyFrame.setVisible(true);
         surveyFrame.setDefaultCloseOperation (JFrame.EXIT_ON_CLOSE);
         }//end main
    }//end class test

    is not abstract and does not override abstract method actionPerformed
    Oh, I see that the title of your post is an error message? Ok. Well, the test class is declared as implementing an ActionListener. That means the test class must have an actionPerformed() method. Your test class apparently does not.
    It does not appear that the test class needs to implement ActionListener. You are using annonymous classes as listeners.

  • Is not abstract and does not override abstract method tablechanged

    I will remove all the gui code to make it shorter, but my problem lies with my InteractiveTableModelListener.
    public class Meet extends JPanel{
      private static void createAndShowGUI() {
            JFrame frame = new JFrame("MEET_dataTable");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            frame.add(new Meet(), BorderLayout.CENTER);
            frame.pack();
            frame.setVisible(true);
    public class InteractiveTableModelListener implements TableModelListener {
         public void TableChanged(TableModelEvent evt) {
      if (evt.getType() == TableModelEvent.UPDATE) {
          int column = evt.getColumn();
          int row = evt.getFirstRow();
          dataTable.setColumnSelectionInterval(column + 1, column + 1);
          dataTable.setRowSelectionInterval(row, row);
    class InteractiveRenderer extends DefaultTableCellRenderer {
      protected int interactiveColumn;
      public InteractiveRenderer(int interactiveColumn) {
          this.interactiveColumn = interactiveColumn;
    public Component getTableCellRendererComponent(JTable dataTable,
         Object value, boolean isSelected, boolean hasFocus, int row,
         int column)
      Component c = super.getTableCellRendererComponent(dataTable, value, isSelected, hasFocus, row, column);
       if (column == interactiveColumn && hasFocus) {
         if ((Meet.this.tableModel.getRowCount() - 1) == row &&
            !Meet.this.tableModel.hasEmptyRow())
             Meet.this.tableModel.addEmptyRow();
        highlightLastRow(row);
      return c;
    public void highlightLastRow(int row) {
         int lastrow = tableModel.getRowCount();
      if (row == lastrow - 1) {
          dataTable.setRowSelectionInterval(lastrow - 1, lastrow - 1);
      else {
          dataTable.setRowSelectionInterval(row + 1, row + 1);
         dataTable.setColumnSelectionInterval(0, 0);
    public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                UIManager.put("swing.boldMetal", Boolean.FALSE);
                createAndShowGUI();
    }As i say, i have removed all the gui code to make it shorter, but in this code i create the table and add all the model to it. I am being returned with the error
    Meet.InteractiveTableModelListener is not abstract and does not override abstract method tableChanged(javax.swing.event.TableModelEvent)in javax.swing.event.TableModelListener
    what would be causing this error?
    Cheers

    Sorry, just figured out my silly error, the method is tableChanged not TableChanged.
    cheers
    TOPIC CLOSED
    Edited by: nick2price on Sep 11, 2008 7:08 AM

  • Is not abstract and does not override abstract method ERROR

    Hello. I'm new at all this, and am attempting to recreate a sample code out of my book (Teach Yourself XML in 24 Hours), and I keep getting an error. I appriciate any help.
    This is the Error that I get:
    DocumentPrinter is not abstract and does not override abstract method skippedEntity(java.lang.String) in org.xml.sax.ContentHandler
    public class DocumentPrinter implements  ContentHandler, ErrorHandler
            ^This is the sourcecode:
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    public class DocumentPrinter implements  ContentHandler, ErrorHandler
    // A Constant containing the name of the SAX parser to use.
    private static final String PARSER_NAME = "org.apache.xerces.parsers.SAXParser";
    public static void main(String[] args)
       // Check to see whether the user supplied any command line arguments.  If not, print an error and exit.
       if (args.length == 0)
         System.out.println("No XML document path specified.");
         System.exit(1);
       // Create a new instance of the DocumentPrinter class.
       DocumentPrinter dp = new DocumentPrinter();
       try
         // Create a new instance of the XML Parser.
         XMLReader parser = (XMLReader)Class.forName(PARSER_NAME).newInstance();
         // Set the parser's content handler
        // parser.setContentHandler(dp);
         // Set the parsers error handler
         parser.setErrorHandler(dp);
         // Parse the file named in the argument
         parser.parse(args[0]);
       catch (Exception ex)
         System.out.println(ex.getMessage());
         ex.printStackTrace();
    public void characters(char[] ch, int start, int length)
       String chars ="";
       for (int i = start; i < start + length; i++)
         chars = chars + ch;
    System.out.println("Recieved characters: " + chars);
    public void startDocument()
    System.out.println("Start Document.");
    public void endDocument()
    System.out.println("End of Document.");
    public void startElement(String namespaceURI, String localName, String qName, Attributes atts)
    System.out.println("Start element: " + localName);
    for (int i = 0; i < atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i));
    System.out.println(" Value: " + atts.getValue(i));
    public void endElement(String namespaceURI, String localName, String qName)
    System.out.println("End of element: " + localName);
    public void startPrefixMapping(String prefix, String uri)
    System.out.println("Prefix mapping: " + prefix);
    System.out.println("URI: " + uri);
    public void endPrefixMapping(String prefix)
    System.out.println("End of prefix mapping: " + prefix);
    public void ignorableWhitespace(char[] ch, int start, int length)
    System.out.println("Recieved whitespace.");
    public void processingInstruction(String target, String data)
    System.out.println("Recieved processing instruction:");
    System.out.println("Target: " + target);
    System.out.println("Data: " + data);
    public void setDocumentLocation(Locator locator)
    // Nada
    public void error(SAXParseException exception)
    System.out.println("Parsing error on line " + exception.getLineNumber());
    public void fatalError(SAXParseException exception)
    System.out.println("Fatal parsing error on line " + exception.getLineNumber());
    public void warning(SAXParseException exception)
    System.out.println("Warning on line " + exception.getLineNumber());

    Check to make sure that the arguments are consistent with your ContentHandler class. Probably the wrong type.
    I think you forgot to include the skippedEntity method, it seems to be missing. Even if an implemented class has a method that you are not using, you still have to include the method in your code even if it doesn't do anything.
    Message was edited by:
    ChargersTule1

  • ...is not abstract and does not override abstract method compare

    Why am I getting the above compile error when I am very clearly overriding abstract method compare (ditto abstract method compareTo)? Here is my code -- which was presented 1.5 code and I'm trying to retrofit to 1.4 -- followed by the complete compile time error. Thanks in advance for your help (even though I'm sure this is an easy question for you experts):
    import java.util.*;
       This program sorts a set of item by comparing
       their descriptions.
    public class TreeSetTest
       public static void main(String[] args)
          SortedSet parts = new TreeSet();
          parts.add(new Item("Toaster", 1234));
          parts.add(new Item("Widget", 4562));
          parts.add(new Item("Modem", 9912));
          System.out.println(parts);
          SortedSet sortByDescription = new TreeSet(new
             Comparator()
                public int compare(Item a, Item b)   // LINE CAUSING THE ERROR
                   String descrA = a.getDescription();
                   String descrB = b.getDescription();
                   return descrA.compareTo(descrB);
          sortByDescription.addAll(parts);
          System.out.println(sortByDescription);
       An item with a description and a part number.
    class Item implements Comparable     
          Constructs an item.
          @param aDescription the item's description
          @param aPartNumber the item's part number
       public Item(String aDescription, int aPartNumber)
          description = aDescription;
          partNumber = aPartNumber;
          Gets the description of this item.
          @return the description
       public String getDescription()
          return description;
       public String toString()
          return "[descripion=" + description
             + ", partNumber=" + partNumber + "]";
       public boolean equals(Object otherObject)
          if (this == otherObject) return true;
          if (otherObject == null) return false;
          if (getClass() != otherObject.getClass()) return false;
          Item other = (Item) otherObject;
          return description.equals(other.description)
             && partNumber == other.partNumber;
       public int hashCode()
          return 13 * description.hashCode() + 17 * partNumber;
       public int compareTo(Item other)   // OTHER LINE CAUSING THE ERROR
          return partNumber - other.partNumber;
       private String description;
       private int partNumber;
    }Compiler error:
    TreeSetTest.java:25: <anonymous TreeSetTest$1> is not abstract and does not over
    ride abstract method compare(java.lang.Object,java.lang.Object) in java.util.Com
    parator
                public int compare(Item a, Item b)
                           ^
    TreeSetTest.java:41: Item is not abstract and does not override abstract method
    compareTo(java.lang.Object) in java.lang.Comparable
    class Item implements Comparable
    ^
    2 errors

    According to the book I'm reading, if you merely take
    out the generic from the code, it should compile and
    run in v1.4 (assuming, of course, that the class
    exists in 1.4). I don't know what book you are reading but that's certainly incorrect or incomplete at least. I've manually retrofitted code to 1.4, and you'll be inserting casts as well as replacing type references with Object (or the erased type, to be more precise).
    These interfaces do exist in 1.4, and
    without the generics.Exactly. Which means compareTo takes an Object, and you should change your overriding method accordingly.
    But this raises a new question: how does my 1.4
    compiler know anything about generics? It doesn't and it can't. As the compiler is telling you, those interfaces expect Object. Think about it, you want to implement one interface which declares a method argument type of Object, in several classes, each with a different type. Obviously all of those are not valid overrides.

  • Product is not abstract and does not override abstract method

    Received the following errors.
    Product.java:3: Product is not abstract and does not override abstract method ge
    tDisplayText() in Displayable
    public class Product implements Displayable
    ^
    Product.java:16: getDisplayText() in Product cannot implement getDisplayText() i
    n Displayable; attempting to use incompatible return type
    found : void
    required: java.lang.String
    public void getDisplayText()
    ^
    2 errors
    Code reads as follows
    import java.text.NumberFormat;
    public class Product implements Displayable
         private String code;
         private String description;
         private double price;
         public Product()
              this.code = "";
              this.description = "";
              this.price = 0;
    public void getDisplayText()
    String message =
    "Code: " + code + "\n" +
    "Description: " + description + "\n" +
    "Price: " + this.getFormattedPrice() + "\n";
         public Product(String code, String description, double price)
              this.code = code;
              this.description = description;
              this.price = price;
         public void setCode(String code)
              this.code = code;
         public String getCode(){
              return code;
         public void setDescription(String description)
              this.description = description;
         public String getDescription()
              return description;
         public void setPrice(double price)
              this.price = price;
         public double getPrice()
              return price;
         public String getFormattedPrice()
              NumberFormat currency = NumberFormat.getCurrencyInstance();
              return currency.format(price);
    Please help!

    Received the following errors.
    Product.java:3: Product is not abstract and does not
    override abstract method ge
    tDisplayText() in Displayable
    public class Product implements Displayable
    ^
    Product.java:16: getDisplayText() in Product cannot
    implement getDisplayText() i
    n Displayable; attempting to use incompatible return
    type
    found : void
    required: java.lang.String
    public void getDisplayText()
    ^
    2 errors
    Code reads as follows
    Please use the code tags when posting code. There is a code button right above the text box where you enter your post. Click on it and put the code between the code tags.
    These error messages are quite clear in telling what is wrong. You have an Interface called Displayable that specifies a method something like thispublic String getDisplayText() {But in your Product source code, you created thismethodpublic void getDisplayText() {The compiler is complaining because the methods are not the same.
    You also need to return a String in the method probalby like thisreturn message;

  • Not overriding the coherence-cache-config.xml but showing the error...

    Hi,
    I have created a file called tangosol-coherence-override.xml file in the specified path which is " C:\Program Files\Oracle\Coherence for .NET"
    and the coherence.jar file is located in path which is "C:\Program Files\Oracle\Coherence for .NET\lib"
    but it is not overriding the xml file.. with the default file...
    C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java>"C:\Progra
    m Files\Java\jdk1.6.0_11\bin\java" -server -showversion -Xms128m -Xmx128m -Dtang
    osol.coherence.ttl=0 -Dtangosol.coherence.cacheconfig=contact-cache-config.xml -
    cp "config;lib\custom-types.jar;C:\Program Files\Oracle\Coherence for .NET\lib\c
    oherence.jar" com.tangosol.net.DefaultCacheServer
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    Java HotSpot(TM) Server VM (build 11.0-b16, mixed mode)
    2011-06-20 15:06:57.607/2.366 Oracle Coherence 3.7.0.0 <Info> (thread=main, memb
    er=n/a): Loaded operational configuration from "jar:file:/C:/Program%20Files/Ora
    cle/Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence.xml"
    2011-06-20 15:06:57.989/2.748 Oracle Coherence 3.7.0.0 <Info> (thread=main, memb
    er=n/a): Loaded operational overrides from "jar:file:/C:/Program%20Files/Oracle/
    Coherence%20for%20.NET/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
    2011-06-20 15:06:58.049/2.808 Oracle Coherence 3.7.0.0 <D5> (thread=main, member
    =n/a): Optional configuration override "/tangosol-coherence-override.xml" is not
    specified
    2011-06-20 15:06:58.062/2.821 Oracle Coherence 3.7.0.0 <D5> (thread=main, member
    =n/a): Optional configuration override "/custom-mbeans.xml" is not specified
    Oracle Coherence Version 3.7.0.0 Build 23397
    Grid Edition: Development mode
    Thanks in Advance

    The CLASSPATH is not the same as the PATH. It is similar but a classpath is a set of directories or jar files that Java uses to look for executable code and resources.
    Assuming you are using the example start-cache-server.cmd file that comes with the .Net examples to start your server you can put the tangosol-coherence-override.xml file into the C:\Program Files\Oracle\Coherence for .NET\examples\ContactCache.Java\config directory as this is on the classpath when using that script.
    JK

  • Problem in not overriding equals and Hashcode

    I have a very small question. We know that if we do not override the equals and hascode of Object class, we can not use the object in the Hashed collection. Can anybody provide me a concrete example which indicates the problem if we do not override the equals and hascode.

    back to the original question from DebadattaMishra
    I have a very small question. We know that if we do
    not override the equals and hascode of Object class,
    we can not use the object in the Hashed collection.
    Can anybody provide me a concrete example which
    indicates the problem if we do not override the
    equals and hascode.lets extend the example from jverd. Suppose we have a Person and want to store some Score in a HashMapclass Person {
        String name;
        Person(String name) {
            this.name = name;
    class Score {
        int value;
        Score(int value) {
            this.value = value;
    public class PersonTest {
        Map<Person, Score> map = new HashMap<Person, Score>();
        void test() {
            map.put(new Person("John"), new Score(1));
            map.put(new Person("Maria"), new Score(2));
            Score score = searchScore("John");
            System.out.println("Found: " + score);  // Found: null
        Score searchScore(String name) {
            return map.get(new Person(name));
    }if you run test() you will get "Found: null" since the John instance in the HashMap is not the same as used in searchScore. HashMap uses the equals method from Object since we have not overridden it.
    If we add an equals methodclass Person {
        String name;
        Person(String name) {
            this.name = name;
        public boolean equals(Object obj) {
            if(obj instanceof Person) {
                Person p = (Person) obj;
                return name.equals(p.name);
            } else {
                return false;
        // hashcode not overridden
    }we probably will get "Found: null" most if the time. The HashMap uses the hashcode() to create an index for saving the keys, so it mostly will not find the Person.((there is still a very small probability that the correct Person is found))
    It will work fine if we add a hashcode like    public int hashCode() {
            return name.hashCode();
        }I hope this example helped.

  • Why does Labview hang when switching from one TestStand application to another?

    I have several 2013 TestStand applications that use a number of LabView 2013 VIs on a test computer.  When the operator closes one TestStand program and opens another often Labview does not close properly and so when TestStand tries to load the LabView VIs it hangs or just runs and every test that is affected by LabView fails.  The only potential issues that I know about are that two of the applications were created in LabView 2009 and then updated to 2013.  Then two other TestStand applications that were created in 2013 use the function "UnloadAllModules". 
    Are there any known issues with LabView 2013 that cause this or any ideas of what I might be doing wrong?
    Solved!
    Go to Solution.

    Hello Michael,
    I did find my issue.  In my case a VI was not getting closed properly in cleanup due to the previous command not passing the handler out correctly.  Thus this VI would remain open and when I ran another TestStand Sequence, when it tried to load that LabView VI it would just hang.  But the result of this error could be seen when I closed TestStand and LabView stayed open (since it was frozen) or when done running the sequence and closing it.  Then if you tried to pop-up LabView it would not show the starting splash screen because it had froze.
    I found the problem by turning on the show VI front panel option in TestStand for all of the VI calls.  The VI that stayed open was the problem VI.
    Thanks everyone who responded for your help!
    Kurtus

  • ORA 04067 %rowtype and "PUBLIC". does not exist

    Hi I have an error ORA-04067 for %rowtype in oracle 10g while running a form in turn it is calling a package. But the same thing is running fine with oracle 8i.
    Is there any code changes we need to made to upgrade to oracle 10g. Is that not backward compatable to cursors. procedure is using rowtype variables.
    can any one tell me the problem while migrating to oracle 10g from oracle 6i.
    Basically I am getting two errors I am not sure whether these two are realted or not.
    The error is Error code - 4067 and the Error - ORA 04067: not executed, Stored procedure "PUBLIC". does not exist.
    We have applied a patch to solve "PUBLIC" issue but form is still not working.
    procedure GetInventory
    (p_inventory_rec in out INVENTORY%ROWTYPE,
    p_lock BOOLEAN,
    p_found out boolean,
    p_locked out boolean) is
    I will really appreciate your help.
    Thanks
    Sandy

    Perhaps this link can give you some basic idea - i guess ->
    db function throws ORA-04067 Procedure does not exist error in forms
    Regards.
    Satyaki De.

  • I suddenly have this error message on FireFoxthis message pops up: "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no re

    I suddenly encounter this error message from Fire Fox.
    Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features.
    I uninstalled the browser and download a new version but it does not resolve the issue.
    I know my hard disc has ample space. I do NOT know where to find the Profile directory to fix the read restriction box.
    == This happened ==
    Every time Firefox opened
    == After something about security add-on of Norton pop up by itself. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; MSN Optimized;US)

    This link shows things to check - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • New WIN7 System, FFox gives error "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory" - will not go to any site.

    New Windows 7 computer. After installing Firefox, every time I bring it up I get the following message:
    "Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."
    Then Firefox comes up, but will not function at all - can enter url address, but will not respond to ANY clicks, so can not go to any site.

    This link shows how to fix this - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • I keep getting this diologue box as I start up Firefox "Could not initialise the application's security component. The most probable cause is problems with files in your browser's profile directory. ... what should I do exactly?

    I keep getting the following dialogue box when I start Firefox " Could not initialise the application's security component. The most probable cause is problems with files in your browser's profile directory. Please check that this directory has no read/write restrictions." I am not sure how to find or change the profile directory. I have gone to the Options: General: Save files to ...box but it wont allow me to browse to another file and the box remains blank. ideas please!

    See [[Could not initialize the browser security component]]
    Continue here: [/questions/780717]

  • This message [Ubuntu repositories or Mozilla download: " There is no Profile folder Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory....

    Ubuntu 11.04: I have been getting this message whenever I install Firefox from the repositories and downloading the tar file. I cannot use Firefox! " There is no Profile folder Could not initialize the application's security component. The most likely cause is problems with files in your application's profile directory. Please check that this directory has no read/write restrictions and your hard disk is not full or close to full. It is recommended that you exit the application and fix the problem. If you continue to use this session, you might see incorrect application behaviour when accessing security features."Firefox does not respond to any addresses or a google search. Indeed it responds to nothing. There is no Profile folder!

    Uninstalling Firefox on Linux
    * http://kb.mozillazine.org/Uninstalling_Firefox#On_Linux
    * http://kb.mozillazine.org/Installation_directory#Linux
    * Removing user profile data - http://kb.mozillazine.org/Uninstalling_Firefox#Removing_user_profile_data
    After all is done, Restart your system.
    Installing Firefox on Linux
    * https://support.mozilla.com/en-US/kb/Installing%20Firefox%20on%20Linux
    Check and tell if its working.

Maybe you are looking for

  • Error MESSIGE Help please

    Hello, i am copying this code straight out the book and i still get a error message: this is th code and the error messige please help me fix it.... -the program is saved under the correct name and it compiles fine but when it runs this happens : imp

  • ITunes error message while installing 'HKEY_LOCAL_MACHINE/Software/classes/

    SOMEBODY PLEASE HELP!!! I am trying to install the newest version of iTunes (7.2.0.35) and I keep getting an error message halfway through the install that says... "Could not open key: HKEYLOCALMACHINE/Software/classes/.pls/OpenWithList. Verify that

  • How to insert the new Servlet Api Class files?

    Hi, I need to know how do I add the Servlet Api Class to my java directory after i download it from the net? Thanks for your help in advance!

  • Image() with MouseAdapter

    I have an image Image button = getImage(getCodeBase(), "images/buttonClean.gif"); I tried adding <pre> button..addMouseListener(new MouseAdapter() { public void mousePressed(MouseEvent e) {      //Event handler implementation goes here...      myButt

  • Cfajaxproxy component refresh issue

    I have several <cfselect>'s on a page, each of which are bound to cfc's returning the results of a query. When a selection is made on any one the the <cfselects> I want to repopulate the other <cfselects> using something like: <cfajaxproxy bind="cfc: