Cannot instantiate the type ABCImpl

When tried to create servant and register it with the ORB am getting the error message "Cannot instantiate the type ABCImpl"
ABCImpl aBCImpl = new ABCImpl();
Am new to server implimentation. Please help

A small Correction
ABCPOAImpl aBCPOAImpl = new ABCPOAImpl();
The Java class ABCPOAImpl is the skeleton file for the server-side mapping.

Similar Messages

  • Cannot instantiate the type XYZ

    trying to work with generic typing, we tried to make a queue (using java.util), but it didn't compile, excusing the above...

    Queue is an interface, so basically an abstract type. You can only instantiate concrete classes. Either define a class that implements Queue<String> or write an anonymous inner class that implements it
    public class QueueImpl<T> implements Queue<T> {
    // provide ALL methods declared by Queue<T> here
    Queue<String> queue = new QueueImpl<String>();
    //use queue hereor
    Queue<String> queue  = new Queue<String>() {
    // implement ALL methods declared by Queue
    // use queue here

  • I cannot use the type tool in Photoshop CC it goes black. Why?

    I cannot use the type tool in Photoshop CC it goes black. Why?

    What goes black?
    What OS version are you using?
    And have you updated your video card drivers from the GPU maker's website? (bugs in video drivers being the most common cause of display issues)

  • Cannot select the connection type on the Nokia PC ...

    Operating System: MS Windows 7 (x64) Home Basic Service Pack 1
    Mobile Phone:        Nokia 5130 Xpress Music Edition (V.10.10) and Nokia E66
    Connection type:   USB Cable (CA-101) with Nokia PC Suite 7.1
    Problem:    I cannot select the connection type on the Nokia PC Suite after running the programme and connecting them 
    Description: It was connected only one device, and it found that I cannot select the type of connection; however, I can run well on the Mass Storage of the both devices. Now, I guess that the problem is capability of MS Windows in Home Basic Edition because Ovi Suite cannot work on the version (Nokia's website shows on the systematic requirement)
    Thank you
    Solved!
    Go to Solution.

    Operating System: MS Windows 7 (x64) Home Premium
    Mobile Phone:        Nokia 5230
    Connection type:   USB Cable with Nokia PC Suite 7.1.60
    Problem with the Nokia Connectivity Manager - no connections are listed and the reinstall error goes away after running repair for the Nokia Connectivity Cable Driver.  Have tried the
    PC Suite Cleaner
    CC Cleaner
    many PC Suite reinstallations after disabling anti-virus
    On some installations, I would get an error "Service cannot be started" but when I cancel and restart the installation it goes straight through - I always end up with a blank window in the Connection Manager.  Looked for some other issues found in older forums addressing older versions, nothing has worked yet.  More help, please.

  • "Cannot get parameter type" exception in logs

    Hello, Everyone!
    I am trying to migrate my old Birt reports to a new runtime version (and new designing capabilities as well). The reports get rendered correctly after migration but I experience some lack of performance (quite significant actually). When I check logs I see lots of SEVERE exceptions concerning report parameters which probably affect the delay.
    Technical parameters:
    Database: Oracle 11g
    AS: Apache Tomcat 7.0.26
    Java: 1.7.0_67
    JDBC Driver: ojdbc6.jar or ojdbc7.jar (described below)
    old Birt Viewer Runtime version: 2.5.2
    new Birt Viewer Runtime version: 4.4.2 (the latest)
    The exceptions are following:
    Apr 07, 2015 7:55:40 PM org.eclipse.birt.data.engine.odaconsumer.PreparedStatement doSetNull( int )
    SEVERE: Cannot set a null value to parameter 147.
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot set preparedStatement null value.
    SQL error #1:Unsupported feature
    java.sql.SQLException: Unsupported feature
    at org.eclipse.birt.report.data.oda.jdbc.Statement.setNull(Statement.java:884)
    at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaQuery.setNull(OdaQuery.java:1223)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.doSetNull(PreparedStatement.java:4691)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setNull(PreparedStatement.java:4173)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3113)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3070)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.setInputParameterBinding(DataSourceQuery.java:1159)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:919)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:503)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
    at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
    at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
    at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
    at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
    at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
    at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
    at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:191)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
    at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.sql.SQLException: Unsupported feature
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
    at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:765)
    at oracle.jdbc.driver.OracleParameterMetaData.getParameterType(OracleParameterMetaData.java:156)
    at org.eclipse.birt.report.data.oda.jdbc.Statement.setNull(Statement.java:879)
    ... 60 more
    and:
    Apr 07, 2015 7:55:40 PM org.eclipse.birt.data.engine.odaconsumer.ParameterMetaData getRuntimeParameterType
    SEVERE: Cannot get the type for parameter: 1.
    org.eclipse.birt.report.data.oda.jdbc.JDBCException: Cannot get parameter type.
    SQL error #1:Unsupported feature
    java.sql.SQLException: Unsupported feature
    at org.eclipse.birt.report.data.oda.jdbc.ParameterMetaData.getParameterType(ParameterMetaData.java:161)
    at org.eclipse.datatools.connectivity.oda.consumer.helper.OdaParameterMetaData.getParameterType(OdaParameterMetaData.java:177)
    at org.eclipse.birt.data.engine.odaconsumer.ParameterMetaData.getRuntimeParameterType(ParameterMetaData.java:233)
    at org.eclipse.birt.data.engine.odaconsumer.ParameterMetaData.<init>(ParameterMetaData.java:97)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.mergeParamHintsWithMetaData(PreparedStatement.java:1674)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getParameterMetaData(PreparedStatement.java:1525)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getParameterMetaData(PreparedStatement.java:1539)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getParameterType(PreparedStatement.java:798)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.retrySetParameterValue(PreparedStatement.java:3211)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3188)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3070)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.setInputParameterBinding(DataSourceQuery.java:1159)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.execute(DataSourceQuery.java:919)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.executeOdiQuery(PreparedOdaDSQuery.java:503)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.execute(QueryExecutor.java:1222)
    at org.eclipse.birt.data.engine.impl.ServiceForQueryResults.executeQuery(ServiceForQueryResults.java:233)
    at org.eclipse.birt.data.engine.impl.QueryResults.getResultIterator(QueryResults.java:178)
    at org.eclipse.birt.report.engine.data.dte.QueryResultSet.<init>(QueryResultSet.java:98)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:168)
    at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
    at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
    at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
    at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
    at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:191)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
    at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:722)
    Caused by: java.sql.SQLException: Unsupported feature
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:199)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:263)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:271)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:445)
    at oracle.jdbc.driver.DatabaseError.throwUnsupportedFeatureSqlException(DatabaseError.java:765)
    at oracle.jdbc.driver.OracleParameterMetaData.getParameterType(OracleParameterMetaData.java:156)
    at org.eclipse.birt.report.data.oda.jdbc.ParameterMetaData.getParameterType(ParameterMetaData.java:155)
    ... 65 more
    These exceptions probably refer to dataset (query) parameters rather than to report parameters because of their numbers and total amount.
    The first exception "Cannot set preparedStatement null" seems to be thrown for all parameters that are initially nulls. The second exception "Cannot get parameter type" seems to be thrown for all parameters (twice for some).
    The second one probably has something to do with this bug: https:\//bugs.eclipse.org/bugs/show_bug.cgi?format=multiple&id=384925 Although it is declared to be fixed in an earlier Birt runtime version (4.2.1) and I'm using a later one (4.4.2).
    The first one gets critical if I change the Oracle jdbc driver to the new and the most appropriate one (ojdbc7.jar), which should be a better choice because I have Java 7. Older driver ojdbc6.jar renders the report but writes the exception to the logfile, the newer one produces the following in browser:
    - org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    AxisFault
    faultCode: BirtRunReportActionHandler.__execute()
    faultSubcode:
    faultString: org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    faultActor:
    faultNode:
    faultDetail:
    stackTrace:org.eclipse.birt.report.engine.api.EngineException: Error happened while running the report.
    at org.eclipse.birt.report.engine.api.impl.EngineTask.handleFatalExceptions(EngineTask.java:2363)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:277)
    at org.eclipse.birt.report.engine.api.impl.RunTask.run(RunTask.java:86)
    at org.eclipse.birt.report.service.ReportEngineService.runReport(ReportEngineService.java:1325)
    at org.eclipse.birt.report.service.BirtViewerReportService.runReport(BirtViewerReportService.java:158)
    at org.eclipse.birt.report.service.actionhandler.BirtRunReportActionHandler.__execute(BirtRunReportActionHandler.java:81)
    at org.eclipse.birt.report.service.actionhandler.AbstractBaseActionHandler.execute(AbstractBaseActionHandler.java:90)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.doService(FramesetFragment.java:191)
    at org.eclipse.birt.report.presentation.aggregation.layout.FramesetFragment.service(FramesetFragment.java:86)
    at org.eclipse.birt.report.servlet.ViewerServlet.__doGet(ViewerServlet.java:181)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.doPost(BirtSoapMessageDispatcherServlet.java:278)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
    at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    at org.eclipse.birt.report.servlet.BirtSoapMessageDispatcherServlet.service(BirtSoapMessageDispatcherServlet.java:122)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.eclipse.birt.report.filter.ViewerFilter.doFilter(ViewerFilter.java:68)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
    Caused by: java.lang.NullPointerException
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.getScaleValue(PreparedStatement.java:4423)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.doSetBigDecimal(PreparedStatement.java:4359)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setBigDecimal(PreparedStatement.java:3955)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.retrySetNullParamValue(PreparedStatement.java:3744)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.retrySetParameterValue(PreparedStatement.java:3245)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3183)
    at org.eclipse.birt.data.engine.odaconsumer.PreparedStatement.setParameterValue(PreparedStatement.java:3070)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.setInputParameterBinding(DataSourceQuery.java:1159)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.addParameterDefns(DataSourceQuery.java:605)
    at org.eclipse.birt.data.engine.executor.DataSourceQuery.prepare(DataSourceQuery.java:304)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery$OdaDSQueryExecutor.prepareOdiQuery(PreparedOdaDSQuery.java:517)
    at org.eclipse.birt.data.engine.impl.QueryExecutor.prepareExecution(QueryExecutor.java:346)
    at org.eclipse.birt.data.engine.impl.PreparedQuery.doPrepare(PreparedQuery.java:463)
    at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.produceQueryResults(PreparedDataSourceQuery.java:190)
    at org.eclipse.birt.data.engine.impl.PreparedDataSourceQuery.execute(PreparedDataSourceQuery.java:178)
    at org.eclipse.birt.data.engine.impl.PreparedOdaDSQuery.execute(PreparedOdaDSQuery.java:178)
    at org.eclipse.birt.report.data.adapter.impl.DataRequestSessionImpl.execute(DataRequestSessionImpl.java:637)
    at org.eclipse.birt.report.engine.data.dte.DteDataEngine.doExecuteQuery(DteDataEngine.java:152)
    at org.eclipse.birt.report.engine.data.dte.DataGenerationEngine.doExecuteQuery(DataGenerationEngine.java:83)
    at org.eclipse.birt.report.engine.data.dte.AbstractDataEngine.execute(AbstractDataEngine.java:275)
    at org.eclipse.birt.report.engine.executor.ExecutionContext.executeQuery(ExecutionContext.java:1947)
    at org.eclipse.birt.report.engine.executor.QueryItemExecutor.executeQuery(QueryItemExecutor.java:80)
    at org.eclipse.birt.report.engine.executor.TableItemExecutor.execute(TableItemExecutor.java:62)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.emitter.ReportItemEmitterExecutor.execute(ReportItemEmitterExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.dup.SuppressDuplicateItemExecutor.execute(SuppressDuplicateItemExecutor.java:43)
    at org.eclipse.birt.report.engine.internal.executor.wrap.WrappedReportItemExecutor.execute(WrappedReportItemExecutor.java:46)
    at org.eclipse.birt.report.engine.internal.executor.l18n.LocalizedReportItemExecutor.execute(LocalizedReportItemExecutor.java:34)
    at org.eclipse.birt.report.engine.layout.html.HTMLBlockStackingLM.layoutNodes(HTMLBlockStackingLM.java:65)
    at org.eclipse.birt.report.engine.layout.html.HTMLPageLM.layout(HTMLPageLM.java:92)
    at org.eclipse.birt.report.engine.layout.html.HTMLReportLayoutEngine.layout(HTMLReportLayoutEngine.java:100)
    at org.eclipse.birt.report.engine.presentation.ReportDocumentBuilder.build(ReportDocumentBuilder.java:249)
    at org.eclipse.birt.report.engine.api.impl.RunTask.doRun(RunTask.java:269)
    ... 32 more
    For reproducing the situation in the test environment I simply modified standard test.rptdesign and added a datasource and a dataset with one sample parameter:
    <?xml version="1.0" encoding="UTF-8"?>
    <report xmlns="http:\//www.eclipse.org/birt/2005/design" version="3.2.23" id="1">
    <property name="author">Bertie the Platypus</property>
    <property name="comments">Not a very interesting report, just a "Hello World" with a param.</property>
    <property name="createdBy">Eclipse BIRT Designer Version 4.3.2.v20140211-1400 Build &lt;4.3.2.v20140225-1404></property>
    <html-property name="description">Sample report used to test the BIRT viewer.</html-property>
    <property name="units">in</property>
    <property name="layoutPreference">auto layout</property>
    <parameters>
    <scalar-parameter name="sample" id="2">
    <text-property name="displayName">Sample Parameter</text-property>
    <property name="hidden">false</property>
    <property name="valueType">static</property>
    <property name="isRequired">false</property>
    <property name="dataType">decimal</property>
    <property name="distinct">true</property>
    <list-property name="selectionList"/>
    <property name="paramType">simple</property>
    <property name="concealValue">false</property>
    <property name="controlType">text-box</property>
    <structure name="format">
    <property name="category">Unformatted</property>
    </structure>
    </scalar-parameter>
    </parameters>
    <data-sources>
    <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="compl" id="27">
    <list-property name="privateDriverProperties">
    <ex-property>
    <name>metadataBidiFormatStr</name>
    <value>ILYNN</value>
    </ex-property>
    <ex-property>
    <name>disabledMetadataBidiFormatStr</name>
    </ex-property>
    <ex-property>
    <name>contentBidiFormatStr</name>
    <value>ILYNN</value>
    </ex-property>
    <ex-property>
    <name>disabledContentBidiFormatStr</name>
    </ex-property>
    </list-property>
    <property name="odaDriverClass">oracle.jdbc.OracleDriver</property>
    <property name="odaURL">jdbc:oracle:thin:@hawk.insoft03.lan:1521:hawkw</property>
    <property name="odaUser">compl_test</property>
    <encrypted-property name="odaPassword" encryptionID="base64">Y29tcGw=</encrypted-property>
    <property name="odaJndiName">java:comp/env/jdbc/moonDB</property>
    </oda-data-source>
    </data-sources>
    <data-sets>
    <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="test" id="28">
    <list-property name="parameters">
    <structure>
    <property name="name">param_1</property>
    <property name="paramName">sample</property>
    <property name="dataType">string</property>
    <property name="position">1</property>
    <property name="isInput">true</property>
    <property name="isOutput">false</property>
    </structure>
    </list-property>
    <structure name="cachedMetaData">
    <list-property name="resultSet">
    <structure>
    <property name="position">1</property>
    <property name="name">:1</property>
    <property name="dataType">string</property>
    </structure>
    </list-property>
    </structure>
    <property name="dataSource">compl</property>
    <list-property name="resultSet">
    <structure>
    <property name="position">1</property>
    <property name="name">:1</property>
    <property name="nativeName">:1</property>
    <property name="dataType">string</property>
    </structure>
    </list-property>
    <xml-property name="queryText"><![CDATA[select ?
    from dual]]></xml-property>
    <xml-property name="designerValues"><![CDATA[]]></xml-property>
    </oda-data-set>
    </data-sets>
    <page-setup>
    <simple-master-page name="Simple MasterPage" id="3">
    <property name="topMargin">1in</property>
    <property name="leftMargin">1.25in</property>
    <property name="bottomMargin">1in</property>
    <property name="rightMargin">1.25in</property>
    <page-header>
    <grid id="4">
    <property name="width">100%</property>
    <column id="5"/>
    <row id="6">
    <cell id="7">
    <property name="fontSize">xx-large</property>
    <property name="fontWeight">bold</property>
    <property name="textAlign">center</property>
    <text id="8">
    <text-property name="content"><![CDATA[Title]]></text-property>
    </text>
    </cell>
    </row>
    </grid>
    </page-header>
    <page-footer>
    <grid id="9">
    <property name="width">100%</property>
    <column id="10"/>
    <column id="11"/>
    <row id="12">
    <cell id="13">
    <text id="14">
    <property name="contentType">html</property>
    <text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
    </text>
    </cell>
    <cell id="15">
    <property name="textAlign">right</property>
    <auto-text id="26">
    <property name="type">page-number</property>
    </auto-text>
    </cell>
    </row>
    </grid>
    </page-footer>
    </simple-master-page>
    </page-setup>
    <body>
    <text id="17">
    <property name="contentType">html</property>
    <text-property name="content"><![CDATA[<b>Congratulations!</b>
    <br><br>
    If you can see this report, it means that the BIRT viewer is installed correctly.
    <br><br>]]></text-property>
    </text>
    <grid id="18">
    <property name="width">100%</property>
    <column id="19">
    <property name="width">1.354in</property>
    </column>
    <column id="20">
    <property name="width">5.083in</property>
    </column>
    <row id="21">
    <cell id="22">
    <label id="23">
    <text-property name="text">Sample Parameter:</text-property>
    </label>
    </cell>
    <cell id="24">
    <data id="25">
    <list-property name="boundDataColumns">
    <structure>
    <property name="name">params["sample"]</property>
    <expression name="expression">params["sample"]</expression>
    </structure>
    </list-property>
    <property name="resultSetColumn">params["sample"]</property>
    </data>
    </cell>
    </row>
    <row id="29">
    <cell id="30">
    <label id="32">
    <text-property name="text">Query result:</text-property>
    </label>
    </cell>
    <cell id="31">
    <data id="33">
    <property name="dataSet">test</property>
    <list-property name="boundDataColumns">
    <structure>
    <property name="name">Column Binding</property>
    <expression name="expression" type="javascript">dataSetRow[":1"]</expression>
    <property name="dataType">string</property>
    <property name="allowExport">true</property>
    </structure>
    </list-property>
    <property name="resultSetColumn">Column Binding</property>
    </data>
    </cell>
    </row>
    </grid>
    </body>
    </report>
    The exceptions raise even in such a simple case. Of course it doesn't take minutes to show, but concerning my report with several datasets taking more than 200 parameters in total, the response time drastically raised from about 30-40 seconds up to 3 minutes.
    So I need help!

    Hello,
    Were you able to solve this problem and how?
    Thanks

  • A webpart or web form control on this page cannot be displayed or imported.The type could not be found or it is not registered as safe.

    Hi,
    After moving my files from SP 2010 to SP 2013 , for all my web parts i am getting A webpart or web form control on this page cannot be displayed or imported.The type could not be found or it is not registered as safe. error. I checked web.config files
    and they are there as safe control and trust level is also full. 
    These webparts work in 2010.
    Do i need to tweak something in code or distributed cache to make this thing work? The errors i see are
    Error importing WebPart. Assembly  c , Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29, TypeName. C. A Web Part or Web Form Control on this Page cannot be displayed or imported. The type c Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29
    could not be found or it is not registered as safe.
    Getting Error Message for Exception Microsoft.SharePoint.ApplicationRuntime.SafeControls+UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The type C Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29
    could not be found or it is not registered as safe.    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean clearConnections)    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.Import(SPWebPartManager manager, XmlReader reader, Boolean clearConnections, Uri webPartPageUri, SPWeb spWeb)    
     at Microsoft.SharePoint.WebPartPages.WebPartGalleryItemBase.InstantiateFromXml(XmlReader reader)    
     at Microsoft.SharePoint.WebPartPages.WebPartAdder.SiteWebPartGalleryProvider.SiteWebPartGalleryItem.Instantiate()    
     at Microsoft.SharePoint.WebPartPages.WebPartGallerySourceBase.AddItemToPage(WebPartZoneBase zone, Int32 zoneIndex, WebPartGalleryItem item, String wpid)    
     at Microsoft.SharePoint.WebPartPages.WebPartAdder.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
    An error occurred while attempting to add the gallery item [Custom] c to the page. The error was: Microsoft.SharePoint.ApplicationRuntime.SafeControls+UnsafeControlException: A Web Part or Web Form Control on this Page cannot be displayed or imported. The
    type c Version=1.0.0.0, Culture=neutral, PublicKeyToken=216eaf49984a9b29 could not be found or it is not registered as safe.    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.CreateWebPart(Boolean clearConnections)    
     at Microsoft.SharePoint.WebPartPages.WebPartImporter.Import(SPWebPartManager manager, XmlReader reader, Boolean clearConnections, Uri webPartPageUri, SPWeb spWeb)    
     at Microsoft.SharePoint.WebPartPages.WebPartGalleryItemBase.InstantiateFromXml(XmlReader reader)    
     at Microsoft.SharePoint.WebPartPages.WebPartAdder.SiteWebPartGalleryProvider.SiteWebPartGalleryItem.Instantiate()    
     at Microsoft.SharePoint.WebPartPages.WebPartGallerySourceBase.AddItemToPage(WebPartZoneBase zone, Int32 zoneIndex, WebPartGalleryItem item, String wpid)    
    Adit

    Hi Adit,
    According to your description, my understanding is that the error occurred when you deployed the .wsp files to SharePoint 2013.
    I recommend to check if all the assemblies are put into the BIN and GAC.
    If above cannot work, you can check the troubleshooting steps in the link below:
    http://www.bluedoglimited.com/SharePointThoughts/Lists/Posts/Post.aspx?ID=189
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • The type Comparable is not generic; it cannot be parameterized

    I´ve some third party sourcecode which i had to customize. I imported the code into eclipse (ganymede). The project is using a 1.5 SDK. There is some source file which shows the following error just in line 0:
    Description     Resource     Path     Location     Type
    The type Comparable is not generic; it cannot be parameterized with arguments <E>     ContentTransferComponent.java     LEMI_WEB/webcomponent/src/com/documentum/webcomponent/library/contenttransfer     line 0     Java Problem
    By copying the methods into a new class, i was able to track down the problem to the inner interface definition. Removing the inner interface removes the error from the class. However as the interface is implemented by two other classes from the same package, this isn´t really a solution.
    Is this some kind of source code error or maybe i would better have reported this issue into some of the eclipse forums?
    ======
    package com.documentum.webcomponent.library.contenttransfer;
    import *
    * Class ContentTransferComponent.
    * @author pawelz
    * @version $Revision: 12$
    public abstract class ContentTransferComponent extends Component
          implements IContentTransferComponent
        * Component initialisation.
        * @param arg Dictionary of form arguments.
       public void onInit(ArgumentList arg)
          super.onInit(arg);
          initControlsFromConfig();
        * Initializes controls from component's config settings.
       protected void initControlsFromConfig()
          try
             IConfigElement initControls = lookupElement("init-controls");
             if (initControls != null)
                for (Iterator controls = initControls.getChildElements(); controls.hasNext();)
                   IConfigElement ctrl = (IConfigElement) controls.next();
                   String ctrlName = ctrl.getAttributeValue("name");
                   String ctrlType = ctrl.getAttributeValue("type");
                   if ((ctrlName != null && ctrlName.length() > 0)
                         && (ctrlType != null && ctrlType.length() > 0))
                      Class cl = Class.forName(ctrlType);
                      Control control = getControl(ctrlName, cl);
                      for (Iterator props = ctrl.getChildElements(); props.hasNext();)
                         IConfigElement initProp = (IConfigElement) props.next();
                         String propName = initProp.getChildValue("property-name");
                         IConfigElement valueElem = initProp.getChildElement("property-value");
                         if ((propName != null && propName.length() > 0)
                            && valueElem != null)
                            String propValue = valueElem.getValue();
                            //BeanUtils.setProperty(control, propName, propValue);
                            HashMap propMap = new HashMap(1);
                            propMap.put(propName, propValue);
                            BeanUtils.populate(control, propMap);
          catch (ClassNotFoundException e)
             throw new WrapperRuntimeException(e);
          catch (IllegalAccessException e)
             throw new WrapperRuntimeException(e);
          catch (InvocationTargetException e)
             throw new WrapperRuntimeException(e);
        * Creates an instance of transport used by the service.
        * @return transport instance
       protected IServiceProcessor createServiceProcessor()
          Class processorClass = getProcessorClass();
          if (processorClass == null)
             throw new WrapperRuntimeException("Could not create processor");
          IServiceProcessor proc;
          try
             proc = (IServiceProcessor) processorClass.newInstance();
          catch (Exception e)
             throw new WrapperRuntimeException("Could not instantiate processor", e);
          return proc;
       // some code removes due to max. length restricton
        * IBocsWriteModeConfigurator Interface
       public interface IBocsWriteModeConfigurator
           * Gets the Bocs write-mode selection.
           * @return bocs write-mode selected
          BocsWriteMode getMode();
          /** BOCS write modes. */
          public enum BocsWriteMode
             /** BOCS write mode not applicable. */
             NOT_APPLICABLE,
             /** BOCS Synchronous write mode. */
             SYNC,
             /** BOCS Asynchronous write mode. */
             ASYNC
    }

    masijade. wrote:
    georgemc wrote:
    spille2 wrote:
    I imported the code into eclipse (ganymede). The project is using a 1.5 SDK. These two statements make me wonder if you understand that Eclipse uses it's own compiler, not the Sun SDK, and that the JRE used to run Eclipse in, the JRE used to launch your projects in, and the version of the compiler, are all separately configurable, sometimes with unusual results. It's possible to set it up so that, for example, it's compiling code for 1.5 against 1.4 class libraries. Of course, I could be barking up the wrong tree, but this is something to checkWell, it's possible to do that with javac, too, just, there, it's much easier to notice that you're doing it (since you would have to type it in explicitly). ;-)You can make javac run itself in a different JRE?? :-)

  • I downloaded mountain lion and then the new office suite (word, ppt, excel) but now when I try to display one of my ppt's it says 'ppt cannot open the file...the file may be corrupt, in use, not a type recognized by ppt etc.." how can I fix it?? HELP

    I downloaded mountain lion and then the new office suite (word, ppt, excel) but now when I try to display one of my ppt's it says 'ppt cannot open the file...the file may be corrupt, in use, not a type recognized by ppt etc.." how can I fix it?? HELP

    Did you try to open teh fle by double-clicking its icon? If the file was made with an older version of Office, you may get that message. Try opeing PP and, from its "File" menu, see if you can open the ppt. I've foundthat often gets around that message and then yo ucan save the file from the newer version.
    If that doesn't work, consider asking in the Microsoft Office: Mac forums here:
    Office for Mac forums
    PowerPoint is not an Apple product and it seems a lot of people around here avoid Office.

  • 2013 Exchange, Can't connect to Exchange Management Shell. It cannot determine the content type of the HTTP response from the destination computer.

    The following error occurs.
             Welcome to the Exchange Management Shell!
    Full list of cmdlets: Get-Command
    Only Exchange cmdlets: Get-ExCommand
    Cmdlets that match a specific string: Help *<string>*
    Get general help: Help
    Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
    Show quick reference guide: QuickRef
    Exchange team blog: Get-ExBlog
    Show full output for a command: <command> | Format-List
    Tip of the day #0:
    Did you know that the Identity parameter is a "positional parameter"? That means you can use:
     Get-Mailbox "user" instead of: Get-Mailbox -Identity "user"
    It's a neat usability shortcut!
    VERBOSE: Connecting to mail1.dorothy.local.
    New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local failed with the following error
    message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
    the destination computer. The content type is absent or invalid. For more information, see the
    about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Exception calling "GetComputerSite" with "0" argument(s): "The Specified directory object cannot be found."
    At C:\Program Files\Microsoft\Exchange Server\V15\bin\ConnectFunctions.ps1:164 char:2
    +     $localSite=[System.DirectoryServices.ActiveDirectory.ActiveDirectorySite]::GetC ...
    +    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : ActiveDirectoryObjectNotFoundException
    Failed to connect to an Exchange server in the current site.
    Enter the server FQDN where you want to connect.: mail1.dorothy.local
    VERBOSE: Connecting to mail1.dorothy.local.
    New-PSSession : [mail1.dorothy.local] Connecting to remote server mail1.dorothy.local failed with the following error
    message : The WinRM client cannot process the request. It cannot determine the content type of the HTTP response from
    the destination computer. The content type is absent or invalid. For more information, see the
    about_Remote_Troubleshooting Help topic.
    At line:1 char:1
    + New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
       gTransportException
        + FullyQualifiedErrorId : -2144108297,PSSessionOpenFailed
    Randy Cheek

    Good Morning,
    Log into the server with an account that has appropriate Exchange rights, not a local account.  
    Note: By default - Domain Admins don't have Exchange rights.
    Dame Luthas, ITILv3, MCSE Messaging 2013, MCSA, MCITP
    My Technical Blog: http://thelifestrategist.wordpress.com
    Discipline is the Difference between Goals and Accomplishments
    If this post is useful, please hit the green arrow on the left & if this is the answer hit "mark as answer"

  • BAdI error : type of EXIT_REF1 cannot be converted to the type of EXIT_REF

    Hi all,
    The below was the posted earlier for BAdI. Ihave followed all the steps. And i have written the below code. Syntactically it is not showing any errors, but when i am activating i am getting error
    like " The type of EXIT_REF1 cannot be converted to the type of EXIT_REF". where i am doing the mistake..??
    1) execute Tcode SE18.
    2) Specify a definition Name : ZBADI_SPFLI
    3) Press create
    4) Choose the attribute tab. Specify short desc for badi.. and specify the type :
    multiple use.
    5) Choose the interface tab
    6) Specify interface name: ZIF_EX_BADI_SPFLI and save.
    7) Dbl clk on interface name to start class builder . specify a method name (name,
    level, desc).
    Method level desc
    Linese;ection instance methos some desc
    8) place the cursor on the method name desc its parameters to define the interface.
    Parameter type refe field desc
    I_carrid import spfli-carrid some
    I_connid import spefi-connid some
    9) save , check and activate…adapter class proposed by system is
    ZCL_IM_IM_LINESEL is genereated.
    IMPLEMENTATION OF BADI DEFINITION
    1) EXECUTE tcode se18.choose menuitem create from the implementation menubar.
    2) Specify aname for implementation ZIM_LINESEL
    3) Specify short desc.
    4) Choose interface tab. System proposes a name fo the implementation class.
    ZCL_IM_IMLINESEL which is already generarted.
    5) Specify short desc for method
    6) Dbl clk on method to insert code..(check the code in “AAA”).
    7) Save , check and activate the code.
    REPORT ZBADI_TEST .
    tables: spfli.
    data: wa_spfli type spfli,
    it_spfli type table of spfli with key carrid connid.
    *Initialise the object of the interface.
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    selection-screen begin of block b1.
    select-options: s_carr for spfli-carrid.
    selection-screen end of block b1.
    start-of-selection.
    select * from spfli into corresponding fields of table it_spfli
    where carrid in s_carr.
    end-of-selection.
    loop at it_spfli into wa_spfli.
    write:/ wa_spfli-carrid,
    wa_spfli-connid,
    wa_spfli-cityfrom,
    wa_spfli-deptime,
    wa_spfli-arrtime.
    hide: wa_spfli-carrid, wa_spfli-connid.
    endloop.
    at line-selection.
    check not wa_spfli-carrid is initial.
    create object exit_ref.
    exit_ref1 = exit_ref.   "" The type of EXIT_REF1 cannot be converted to the type of EXIT_REF"
    call method exit_ref1->lineselection
    EXPORTING
    i_carrid = wa_spfli-carrid
    i_connid = wa_spfli-connid.
    clear wa_spfli.
    Thanks in advance
    krupali.

    Hi,
    Both are of different types
    data: exit_ref type ref to ZCL_IM_IM_LINESEL,
    exit_ref1 type ref to ZIF_EX_BADISPFLI1.
    Assiging one type another type is not allowed.
    Rhea.

  • I have Windows 7 and for some reason I cannot install Adobe Type Manager onto my Computer. I need ATM to install the DIN font but am having no luck what so ever. I can see the DIN font in my Dropbox but it is showing up like this:-  ._DIN-bold, no file fi

    I have Windows 7 and for some reason I cannot install Adobe Type Manager onto my Computer. I need ATM to install the DIN font but am having no luck what so ever. I can see the DIN font in my Dropbox but it is showing up like this:-  ._DIN-bold, no file file extension. what am I doing wrong? is it Mac?

    (1)    Adobe Type Manager (ATM) is not compatible with any version of Windows beyond Windows XP (32-bit, only). Attempting to install ATM on any newer version of Windows may actually disable Window's capability of rendering Type 1 and OpenType CFF fonts, requiring a reinstallation of Windows.
    (2)    There is no need to use ATM to install any fonts under Windows.
    (3)    The file name ._DIN-bold is indicative of a MacOS font. These fonts cannot be installed on Windows systems.
              - Dov

  • I cannot save pictures from facebook to "my Pictures" files on my hard drive. There is no place to indicate the type of file, such as jpg etc.

    I have been copying a picture & pasting it on my AOL email & saving photos from Facebook from email . Also, I cannot watch videos posted by my friends on Facebook.
    Firefox works fast on scrolling thru Facebook but I haven't found it to be that helpful for simple things I want to do.
    Thanks for any help you can provide.

    Hi perric,
    On the first issue about pictures.
    * You can set Firefox to ask you where to save the file rather than always using the Downloads folder. This article describes how to set that: [[Startup, home page and download settings]].
    * When you say "there is no place to indicate the type of file, such as jpg etc." is the problem that Facebook isn't including that in the file name and you need to add it? If you could explain this part a bit more.
    * Another way to save pictures is to use the Page Info dialog. While on the page with the images, you can use either:<br><br>* right-click and choose View Page Info > Media<br>* Alt+t (open the classic Tools menu) > Page Info > Media<br><br>As you scroll down the list, you can preview and use the Save As button to save those "hard to get" images.
    On the second issue about videos.
    * Do you see a gray space indicating that you need a plugin? Or does the video not play when you click it? Please explain what you're experiencing in a little more detail.
    * In case you do not have the Flash player plugin for Firefox, you can get it here: http://get.adobe.com/flashplayer/ (make sure to uncheck any unwanted extras that Adobe might offer). If you do the download from IE, you won't get the right version. In that case, use this link to choose the non-IE plugin: http://get.adobe.com/flashplayer/otherversions/
    Hope that helps a bit.

  • You cannot open the application iTunes (11.1.4) because it is not supported on this type of Mac

    After updating iTunes to 11.1.4 as suggested by automatic updates I get the message:
    "You cannot open the application iTunes because it is not supported on this type of Mac"
    Why did it let me do the update then?
    How do I undo the uodate to iTunes?
    This is on a Mac Mini running OSX 10.6.8 with 1GB mem

    What processor do you have?
    If it's a CoreDuo (as opposed to a Core2Duo), then you ave a 32 bit OS, and no... 11.1.4 won't run on a 32 bit OS.
    =Downgrading from iTunes 11 to iTunes 10.7=
    Back up your computer first, in case the wrong things happen.
    Replace the iTunes 11 application with iTunes 10.7.  I can't provide details on this since I do not have a newer computer. With mine it is very simple but I believe on newer computers iTunes has been integrated into the operating system.  On mine I just go to my applications folder and drag iTunes to the trash.  See below for possible suggestions on how to remove.
    https://discussions.apple.com/message/20431349
    Get iTunes 10.7.  Apple does not keep many old version up on its web site.  I always keep an iTunes installer on my archive drive so I can have access to old versions .  This one is hidden but it is on an official Apple site:
    iTunes 10.7 for OS X  http://appldnld.apple.com/iTunes10/041-7195.20120912.d3uzQ/iTunes10.7.dmg
    You will have to rescue your old iTunes library from your Previous Libraries folder and rename it iTunes Library.itl because a newer version of iTunes irreversibly updates your library file.  See:
    https://discussions.apple.com/mesage/20401436 - turingtest2 11/2012 post on rebuilding empty/corrupt library after upgrade/crash from previous iTunes library file.
    iTunes: How to re-create your iTunes library and playlists - http://support.apple.com/kb/ht1451
    Other issues:
    https://discussions.apple.com/message/20432309 - solution to mobile devices saying they need to be restored after downgrading

  • I have photoshop CS4 with the newest update. I'm a photographer and just purchased the new canon 7d mk II. Today, I shot some photos on raw but am unable to pull them up in photoshop. A window pops up saying "photoshop cannot recognize this type of file.

    I have photoshop CS4 with the newest update. I'm a photographer and just purchased the new canon 7d mk II. Today, I shot some photos on raw but am unable to pull them up in photoshop. A window pops up saying "photoshop cannot recognize this type of file. The thumbnails are white with a blue and white CR2 on them. Please help.

    Adobe Camera Raw 5.7 is the latest for Photoshop CS4 Adobe - Photoshop : For Windows
    The problem is that your new camera is supported by ACR 8.7 and only Photoshop CS6 and up supports this version.
    So if you do not want to buy CS6 or subscribe to the $10/month Photography Program, you have to convert the CR2 files to DNG to work on them. Your original CR2s are untouched in the process, you just can't directly edit them in CS4, only the DNGs.
    Maybe Canon offers editing software for their CR2s, but CS4 is not going to be updated and there is no way around that.
    It's not what you want to hear, but that's the situation so far.
    Maybe Elements or Lightroom has updated raw support for your camera, so I encourage you to visit those forums and ask.
    Gene

  • I cannot use the bottom part of my touch screen. It would not respond to any of the touches I make. Is the screen broken or have I stuffed up my settings? I want to be able to type on my iPhone

    I cannot use the bottom part of my touch screen. It would not respond to any of the touches I make. Is the screen broken or have I stuffed up my settings? I want to be able to type on my iPhone

    Basics from the manual are restart, reset, restore from backup, restore as new.  If you've been through ALL these steps and you still have the problem, you'll need to bring the phone to Apple.

Maybe you are looking for