Search found 243 matches
- Fri Jan 22, 2021 6:42 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Illegal refelctive access in SDK
- Replies: 3
- Views: 117
Re: Illegal refelctive access in SDK
Adrian, Normally I start our app with java.exe -jar mbep-editor-2.0.jar I tried java.exe --illegal-access=permit -jar mbep-editor-2.0.jar Unrecognized option: --illegal-access=permit Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. thanks, S...
- Wed Jan 20, 2021 2:03 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: Illegal refelctive access in SDK
- Replies: 3
- Views: 117
Illegal refelctive access in SDK
I see the following warnings when starting our application that uses the SDK WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance. WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by ro.sync.ui.qe (file:/home/sco...
- Fri Jan 15, 2021 8:12 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: Update personal license used in SDK
- Replies: 1
- Views: 110
Update personal license used in SDK
We are using the SDK in a stand alone Java app. Some users use our floating license server, we also have some people use a personal license. I would like the ones using a personal license to update the license used for the SDK when we get their SMP renewal. What is the API to force the SDK to ask fo...
- Sat Jan 09, 2021 7:44 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: SDK License
- Replies: 1
- Views: 61
SDK License
We are using the SDK in a desktop application.
We have a floating license server and some users use their personal license.
Is there any other license that is required to use the SDK?
thanks
Scott
We have a floating license server and some users use their personal license.
Is there any other license that is required to use the SDK?
thanks
Scott
- Thu Apr 09, 2020 6:37 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: warning on windows 10
- Replies: 5
- Views: 1328
Re: warning on windows 10
When loading the SDK on my linux box. I thought this had been fixed in version 22.0? WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by ro.sync.ui.qe (file:/home/scott/.m2/repository/com/oxygenxml/oxygen/22.0.0.0/oxygen-22.0.0.0.jar) to field javax.swi...
- Mon Oct 21, 2019 11:23 pm
- Forum: TEI
- Topic: TEI ODD transform fails
- Replies: 2
- Views: 1550
Re: TEI ODD transform fails
I fired up my old version 20.0 and the transform worked fine...
Scott
Scott
- Mon Oct 21, 2019 10:26 pm
- Forum: TEI
- Topic: TEI ODD transform fails
- Replies: 2
- Views: 1550
TEI ODD transform fails
Trying to transform ODD to any format using builtin TEI ODD transforms fails. TEI ODD to RELAX NG (compact syntax) Transformation failed. /home/scott/.com.oxygenxml/extensions/v21.0/frameworks/http___www.tei_c.org_release_oxygen_updateSite.oxygen/tei/xml/tei/stylesheet/common/teianttasks.xml:386: ja...
- Sat Aug 17, 2019 9:04 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: license server
- Replies: 1
- Views: 504
license server
I upgraded our tomcat server and installed the license server(WAR) on it.
Trying to install our license but I get this message
The license activation code does not match the current machine signature : 0LdlJ4tlUp/WQrYX3ZTVnOg==.
Please contact suport@oxygenxml.com for more details.
????
Scott
Trying to install our license but I get this message
The license activation code does not match the current machine signature : 0LdlJ4tlUp/WQrYX3ZTVnOg==.
Please contact suport@oxygenxml.com for more details.
????
Scott
- Sun Apr 07, 2019 2:53 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: set word wrap and font size api?
- Replies: 6
- Views: 1513
Re: set word wrap and font size api?
Radu, The word wrap is working great and I can persist the settings across editors and across sessions. The font size not so good. I tried Object globalObjectProperty = PluginWorkspaceProvider.getPluginWorkspace().getGlobalObjectProperty("font.for.text"); which returns null until I do AuthorComponen...
- Thu Apr 04, 2019 5:42 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: warning on windows 10
- Replies: 5
- Views: 1328
Re: warning on windows 10
on my windows test machine its running 11.0.2
Scott
Scott
- Wed Apr 03, 2019 6:33 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: warning on windows 10
- Replies: 5
- Views: 1328
warning on windows 10
When our sdk editor loads on windows 10 I see the following warning
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ro.sync.ui.te (files:c:/Users/Scott/Desktop/ide/oxygen-21.0.0.0.jar) to field javax.swing.text.DefaultHighLighter.highlights
Scott
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by ro.sync.ui.te (files:c:/Users/Scott/Desktop/ide/oxygen-21.0.0.0.jar) to field javax.swing.text.DefaultHighLighter.highlights
Scott
- Wed Apr 03, 2019 6:28 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: set word wrap and font size api?
- Replies: 6
- Views: 1513
Re: set word wrap and font size api?
Is there a corresponding get()? for the current font and line wrap setting?
I looked for
AuthorComponentFactory.getInstance().getObjectProperty("editor.line.wrap"); but don't see it?
thanks,
Scott
I looked for
AuthorComponentFactory.getInstance().getObjectProperty("editor.line.wrap"); but don't see it?
thanks,
Scott
- Mon Apr 01, 2019 9:36 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: set word wrap and font size api?
- Replies: 6
- Views: 1513
set word wrap and font size api?
Using the SDK text mode editor. Some of our users like to change the font size in the editor when starting, I would like to save off the last font change and restore that change when they next start the editor. Some of our users like word wrap on by default, some like it off by default. Is there an ...
- Mon Apr 01, 2019 8:54 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
Everything worked well except I had to replace
editor.getEncodingForSerialization()
with
Charset.forName(editor.getEncodingForSerialization()).newEncoder()
in the OutputStream constructor.
thanks again,
Scott
editor.getEncodingForSerialization()
with
Charset.forName(editor.getEncodingForSerialization()).newEncoder()
in the OutputStream constructor.
thanks again,
Scott
- Mon Apr 01, 2019 5:23 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
Radu,
thanks, I will put it to good use!
Scott
thanks, I will put it to good use!

Scott
- Fri Mar 29, 2019 8:46 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
Radu, I am using getWSEditorAccess().createContentInputStream(); to get an inputSteam when saving a document. It is throwing an exception(java.nio.charset.UnmappableCharacterException) when there is a non ASCII character in the document, which is good. I would like to provide more information as to ...
- Thu Dec 20, 2018 7:22 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: The demise of Java Web Start
- Replies: 2
- Views: 1122
Re: The demise of Java Web Start
It appears the only viable option is to convert the sdk into a standalone app.
Which shouldn't be too difficult, and I wouldn't mind seeing the pesky browser/jnlp gyrations go away.
I will check that out
thanks,
Scott
Which shouldn't be too difficult, and I wouldn't mind seeing the pesky browser/jnlp gyrations go away.
I will check that out
thanks,
Scott
- Thu Dec 20, 2018 4:46 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
Radu, I am using editorComponent.getWSEditorAccess().createContentReader() to create a BufferedReader, then looping through a read() call on the BufferedReader to build a document text buffer. However.... I just installed the latest Java release 11.0.1 and to my dismay discovered javaws is no longer...
- Thu Dec 20, 2018 4:29 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: The demise of Java Web Start
- Replies: 2
- Views: 1122
The demise of Java Web Start
I just installed Java 11.0.1 and to my surprise, no webstart! No javaws executable in the bin folder. I knew it was depreciated in 9 but had no idea it was going to be killed in version 11. We use the SDK in a applet that is run via web start! THe applet must be started through a web page and we use...
- Tue Dec 18, 2018 10:15 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
You are correct, the editor is in Text editing mode. I have not set an option encoding_errors_handling to any value. How would I set it to 0? We are on version 17.1.0.4, which may be relevant. I haven't upgraded because I normally don;t fix what aint broke. How much work would you anticipate if I up...
- Sun Dec 16, 2018 3:12 am
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
I replaced createContentReader() with createContentInputStream() If I paste in a non ascii char into the editor and then save it, it looks like the bad char is getting replaced by 3 ���. Which are U+FFFD's This is the behavior the desktop editor does if REPLACE is selected for Encoding error handlin...
- Fri Dec 14, 2018 8:59 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
Radu, I am using editorComponent.getWSEditorAccess().createContentReader() to create a BufferedReader, as you suspected. Then looping through a read() call on the Reader to build a document text buffer. Are you saying if I used a createContentInputStream() to get an InputStream, the call would throw...
- Fri Dec 14, 2018 7:31 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
Re: detect encoding problem on load
Radu, Once again you guys save my bacon. After I started this thread I had the thought that I was probably skipping or doing an end run around the behavior that would catch this for me and you have verified that. I will follow you advice and let you know how it works. thanks again for for great tech...
- Thu Dec 13, 2018 10:03 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: detect encoding problem on load
- Replies: 13
- Views: 3713
detect encoding problem on load
We are using the SDK to provide our editors a way to edit TEI files. Our files are encoded us-ascii. I just had one of them paste some text in from Word. The text had a few non us-ascii chars, like the curly quote. If I paste in this text in my desktop oxygen editor and then attempt to save it I get...
- Fri Aug 03, 2018 3:00 am
- Forum: Common Problems
- Topic: Find/Replace uppercase found words
- Replies: 1
- Views: 1099
Find/Replace uppercase found words
I have a regex expression which finds the words I I need to uppercase.
\b([0-9]+[a-z]+\.[0-9]+\.[0-9]+)\b
Is there a way to upper case the regex groups in the "replace with" input box?
thanks,
Scott
\b([0-9]+[a-z]+\.[0-9]+\.[0-9]+)\b
Is there a way to upper case the regex groups in the "replace with" input box?
thanks,
Scott
- Thu Jul 26, 2018 8:46 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: SDK personal license
- Replies: 6
- Views: 2291
Re: SDK personal license
Radu,
I need to have a user clear their author cache on a mac. I thought it would be in the same place as a linux machine, a hidden folder in their home folder, but it is not?
I also looked in the Library/Caches folder and it was not in there?
Where is it?
thanks,
Scott
I need to have a user clear their author cache on a mac. I thought it would be in the same place as a linux machine, a hidden folder in their home folder, but it is not?
I also looked in the Library/Caches folder and it was not in there?
Where is it?
thanks,
Scott
- Wed Jul 18, 2018 8:16 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: SDK personal license
- Replies: 6
- Views: 2291
Re: SDK personal license
I tried using the users license and it worked fine for me. Editor opened no problem and did not consume a floating license. But yesterday she was on and it did use a floating license. I used the same jnlp file to open the editor as she had yesterday. I also realized her maintenance pack had run out ...
- Wed Jul 18, 2018 6:21 pm
- Forum: SDK-API, Frameworks - Document Types
- Topic: SDK personal license
- Replies: 6
- Views: 2291
Re: SDK personal license
To be clear we are using the SDK author editor. When I init the factory I check if the user is requesting to use a floating license or their personal license and pass in the appropriate parameters on that choice. Here's the code, license servlet stuff blanked out. [code] if (license.equals("float"))...
- Wed Jul 18, 2018 6:05 pm
- Forum: Common Problems
- Topic: Java error loading SDK
- Replies: 3
- Views: 1436
Re: Java error loading SDK
OK, we'll stay with 1.8 until you give the all clear.
- Wed Jul 18, 2018 7:21 am
- Forum: Common Problems
- Topic: Java error loading SDK
- Replies: 3
- Views: 1436
Re: Java error loading SDK
I backed my jdk out to java 1.8 and the problem stopped.
Scott
Scott