Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Illegal Character in Path at Index - Error In CreateInsert Method

User_2BHUHDec 13 2018 — edited Dec 13 2018

Hi All,

We have a table based entity which has a primary key , which I want to populate through sequence .To Achive this I

--Added below expression :

(new oracle.jbo.server.SequenceImpl("XXCV_CMN_INTF_ERR_HEADER_S1",adf.object.getDBTransaction())).getSequenceNumber()

--Went to the entity source code and madeĀ  trustMode="trusted" inĀ  <TransientExpression tag.

Below is the complete BCS code :

//Groovy Scripts for xxcv.cmn.model.entity.InterfaceHeader

package xxcv.cmn.model.entity

import oracle.jbo.script.annotation.TransientValueExpression;

@TransientValueExpression(attributeName="InterfaceId")

def InterfaceId_ExpressionScript_Expression()

{

(new oracle.jbo.server.SequenceImpl("XXCV_CMN_INTF_ERROR_IDEN_S1",adf.object.getDBTransaction())).getSequenceNumber()

}

When I add a createinsert button , I am receiving the below error :

java.net.URISyntaxException: Illegal character in path at index 78: file:/C:/Jdevelopper/jdevbin/jdev/system12.2.1.3.42.170820.0914/o.j2ee/drs/CVI Common Error Framework/ViewControllerWebApp.war/WEB-INF/classes/xxcv/cmn/model/entity/InterfaceHeader.bcs

Any idea why I am facing this error?

we are on 12.2.1.3.0

This post has been answered by User_2BHUH on Dec 13 2018
Jump to Answer
Comments
Post Details
Added on Dec 13 2018
2 comments
2,226 views