Really weird error, I cannot reproduce it. Is your Guvnor instance
running on localhost:8080? Are you using the designer version that ships
with jbpm-installer or something else?
Another thing to check is if you have any weird JavaScript restrictions
in your browser. In Guvnor when you create your bpmn2 process, use
Firebug (in FireFox) in the console tab type in:
frames[3].ORYX.EDITOR.getSerializedJSON()
and post the JSON that gets printed out.
Thanks.
On 6/20/11 7:09 PM, Dan Seaver wrote:
I'm attempting to use the Oryx designer in Guvnor, however I
can't seem to
save / redisplay any diagram. I've tried it with various configurations,
including using the jBPM demo, but always get the same results. After I save
the newly created BPMN diagram, the Oryx designer refreshes to a blank
diagram. The new diagram name is on the list of Guvnor processes (for the
default package), and when I try to open it, I get the same blank diagram.
After starting the jBPM demo (5.1.CR1), I see the h2 database started, jboss
started and the human task service started. The jboss log looks pretty clean
except for an SLF4J error and a mention that the persistence provider caller
for org.jbpm.persistence.jpa does not implement the ejb3 spec correctly.
Also, there is an error regarding the log4j FileAppender.
Then I goto Guvnor with FireFox (or Chrome or IE6) and create the new BPMN
process. I get the following message in the jboss log:
2011-06-20 16:00:05,288 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-3)
(null: -1, -1): Premature end of file.
Then I create the process with the designer:
2011-06-20 16:00:02,929 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-1)
SLF4J: Class path contains multiple SLF4J bindings.
2011-06-20 16:00:02,929 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-1)
SLF4J: Found binding in [vfszip:/D:/dev/Drools/jbpm
5.1.CR1/jbpm-installer/jboss-5.1.0.GA/common/lib/slf4j-jboss-logging.jar/org/slf4j/impl/StaticLoggerBinder.class]
2011-06-20 16:00:02,929 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-1)
SLF4J: Found binding in [vfszip:/D:/dev/Drools/jbpm
5.1.CR1/jbpm-installer/jboss-5.1.0.GA/server/default/deploy/designer.war/WEB-INF/lib/slf4j-jdk14-1.5.6.jar/org/slf4j/impl/StaticLoggerBinder.class]
2011-06-20 16:00:02,929 ERROR [STDERR] (http-localhost%2F127.0.0.1-8080-1)
SLF4J: See
http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
2011-06-20 16:00:03,242 INFO [org.oryxeditor.server.EditorHandler]
(http-localhost%2F127.0.0.1-8080-1) The diagram editor is running in
development mode. Javascript will be served uncompressed
2011-06-20 16:00:05,116 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-3)
INFO 20-06 16:00:05,116 (NilAuthenticator.java:authenticate:35) All users
are guests.
2011-06-20 16:00:05,288 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-3)
(null: -1, -1): Premature end of file.
and save:
2011-06-20 16:06:51,247 INFO [STDOUT] (http-localhost%2F127.0.0.1-8080-7)
ERROR 20-06 16:06:51,247 (LoggingHelper.java:error:69)
java.lang.NullPointerException
at java.net.URLEncoder.encode(URLEncoder.java:188)
at
org.drools.guvnor.server.contenthandler.BPMN2ProcessHandler.storeAssetContent(BPMN2ProcessHandler.java:129)
at
org.drools.guvnor.server.RepositoryAssetOperations.checkinVersion(RepositoryAssetOperations.java:187)
at
org.drools.guvnor.server.RepositoryAssetService.checkinVersion(RepositoryAssetService.java:227)
...
Anybody have any ideas on what could cause this on my system and how I may
be able to solve it? Any help would be appreciated.
--
View this message in context:
http://drools.46999.n3.nabble.com/Troubles-with-Oryx-designer-in-Guvnor-j...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users