cancel
Showing results for 
Search instead for 
Did you mean: 

MII 12.1 Workbench Error - Content Could not be parsed

shaji_chandran
Participant
0 Kudos
132

Hi Experts,

I am facing some issue with MII workbench. When I try to open an existing transaction or create a new transaction I am getting an alert message with error as "Content Could not be parsed". I have attached the screenshot of the error.

I am using MII

Any help on this very much appreciated

Thanks & Regards

Shaji Chandran

Accepted Solutions (0)

Answers (4)

Answers (4)

shaji_chandran
Participant
0 Kudos

Hi All,

At last the issue got resolved.

Here are the steps I actioned.

  1. Uninstalled all
    existing Jre versions
  2. Installed Jre 1.6.0_25 (32 bit)
  3. Added below 2 lines
    at C:\Program Files (x86)\Java\jre6\lib\security\java.policy

permission
com.sun.deploy.security.SecureCookiePermission "incas1109.ind.cldsvc.accenture.com:50000-",
"listen,accept,connect,resolve";

              
permission java.lang.RuntimePermission
"accessClassInPackage.sun.security.action";

Thanks all again for their support

Shaji Chandran

rutika_bodas
Participant
0 Kudos

Hi Shaji,

This happens when the deployment is in progress on the NW instance and you try to perform some action on the Workbench.

As said by you previously, you have restarted your NW instance. Then I would suggest you to close your current Workbench instance, and reopen a new one. Do clear the Java cache before doing so.

Regards,

Rutika Bodas

shaji_chandran
Participant
0 Kudos

Hi Rutika,

Thanks for your response.

I restarted the workbench and the issue still persist. Also there is no deployment is in progress at NW

Thanks

Shaji

former_member204240
Active Participant
0 Kudos

Why dont you try loading java version 6 and update 45.

Also I request you to check below SAP Notes

1649526

1665322

shaji_chandran
Participant
0 Kudos

Hi Padma,

Thanks for your response. I did that as well but no luck

Shaji

former_member204240
Active Participant
0 Kudos

Shaji, do you see any error in NWA?

If so can you paste here?

Former Member
0 Kudos

Hi Shaji,

What is the JRE version of your client?

Also switch on the java console to see the logs.

Regards,

Rohit Negi.

shaji_chandran
Participant
0 Kudos

Hi Rohit,

Jre version is 7.

Here is the error from Java Console

ERROR - New Action Wrapper [PDFText] Translate dialog annotation fault

java.lang.NullPointerException

at javax.swing.DefaultComboBoxModel.<init>(Unknown Source)

at javax.swing.JComboBox.<init>(Unknown Source)

at com.sap.mii.actions.pdf.dialogs.TextDialog.<init>(TextDialog.java:55)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

ERROR - Load Font Error

java.lang.NullPointerException

at com.sap.lhcommon.xml.XMLHandler.createDocumentBuilderFactory(XMLHandler.java:65)

at com.sap.lhcommon.xml.XMLHandler.createDocument(XMLHandler.java:91)

at com.lighthammer.xacute.pdf.fonts.PDFFontUtilities.GetFontList(PDFFontUtilities.java:131)

at com.sap.mii.actions.pdf.dialogs.TextDialog.<init>(TextDialog.java:55)

at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

at java.lang.reflect.Constructor.newInstance(Unknown Source)

shaji_chandran
Participant
0 Kudos

Some more error found at Log

Exception of type com.sap.sql.log.OpenSQLException caught:
Failed to set the parameter 2 of the statement >>SELECT f.ID FROM
XMII_FILES f, XMII_PATHS p WHERE p.FULLPATH =  ?  AND f.PATHID = p.ID AND f.NAME
LIKE  ? <<: Cannot assign a blank-padded string to a parameter with JDBC
type >>VARCHAR<<..

[EXCEPTION]
com.sap.sql.log.OpenSQLException: Failed to set the
parameter 2 of the statement >>SELECT f.ID FROM XMII_FILES f, XMII_PATHS p
WHERE p.FULLPATH =  ?  AND f.PATHID = p.ID AND f.NAME LIKE  ? <<: Cannot
assign a blank-padded string to a parameter with JDBC type
>>VARCHAR<<.
at
com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:104)
at
com.sap.sql.log.Syslog.createAndLogOpenSQLException(Syslog.java:143)
at
com.sap.sql.jdbc.common.CommonPreparedStatement.handleSetterException(CommonPreparedStatement.java:416)

at
com.sap.sql.jdbc.common.CommonPreparedStatement.setString(CommonPreparedStatement.java:593)

at
com.sap.engine.services.dbpool.wrappers.PreparedStatementWrapper.setString(PreparedStatementWrapper.java:380)

at com.sap.xmii.sqlj.FileDAO.exists(FileDAO.java:82)
at
com.sap.xmii.system.FileManager.exists(FileManager.java:686)
at
com.sap.xmii.bls.executables.actions.file.DbFileUtils.saveString(DbFileUtils.java:318)

at
com.sap.xmii.bls.executables.actions.file.FileActions.writeFile(FileActions.java:78)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:585)
at
com.sap.xmii.bls.engine.ReflectiveAction.doExecute(ReflectiveAction.java:741)

at com.sap.xmii.bls.engine.BaseNode.executeNode(BaseNode.java:198)
at
com.sap.xmii.bls.engine.BaseAction.execute(BaseAction.java:76)
at
com.sap.xmii.bls.engine.runners.ProductionRunner.runAction(ProductionRunner.java:151)

at com.sap.xmii.bls.executables.sequences.Sequence.execute(Sequence.java:50)

at
com.sap.xmii.bls.engine.runners.ProductionRunner.runSequence(ProductionRunner.java:126)

at com.sap.xmii.bls.executables.sequences.RootNode.execute(RootNode.java:39)

Former Member
0 Kudos

Hi Shaji,

Could you revert to jre6 and check whether the problem still exists.

Regards,

Rohit Negi.

shaji_chandran
Participant
0 Kudos

Hi Rohit,

After installing Jre 6  I am getting the below error.

java.lang.NoClassDefFoundError: Could not initialize class com.sap.xmii.xacute.editors.transaction.dialogs.linkeditor.LinkEditorBottomPanel
at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.initDisplay(TransactionInfo.java:319)
at com.sap.xmii.Illuminator.gui.workbench.core.TransactionInfo.createNewFile(TransactionInfo.java:135)
at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction.createFileInfoObject(NewAction.java:200)
at com.sap.xmii.Illuminator.gui.workbench.components.actions.actions.NewAction$1.construct(NewAction.java:125)
at com.sap.lhcommon.gui.ThreadCreator$2.run(ThreadCreator.java:94)
at java.lang.Thread.run(Unknown Source)

Former Member
0 Kudos

Hi Shaji,

Which update of jre6 you have installed?

Have you unstalled jre7?

i am using jre6 update 13 in my local with 12.2 and it works fine.

Also once close the workbench and also clear the java cache.

Regards,

Rohit Negi.

Former Member
0 Kudos

Hi Shaji,

Also have a look at this thread which talks about a similar issue:

Regards,

Rohit Negi.

shaji_chandran
Participant
0 Kudos

Hi Rohit,

Yes I have uninstalled Jre7 and Installred Jre 1.6.0_34.

Now I am able to create new SQL Query, irpt, jsp and html files. I am not able to create only transactions

Current Error is

Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.security.action)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPackageAccess(Unknown Source)

at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

Thanks

Shaji

former_member204240
Active Participant
0 Kudos

Try to restart the SAP instance( SAP mmc) or MII server. It should work.