Can not run complex report with ReportClientDocument using POJO beans.
Hi All,
Any help would be very appreciated I have been stack on this issue for the last 4 hours.
My report has parameters, a ResultSet and subreports that themselves have both parameters and ResultSet.
The report runs well in Crystal Report Designer but not on my application with ReportClientDocument API.
The excpeiton I am getting is:
======================================================================
Caused by: java.lang.NullPointerException
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.ParameterFieldController.do(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.bs.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.bs.byte(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.a3.if(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.else(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.r.for(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.proxy.remoteagent.h.for(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
16:22:56,796 INFO [STDOUT] at com.tramada.documents.businessobjects.BODocumentProvider.generateDocument(BODocumentProvider.java:178)
16:22:56,796 INFO [STDOUT] at com.tramada.documents.service.impl.DocumentServiceImpl.generateDocumentContent(DocumentServiceImpl.java:125)
16:22:56,796 INFO [STDOUT] ... 58 more
This is my class that is trying to do the work.:
======================================================================
BODocumentProvider.java Created on 19/05/2008
This software is the confidential and proprietary information of Tramada
Systems Pty Limited.
package com.tramada.documents.businessobjects;
import java.io.ByteArrayInputStream;
import java.util.List;
import java.util.Locale;
import com.businessobjects.samples.pojo.POJOResultSetFactory;
import com.crystaldecisions.sdk.framework.CrystalEnterprise;
import com.crystaldecisions.sdk.framework.IEnterpriseSession;
import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;
import com.crystaldecisions.sdk.occa.report.application.ISubreportClientDocument;
import com.crystaldecisions.sdk.occa.report.application.ParameterFieldController;
import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
import com.crystaldecisions.sdk.occa.report.application.SubreportController;
import com.crystaldecisions.sdk.occa.report.data.Fields;
import com.crystaldecisions.sdk.occa.report.data.IField;
import com.crystaldecisions.sdk.occa.report.data.ITable;
import com.crystaldecisions.sdk.occa.report.data.Tables;
import com.crystaldecisions.sdk.occa.report.exportoptions.ReportExportFormat;
import com.crystaldecisions.sdk.occa.report.lib.IStrings;
import com.tramada.core.utils.SoftMap;
import com.tramada.documents.DocumentDataProvider;
import com.tramada.documents.DocumentDescriptor;
import com.tramada.documents.DocumentFormat;
import com.tramada.documents.DocumentProvider;
import com.tramada.documents.SubDocumentDescriptor;
import com.tramada.documents.businessobjects.model.Template;
import com.tramada.documents.model.DocumentContent;
import com.tramada.persistence.home.GenericHome;
Business Objects specific Document Provider.
public class BODocumentProvider implements DocumentProvider {
private static final String BO_AUTH_TYPE = "secEnterprise";
private boolean connect;
private String userName;
private String userPassword;
private String boURL;
private String documentsFolder;
private GenericHome home;
Local cache. Keeps track of document source for better performance.
private SoftMap<String, ReportClientDocument> cachedSources = new SoftMap<String, ReportClientDocument>();
// SETTERS & GETTERS
// SETTERS & GETTERS
public GenericHome getHome() {
return home;
public void setHome(GenericHome home) {
this.home = home;
public boolean getConnect() {
return connect;
public void setConnect(boolean connect) {
this.connect = connect;
public String getBoURL() {
return boURL;
public void setBoURL(String boURL) {
this.boURL = boURL;
public String getUserName() {
return userName;
public void setUserName(String userName) {
this.userName = userName;
public String getUserPassword() {
return userPassword;
public void setUserPassword(String userPassword) {
this.userPassword = userPassword;
public String getDocumentsFolder() {
return documentsFolder;
public void setDocumentsFolder(String documentsFolder) {
this.documentsFolder = documentsFolder;
// PUBLIC INTERFACE
Generates a document given its descriptor.
@param descriptor
valid document descriptor
@return Document (generated document).
public DocumentContent generateDocument(DocumentDescriptor descriptor, DocumentFormat format) throws Exception {
if (descriptor == null) {
throw new IllegalArgumentException("descriptor==null");
if (format == null) {
throw new IllegalArgumentException("format==null");
// get the document source.
// Can not use setDataSource() error code 2147483648?
ReportClientDocument document = getDocument(descriptor.getDocumentName());
ParameterFieldController parameterController = document.getDataDefController().getParameterFieldController();
// insert the main document parameters and there values
populateParameters(document.getDataDefController().getDataDefinition().getParameterFields(),
parameterController, descriptor, "");
// insert into the main document all the required data.
Tables tables = document.getDatabaseController().getDatabase().getTables();
for (int i = 0; i < tables.size(); i++) {
ITable table = tables.getTable(i);
String tableAlias = table.getAlias();
DocumentDataProvider provider = descriptor.getDocumentDataProvider(tableAlias);
POJOResultSetFactory factory = new POJOResultSetFactory(provider.getDataType());
document.getDatabaseController().setDataSource(factory.createResultSet(provider.getData()), tableAlias,
tableAlias);
// go through all the sub-documents and do the same thing as for the
// main document.
SubreportController subReportController = document.getSubreportController();
IStrings names = subReportController.getSubreportNames();
for (int i = 0; i < names.size(); i++) {
String subDocumentName = (String) names.get(i);
SubDocumentDescriptor subDescriptor = descriptor.getSubDocument(subDocumentName);
// get the actual sub document.
ISubreportClientDocument subDocument = subReportController.getSubreport(subDocumentName);
// insert the subdocument parameters.
populateParameters(subDocument.getDataDefController().getDataDefinition().getParameterFields(),
parameterController, subDescriptor, subDocumentName);
// insert into the main document all the required data.
Tables subTables = subDocument.getDatabaseController().getDatabase().getTables();
for (int j = 0; j < subTables.size(); j++) {
ITable subTable = subTables.getTable(j);
String tableAlias = subTable.getAlias();
DocumentDataProvider subProvider = subDescriptor.getDocumentDataProvider(tableAlias);
POJOResultSetFactory subFactory = new POJOResultSetFactory(subProvider.getDataType());
subDocument.getDatabaseController().setDataSource(subFactory.createResultSet(subProvider.getData()),
tableAlias, tableAlias);
// generate the report in the specified format
ByteArrayInputStream bais = (ByteArrayInputStream) document.getPrintOutputController().export(
getReportFormat(format));
byte[] content = new byte[bais.available()];
bais.read(content);
return (new DocumentContent(content));
Refreshes the connector and all its cached document sources.
public void refresh() throws Exception {
cachedSources.clear();
// PRIVATE ROUTINES
Populates the document parameters with there values.
private void populateParameters(Fields parameters, ParameterFieldController controller,
DocumentDescriptor descriptor, String documentName) throws Exception {
for (int i = 0; i < parameters.size(); i++) {
IField parameter = parameters.getField(i);
String parameterName = parameter.getName();
if (!descriptor.getParameters().containsKey(parameterName)) {
throw new IllegalStateException("missing parameter entry for '" + parameterName + "'");
Object value = descriptor.getParameter(parameterName);
if (value != null) {
controller.setCurrentValue(documentName, parameterName, value);
Retrieves the document source. If the source is not cached get it from
BO. First get the template name that is stored on BO.
private ReportClientDocument getDocument(String documentName) throws Exception {
ReportClientDocument source = cachedSources.get(documentName);
if (source == null) {
String templateName = getTemplateName(documentName);
if (userName == null) {
throw new IllegalArgumentException("user-name==null");
if (userPassword == null) {
throw new IllegalArgumentException("user-password==null");
if (boURL == null) {
throw new IllegalArgumentException("boURL==null");
if (documentsFolder == null) {
throw new IllegalArgumentException("documents-folder==null");
// login to BO
IEnterpriseSession enterpriseSession = CrystalEnterprise.getSessionMgr().logon(userName, userPassword,
boURL, BO_AUTH_TYPE);
IInfoStore iStore = (IInfoStore) enterpriseSession.getService("InfoStore");
// get the application folder.
IInfoObjects folders = iStore.query("Select SI_ID From CI_INFOOBJECTS Where SI_PROGID='CrystalEnterprise.Folder' And SI_NAME = '"
+ documentsFolder + "'");
if (folders.size() != 1) {
throw new IllegalStateException("documents folder '" + documentsFolder + "' not found on BO Server '"
+ boURL + "'.");
IInfoObject folder = (IInfoObject) folders.get(0);
// get the document identified by the template name.
IInfoObjects templates = iStore.query("select SI_ID, SI_NAME From CI_INFOOBJECTS "
+ "where SI_PROGID = 'CrystalEnterprise.Report' " + "And SI_INSTANCE_OBJECT = 0 "
+ "And SI_PARENT_FOLDER = " + folder.getID() + " And SI_NAME= '" + templateName + "'");
if (templates.size() != 1) {
throw new IllegalStateException("template with name '" + templateName + "' not found in folder '"
+ documentsFolder + "'on BO Server '" + boURL + "'.");
source = ((IReportAppFactory) enterpriseSession.getService("RASReportFactory")).openDocument(
((IInfoObject) templates.get(0)).getID(), 0, Locale.getDefault());
cachedSources.put(documentName, source);
return (source);
Returns the associated template name for the given document descriptor.
@SuppressWarnings("unchecked")
private String getTemplateName(String documentName) {
Template example = new Template();
example.setDocumentName(documentName);
List<Template> templates = (List<Template>) home.findByExampleExcludingAssociations(example);
if (templates == null || templates.size() != 1) {
throw new IllegalStateException("no template defined for document name '" + documentName + "'");
return (templates.get(0).getTemplateName());
Get the equivalent BO format for the given document format.
@param format
document format.
@return ReportExportFormat
private ReportExportFormat getReportFormat(DocumentFormat format) {
if (format.equals(DocumentFormat.PDF)) {
return (ReportExportFormat.PDF);
} else if (format.equals(DocumentFormat.WORD)) {
return (ReportExportFormat.MSWord);
} else if (format.equals(DocumentFormat.EXCEL)) {
return (ReportExportFormat.MSExcel);
return (ReportExportFormat.MSWord);
Best Regards
Khalef Bessaih
Hello,
If I understand correctly, you create a local report which choose report from Report Server. You have two query parameters in the report which are returned by stored procedure. Currently, you cannot get default values for these parameters when run the report.
Based on my test, if we haven’t configure these parameter with Available Values, we can reproduce the same issue. Also, caching issue may cause the same issue. If the issue is persist, please delete the corresponding report in the report server. Then, redeploy
it to check.
There is a similar issue, you can refer to it.
http://social.msdn.microsoft.com/Forums/en-US/6a548d65-35d0-4a3e-8b64-3b7b655c76ee/ssrs-2008-report-parameter-default-value-doesnt-work-when-deployed
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support
Similar Messages
-
3EA4 -- can not run SqlDeveloper report to "table" style
The same SqlDeveloper report, which was/is working in 3EA3 - same Oracle user, same privileges, same platform, same connection, same Java version, same same ... can not run the report to the "table" style. It works only with the "Script" style. So, betwen EA3 and EA4 something changed. No work around, just lost capability.
note: I tried many SqlDeveloper reports that were working in the "table" style - none of them works in the "table" style anymore with EA4 - that really is not cool :(
Here is one of those reports:
SELECT
object_name "Object_Name",
object_type "Object_Type",
CASE OBJECT_TYPE
WHEN 'PACKAGE BODY' THEN 'alter package ' || OWNER||'.'||OBJECT_NAME || ' compile body;'
WHEN 'SYNONYM' THEN 'CREATE PROCEDURE ' || OWNER||'.tmp_compile_synonym AS BEGIN EXECUTE immediate ''alter synonym ' || OWNER||'.'||OBJECT_NAME || ' compile''; END tmp_compile_synonym;'||chr (10) || '/'||chr (10) || 'EXECUTE ' || OWNER||'.tmp_compile_synonym;'||chr (10) || 'DROP PROCEDURE ' || OWNER||'.tmp_compile_synonym;'
ELSE 'alter ' || lower (OBJECT_TYPE) || ' ' || OWNER||'.'||OBJECT_NAME || ' compile;'
END "Compile_Statement"
FROM dba_objects
WHERE owner=upper(:OWNER)
AND status = 'INVALID'
ORDER BY object_type;Note: Reverted to EA3 until the problem is idenfied/solved
Edited by: zaferaktan on Feb 24, 2011 11:50 AM
Edited by: zaferaktan on Feb 24, 2011 12:30 PMok, I did update to JDK 1.6_24 , edited the jdk file under .sqldeveloper to point to the correct JDK version and invoked the 3EA4 from the command line:
raisin:~/sqldeveloper3EA4$ ./sqldeveloper.sh -J-Xmx1024m
still having the issue. None of the "table" style reports work.
So, something definitely changed in EA4 that broke the "table" style reports (at least in my case).
I am using the same "thin" connections that I created before (it picked it up from the .sqldeveloper settins). Did anything change for the thin jdbc connection in EA4 compared to EA3 ? I looked at the change list and don't see it there. I saw bug 09883309 reported here: 3.0 final+EA4: Doesn't work with 11.1 OCI/Thick driver , but don't think it has anything to do with the problem I am seeing - I don't use OCI, but jdbc thin. I wonder if there is a problem with 11.2.0.2 jdbc thin in EA4 and my database server version (10gR2 base version on RHEL 4).
But if Jim doesn't have the problem with the same JDK version and "almost" the same platform - maybe the database server version is an issue ? All I know, these reports (table style) was/is working with the EA3 - but not in EA4 .
When I run the report - the execution window does not display anything - all grey - then if I click on the green arrow (go/run) button, I see the following exceptions in the terminal from which I invoked the sqldeveloper:
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.javatools.data.HashStructure.getInt(HashStructure.java:410)
at oracle.dbtools.raptor.config.DBConfig.getInt(DBConfig.java:1044)
at oracle.dbtools.raptor.controls.grid.ResultSetTableModel.init(ResultSetTableModel.java:112)
at oracle.dbtools.raptor.controls.grid.OracleRSTModel.init(OracleRSTModel.java:30)
at oracle.dbtools.raptor.controls.grid.RSTModelFactory.getResultSetTableModel(RSTModelFactory.java:47)
at oracle.dbtools.raptor.controls.grid.ResultSetTable.setQuery(ResultSetTable.java:115)
at oracle.dbtools.raptor.controls.display.DisplayResultTable.updateQuery(DisplayResultTable.java:158)
at oracle.dbtools.raptor.controls.display.DisplayResultTable.refresh(DisplayResultTable.java:112)
at oracle.dbtools.raptor.controls.display.DisplayPanel.refresh(DisplayPanel.java:769)
at oracle.dbtools.raptor.controls.display.DisplayPanel.refresh(DisplayPanel.java:618)
at oracle.dbtools.raptor.report.addin.ReportEditor$1.actionPerformed(ReportEditor.java:164)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -
Can not run business rule with bat file
Hi all,
I've problem with using *.bat file to run business rule. My Essbase version is 11.1.1.3 and the syntax within
*.bat is simple, but I always got the Usage message and can not execute the rule.
The error result as blow(I already execute the syntax in command panel directly):
C:\Hyperion\products\Essbase\eas\console\bin>CmdLnLauncher -SWILSON -Usynadmin -P111111 -r0004_COPYDATA
Usage: CmdLineLauncher [-p:<passwordFile>] -Sservername -Uusername [-rBusiness R
ule Name | -sSequence Name] [-fRun Time Prompts file] [-validate]
My *.bat file content as below:
cd c:\Hyperion\products\Essbase\eas\console\bin
call CmdLnLauncher -SWILSON -Usynadmin -P1111111 -r0004_COPYDATA
Is there something wrong? If anyone know about this problem, please help,thanks!!Hi,
Here is a brief overview on how to use the command line launcher.
You can create a file and put the following information into it filling in the servername,app name and db name
ExecDB::"Planning/servername/appname/dbname"
Save it as .xml file (don’t think it has to be an xml, could be .txt), so something like connect.xml
Then when you run your command line do exactly like before Cmdlnlauncher -Sservername -Uusername -p:password.txt -rrule -fconnect.xml
If you have variables in your rule you can
In EAS right click over the rule and select "Automate Launch Variables", fill in the details and then save it is as an xml.
You just need to reference the xml in the batch script as described above using the -f parameter, for sequences remove -rrule and use –sSequence
update password.txt to the name of your password file.
Cheers
John
http://john-goodwin.blogspot.com/
Edited by: JohnGoodwin on Apr 30, 2010 8:17 AM -
Hi,
We have created a user and given the rights for a group.
This group has provision for
1. Planning APP_PRD - Planner
2. BI Plus - Explorer, Viewer
3. Analytic Services - Server Access
And assign the access for dimensions for the group.
Then Refreshed the Security filters using Manage Database function on Planning.
But Still we are unable to view run the report it gives
*5222: Unable to view report. You do not have access to the following members on the POV:*
And Following error on Planning log
Is there any more things to do?
Selected User is : TrainUser
=====(HspCubeCreation.java)sQueryString:?Application=APP_PRD
Selected User is : TrainUser
Caption = Opening... ::: Text = Opening Planning Application
com.hyperion.planning.olap.EssbaseException: User %s has insufficient privilege (1051042)
at com.hyperion.planning.olap.HspEssbaseMainAPI.EssGetCalcList(Native Method)
at com.hyperion.planning.olap.HspEssConnection.essGetCalcList(Unknown Source)
at com.hyperion.planning.olap.HspEssbaseJniOlap.listCalcs(Unknown Source)
at com.hyperion.planning.db.HspFMDBImpl.getCalcList(Unknown Source)
at com.hyperion.planning.sql.NewHspFormFolderSet.getFolderTreeXML(Unknown Source)
at org.apache.jsp.FetchLeftNavigationXML_jsp._jspService(FetchLeftNavigationXML_jsp.java:472)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at HspValidationFilter.doFilter(Unknown Source)
=====(HspCubeCreation.java)sQueryString:?Application=APP_PRD
Caption = Opening... ::: Text = Opening Planning Application =====(HspCubeCreation.java)sQueryString:?Application=APP_PRD
=====(HspCubeCreation.java)sQueryString:?Application=APP_PRD
=====(HspCubeCreation.java)sQueryString:?Application=APP_PRDWe solved this issue by creating security filters for new users through Planning Desctop (in 9.2) manually.
You need to have access and security filters directly at user to run reports. -
Can not run "RMDMRPEXTRACT01" report
Hello Experts,
After running the report "RMDMRPEXTRACT01" --> got error " BAdI MD_SR_LIST_EXTRACT for the extraction has no active implementation" while the BAdI "MD_SR_LIST_EXTRACT " was actived from transaction SE18.
Please let me konw how to fix this issue?
Thank you so much all
Abaper.>
abaper1712 wrote:
> After running the report "RMDMRPEXTRACT01" --> got error " BAdI MD_SR_LIST_EXTRACT for the extraction has no active implementation" while the BAdI "MD_SR_LIST_EXTRACT " was actived from transaction SE18.
Hi Abaper,
Maybe a typo from your part but SE18 deals with the definition and there is no activation possible here. Maybe check SE19?
Kind regards,
Robert -
Can not run file.class with Internet Explorer ( Please help me)
Please help me ! ! (Beginer Programming)
First, you can't run a .class file. Secondly, you have to post your code, that is the only way we could help
-
Can not run a project with modified jmf.jar
Hi,
my project use the modified jmf.jar in which all classes leading with path 'javax' were deleted
and all the classes of the package com.ms.security(which is in windowDirectory ex: C:\WINNT\java\Packages)
were included.
I download the source code file:jmf-2_1_1e-scsl-src.zip and unzip it,
I only use the directory 'javax'
which is located at the directory of share of src of the unzip Source code file.
I put the above directory 'javax' and AVTransmit2.java in src directory of my project.
The main in AVTransmit2.java was modified as:
public static void main(String[] args) {
Format fmt = null;
AVTransmit2 at = new AVTransmit2(new MediaLocator("file:/d:/back.avi"),"255.255.255.255","42050",fmt);
String result = at.start();
if (result != null) {
System.err.println("Error : " + result);
System.exit(0);
System.err.println("Start transmission for 60*20 seconds...");
try {
Thread.currentThread().sleep(60000 * 20);
catch (InterruptedException ie) {
at.stop();
System.err.println("...transmission ended.");
System.exit(0);
I get the error:
============================================================
IOException in readRegistry: java.io.InvalidClassException: javax.media.format.AudioFormat; local class incompatible: stream classdesc serialVersionUID = -9207570564778637264, local class serialVersionUID = -3901555183512636654
IOException in readRegistry: java.io.InvalidClassException: javax.media.format.AudioFormat; local class incompatible: stream classdesc serialVersionUID = -9207570564778637264, local class serialVersionUID = -3901555183512636654
Error : Couldn't create processor
No plugins found
============================================================
somebody can show me what is wrong ?
ThanksWhat I think is happening is that the new jar files which you are using are interfearing with the stream. So basically one part of your program is looking for the standared class and your jar files are giving it a different version. Whats complicating this problem is that the classes you are refrencing implement Serializable, so unless you are able to trick the program into thinking that the old .jar files and the new .jar files have the same serialVersionUID your going to have to use the old jars.
-
Can I run Oracle Reports with ADF BC
Hi,
I want to Oracle Report in my ADF Project. I want to use Oracle Report Tool for my report.
is it possible ?Hi,
We are using Oracle Reports in ADF Project. For me the best way is using Reports WebService.
WSDL URL --> http://reportsserver:port/reports/rwwebservice?WSDL
Regards,
Jose -
I try to find help. I can not run a projector and a Bluetooth device at the same time. Even though my Bluetooth speaker is recognized, and I have changed the settings to this speaker, it wont play any sound. I have got also problems using other Bluetooth devices when I use the projector via a VGA adapter.
I try to find help. I can not run a projector and a Bluetooth device at the same time. Even though my Bluetooth speaker is recognized, and I have changed the settings to this speaker, it wont play any sound. I have got also problems using other Bluetooth devices when I use the projector via a VGA adapter.
-
I am running a 7 year old MacBook Pro 15. Since upgrading to Yosemite I can not run my airport express' without having to reset each of them every time I wish to use them. I did not have this problem with Mavericks OSX. Does anyone know what the problem is and is there a fix?
See
What is a kernel panic,
Technical Note TN2063: Understanding and Debugging Kernel Panics,
Mac OS X Kernel Panic FAQ,
Resolving Kernel Panics, and
Tutorial: Avoiding and eliminating Kernel panics for more details. -
Question
Why can I not use my Norton Toolbar... It is a very important item... If I can not run norton toolbar, then I do not want the new version of firefox.... How do I go back to my old version..Norton has had over 5 months to work in their Firefox extensions, since the API's were locked for 4.0. Ask Norton why they pull this crap every time Mozilla releases a new version of Firefox. When Firefox 3.6 was released mid-January 2010, it took Norton until almost April to come up with a working version of their Firefox extensions.
-
I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???
Welcome to the Apple Community.
Enter the details of her second account at system preferences> mail, contacts & calendars. -
Hi, I got the problem with Firefox 27.0.1. I can not run Selenium on Firefox after login a website for automation testing. The browser is not responding. However when I close Nunit, the page is back to be normal. The title is returned to the name of website without "not responding". I sure this problem did not happen on Firefox version 26. I just got this problem when firefox upgrading automatically to version 27. Please help me fix this problem because it is very important for my work. If you need more information pls send your concerns via my email address.
Thanks so muchHi, the work around suggested above should put you in working mode in the meantime. However to help investigate the issue it is possible to analyze what is not loading or taking a long time by analyzing the network traffic or http headers of the Nunit web page.
*[https://addons.mozilla.org/en-us/firefox/addon/live-http-headers/]
*Web developer Tools > Web console
If you post the results with out the user data, we are happy to help. -
i have a mac osx version 10.6.8 no windows installed and i am trying to install a program but keep getting can not run in dos mode ( the disk says on back works on intel mac with parallels or vm fusion) is this program not compatible with my mac?
You run Windows in Parallels or Fusion. Then in Windows you install the program.
-
I have a pdf file with the added sounds, so I can not run the sound in adobe reader XI on my tablet samsung galaxi pro (android)
Thanks for writing to us. Unfortunately, such advanced javascript support is currently not provided by Adobe Reader for Android.
Thanks,
Adobe Reader Team
Maybe you are looking for
-
I no longer have the email address associated with my Apple account as it was through my previous employer. When I attempt to change it to my current email address, I can't as it was my backup to the old one. Is there any way to do this?
-
How do i get my photos from my iphone on to the computer? i cant understand icloud
I am struggling to save the photos on my old iphone as i do not understand how to put them on my computer. When i plug my phone into my computer itunes comes up but i do not know where to go from there, i have also logged into icloud.com and there is
-
hi can a recursive procedure be achieved ??? like from below create or replace procedure i_recursion (i_number number) is i_number2 number ; begin i_number2:=i_number+i_recursion(i_number+1); if i_number = 1000 then return ; end if; end; but i'm gett
-
HELP: 1.3 GB of space being taken by "video" files. How do I free it up?
Hi, When backing up my iPhone 3G I noticed that the usage chart shows 1.3GB of space on the phone being taken up by VIDEO. But when synching and backing up ALL of the video files listed on the iPhone's video tab are unchecked. If the video files are
-
Script to take pictures of desktop every 10 minutes.
Hi, I have a headless server. It has a problem I cannot recreate manually. It is programmed to do a restart and if this fails to do a forced restart. However when it does the forced restart I would like to know what is happening and why it failed. So