<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Compilation error: char[] vs byte[] mismatch for getPatternDefinition() / setPatternDefinition() during bootstrap - Developer Network Q&amp;A				            </title>
            <link>https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/</link>
            <description>BY Network Community Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 14 Mar 2026 16:19:54 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Compilation error: char[] vs byte[] mismatch for getPatternDefinition() / setPatternDefinition() during bootstrap</title>
                        <link>https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11682</link>
                        <pubDate>Thu, 04 Dec 2025 08:17:19 +0000</pubDate>
                        <description><![CDATA[Just an update I tried multiple approaches, and as a workaround I used an already compiled jar. It worked initially but later broke some functionality. Finally, I reinstalled Oracle and boot...]]></description>
                        <content:encoded><![CDATA[Just an update I tried multiple approaches, and as a workaround I used an already compiled jar. It worked initially but later broke some functionality. Finally, I reinstalled Oracle and bootstrapped again, which resolved the issue.]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>javamk</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11682</guid>
                    </item>
				                    <item>
                        <title>Answer to: Compilation error: char[] vs byte[] mismatch for getPatternDefinition() / setPatternDefinition() during bootstrap</title>
                        <link>https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11680</link>
                        <pubDate>Mon, 24 Nov 2025 15:32:32 +0000</pubDate>
                        <description><![CDATA[@jcourter Thanks for the suggestions. Yes, I’ve already tried a clean build multiple times, including removing all generated folders. I also did a Get Revision and Force Operation on the aff...]]></description>
                        <content:encoded><![CDATA[@jcourter Thanks for the suggestions. Yes, I’ve already tried a clean build multiple times, including removing all generated folders. I also did a Get Revision and Force Operation on the affected files to make sure I have the latest versions from Perforce. I also performed a full clean build from root, but the issue still persists only on my local setup. Other teammates are not seeing this problem, which makes it more confusing. We even tried a fresh bootstrap and created a new build spec, but the same type-mismatch error (char[] vs byte[]) appears each time. After more debugging, it looks like the root cause is that somehow the BLOB column is getting created as CLOB in my local database, and because the platform generates DAO getters/setters directly from the DB, the generated code ends up with char[] instead of byte[]. That mismatch is causing the compilation failures. I’m still not sure why only my local DB is creating it as CLOB, but that seems to be the source of the issue.]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>javamk</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11680</guid>
                    </item>
				                    <item>
                        <title>Answer to: Compilation error: char[] vs byte[] mismatch for getPatternDefinition() / setPatternDefinition() during bootstrap</title>
                        <link>https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11679</link>
                        <pubDate>Mon, 24 Nov 2025 13:48:29 +0000</pubDate>
                        <description><![CDATA[@javamk - Have you performed a clean build to test whether that fixes the issue? You can also try &quot;Get Revision&quot; then &quot;Force Operation&quot; on both of these files. Then attempt to build again. T...]]></description>
                        <content:encoded><![CDATA[<p><span>@javamk - Have you performed a clean build to test whether that fixes the issue? You can also try "Get Revision" then "Force Operation" on both of these files. Then attempt to build again. This will ensure you have the latest file from Perforce. If it still fails, I would look to perform a clean build from root. </span><span>There should not be any local codegen/XSD/JAXB cache or config that is causing this issue and there hasn't been a change to these files in quite sometime, so something odd definitely is causing an issue.</span></p>
<p>&nbsp;</p>
788]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>jcourter</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11679</guid>
                    </item>
				                    <item>
                        <title>Compilation error: char[] vs byte[] mismatch for getPatternDefinition() / setPatternDefinition() during bootstrap</title>
                        <link>https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11678</link>
                        <pubDate>Mon, 24 Nov 2025 04:22:12 +0000</pubDate>
                        <description><![CDATA[Hello all,I’m running into a strange compilation issue during bootstrap on AZ-neo-3.12q.Only on my local, the generated code is giving me char[] instead of byte[] for patternDefinition, and ...]]></description>
                        <content:encoded><![CDATA[<p data-start="224" data-end="458"> </p>
785
786
<p data-start="224" data-end="458">Hello all,<br data-start="231" data-end="234" />I’m running into a strange compilation issue during bootstrap on <strong data-start="299" data-end="315">AZ-neo-3.12q</strong>.<br data-start="316" data-end="319" />Only on <strong data-start="327" data-end="339">my local</strong>, the generated code is giving me <code data-start="373" data-end="381">char[]</code> instead of <code data-start="393" data-end="401">byte[]</code> for <code data-start="406" data-end="425">patternDefinition</code>, and that leads to these errors:</p>
<div class="contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary">
<div class="sticky top-9">
<div class="absolute end-0 bottom-0 flex h-9 items-center pe-2">
<div class="bg-token-bg-elevated-secondary text-token-text-secondary flex items-center gap-4 rounded-sm px-2 font-sans text-xs"> </div>
</div>
</div>
<div class="overflow-y-auto p-4" dir="ltr"><code class="whitespace-pre!"><span>char<span class="hljs-selector-attr">[]</span> cannot be converted <span class="hljs-selector-tag">to</span> byte<span class="hljs-selector-attr">[]</span>
byte<span class="hljs-selector-attr">[]</span> cannot be converted <span class="hljs-selector-tag">to</span> char<span class="hljs-selector-attr">[]</span>
</span></code></div>
</div>
<p data-start="543" data-end="564">The errors come from:</p>
<ul data-start="565" data-end="698">
<li data-start="565" data-end="588">
<p data-start="567" data-end="588"><code data-start="567" data-end="588">RecurringDataHelper</code></p>
</li>
<li data-start="589" data-end="622">
<p data-start="591" data-end="622"><code data-start="591" data-end="622">SimpleRecurrencePatternHelper</code></p>
</li>
<li data-start="623" data-end="698">
<p data-start="625" data-end="698">and the model rows (<code data-start="645" data-end="668">SiteRecurrenceDataRow</code>, <code data-start="670" data-end="697">SiteRsrcRecurrenceDataRow</code>)</p>
</li>
</ul>
<p data-start="700" data-end="839">What’s confusing is — <strong data-start="722" data-end="759">my teammates don’t see this issue</strong>. Their codegen still produces <code data-start="790" data-end="798">byte[]</code>, but mine suddenly switched to <code data-start="830" data-end="838">char[]</code>.</p>
<p data-start="841" data-end="981">Has anyone seen this before?<br data-start="869" data-end="872" />Is there some local codegen/XSD/JAXB cache or config that could cause datatype differences during generation?</p>
<p data-start="983" data-end="1058">Any pointers on where to check or what to clean/reset would really help. &#x1f64f;</p>
<p data-start="983" data-end="1058"> </p>
<p data-start="983" data-end="1058">here are the logs </p>
<p data-start="983" data-end="1058"> </p>
<p>injectCode:</p>
<p>&nbsp;</p>
<p>compile:<br />     Compiling 6030 source files to C:\views\AZ-neo-3.12q\tomcat\deploy\one\WEB-INF\one_modules\one.jar<br />     C:\views\AZ-neo-3.12q\server\src\com\transcendsys\platform\server\vc\helper\RecurringDataHelper.java:177: error: incompatible types: char[] cannot be converted to byte[]<br />             patternDefinition = siteRecurrenceDataRow.getPatternDefinition();<br />                                                                           ^<br />     C:\views\AZ-neo-3.12q\server\src\com\transcendsys\platform\server\vc\helper\RecurringDataHelper.java:553: error: incompatible types: byte[] cannot be converted to char[]<br />         row.setPatternDefinition(getSimpleRecurrencePatternBytes(simpleRecurrencePattern));<br />                                                                 ^<br />     C:\views\AZ-neo-3.12q\server\src\com\transcendsys\platform\server\timeline\populator\SimpleRecurrencePatternHelper.java:42: error: incompatible types: char[] cannot be converted to byte[]<br />           byte[] xmlBytes = row.getPatternDefinition();<br />                                                     ^<br />     Note: Some input files use or override a deprecated API.<br />     Note: Recompile with -Xlint:deprecation for details.<br />     Note: Some input files use or override a deprecated API that is marked for removal.<br />     Note: Recompile with -Xlint:removal for details.<br />     Note: Some input files use unchecked or unsafe operations.<br />     Note: Recompile with -Xlint:unchecked for details.<br />     Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output<br />     3 errors</p>
<p>&nbsp;</p>
<p>BUILD FAILED<br />C:\views\INSTAN~1\ib-branches\Neo3.10-rb\build.xml:1340: The following error occurred while executing this line:<br />C:\views\INSTAN~1\ib-branches\Neo3.10-rb\build.xml:1361: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\install-staging\build.xml:1422: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\install-staging\build.xml:2827: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\install-staging\build.xml:2874: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\server\build.xml:211: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\server\build.xml:217: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\server\build.xml:993: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\server\PlatformCoreModels\build.xml:168: The following error occurred while executing this line:<br />C:\views\AZ-neo-3.12q\install-staging\build-macros.xml:43: Compile failed; see the compiler error output for details</p>
<p>&nbsp;</p>
<p>-------------------------<br />         FAILED<br />-------------------------</p>
<p data-start="983" data-end="1058"> </p>]]></content:encoded>
						                            <category domain="https://community.onenetwork.com/sdk-forum/">Developer Network Q&amp;A</category>                        <dc:creator>javamk</dc:creator>
                        <guid isPermaLink="true">https://community.onenetwork.com/sdk-forum/compilation-error-char-vs-byte-mismatch-for-getpatterndefinition-setpatterndefinition-during-bootstrap/#post-11678</guid>
                    </item>
							        </channel>
        </rss>
		