Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generate source code problem #443

Open
Pingear opened this issue Jan 12, 2021 · 0 comments
Open

generate source code problem #443

Pingear opened this issue Jan 12, 2021 · 0 comments

Comments

@Pingear
Copy link

Pingear commented Jan 12, 2021

when i click generate source code, a large window pops up asking to create a issue.
Entitiy genetation works, but when i turn on Repository: CDI Repository and unchek "Generate Base App" it is crash(
I don't understand what the problem is. Here is the stack trace ->

Message : io.github.jeddict.docker.generator.DockerConfigData.lambda$getRuntimeProvider$2(DockerConfigData.java:87)

StackTrace :
java.lang.IllegalStateException
at io.github.jeddict.docker.generator.DockerConfigData.lambda$getRuntimeProvider$2(DockerConfigData.java:87)
at java.base/java.util.Optional.orElseThrow(Optional.java:408)
at io.github.jeddict.docker.generator.DockerConfigData.getRuntimeProvider(DockerConfigData.java:87)
at io.github.jeddict.docker.generator.DockerGenerator.preExecute(DockerGenerator.java:114)
at io.github.jeddict.jcode.generator.ApplicationGenerator.preGeneration(ApplicationGenerator.java:81)
at io.github.jeddict.jpa.modeler.source.generator.task.SourceCodeGeneratorTask.exportCode(SourceCodeGeneratorTask.java:123)
at io.github.jeddict.jpa.modeler.source.generator.task.SourceCodeGeneratorTask.begin(SourceCodeGeneratorTask.java:87)
at io.github.jeddict.jcode.task.AbstractNBTask.beginTask(AbstractNBTask.java:444)
at io.github.jeddict.jcode.task.AbstractNBTask.run(AbstractNBTask.java:84)
at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)

ModelerFile :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<entity-mappings ptype="MONOLITH" ppkg="zgroup" epkg="domain" v="5.4.4" rws="_161047178092931" cws="_161047178092931" persistenceUnitName="DEFAULT_PU" sm="false" xs="false" id="_161047178092930" xmlns:xs="https://www.w3.org/2001/XMLSchema" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance">
    <entity compositePrimaryKeyClass="Entity_1PK" abs="false" class="Entity_1" pclass="Entity_1" v="true" xre="false" m="false" rootElement="_161047178092930" id="_161047179069832">
        <ath>pinger</ath>
        <attributes>
            <basic attribute-type="String" v="true" xvt="" name="title" pname="attribute" id="_161047181157435">
                <xwm/>
                <xm/>
            </basic>
            <id attribute-type="Long" v="true" xvt="" name="id" id="_161047179070033">
                <xwm/>
                <xm/>
                <generated-value strategy="DEFAULT"/>
            </id>
        </attributes>
        <nq e="false" name="Entity_1.findAll">
            <query>Select e from Entity_1 e</query>
        </nq>
        <nq e="false" name="Entity_1.findByTitle">
            <query>Select e from Entity_1 e where e.title=:title</query>
        </nq>
    </entity>
    <wsl>
        <ws n="Main" id="_161047178092931">
            <i ref="_161047179069832" x="620" y="231"/>
        </ws>
    </wsl>
</entity-mappings>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant