mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-22 14:17:57 +01:00
Fix several import/export issues.
This commit is contained in:
parent
600bde0e15
commit
8e40ce9a18
@ -448,7 +448,6 @@
|
|||||||
<suiteXmlFiles>
|
<suiteXmlFiles>
|
||||||
<suiteXmlFile>testng.xml</suiteXmlFile>
|
<suiteXmlFile>testng.xml</suiteXmlFile>
|
||||||
</suiteXmlFiles>
|
</suiteXmlFiles>
|
||||||
<excludedGroups>WiseWebServicesGroup</excludedGroups>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
@ -124,11 +124,14 @@ public class FreemindExporter
|
|||||||
freemindNode.setID("ID_" + mindmapTopic.getId());
|
freemindNode.setID("ID_" + mindmapTopic.getId());
|
||||||
freemindNode.setTEXT(mindmapTopic.getText());
|
freemindNode.setTEXT(mindmapTopic.getText());
|
||||||
freemindNode.setBACKGROUNDCOLOR(mindmapTopic.getBgColor());
|
freemindNode.setBACKGROUNDCOLOR(mindmapTopic.getBgColor());
|
||||||
String style = "line"; // default style for freemind
|
|
||||||
if ("rounded rectagle".equals(mindmapTopic.getShape())) {
|
if (mindmapTopic.getShape() != null && !mindmapTopic.getShape().equals("line")) {
|
||||||
style = "bubble";
|
String style = mindmapTopic.getShape();
|
||||||
|
if ("rounded rectagle".equals(mindmapTopic.getShape())) {
|
||||||
|
style = "bubble";
|
||||||
|
}
|
||||||
|
freemindNode.setSTYLE(style);
|
||||||
}
|
}
|
||||||
freemindNode.setSTYLE(style);
|
|
||||||
addIconNode(freemindNode, mindmapTopic);
|
addIconNode(freemindNode, mindmapTopic);
|
||||||
addLinkNode(freemindNode, mindmapTopic);
|
addLinkNode(freemindNode, mindmapTopic);
|
||||||
addFontNode(freemindNode, mindmapTopic);
|
addFontNode(freemindNode, mindmapTopic);
|
||||||
|
@ -42,8 +42,7 @@ import java.util.*;
|
|||||||
import java.math.BigInteger;
|
import java.math.BigInteger;
|
||||||
|
|
||||||
public class FreemindImporter
|
public class FreemindImporter
|
||||||
implements Importer
|
implements Importer {
|
||||||
{
|
|
||||||
|
|
||||||
private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory;
|
private com.wisemapping.xml.mindmap.ObjectFactory mindmapObjectFactory;
|
||||||
private static final String POSITION_LEFT = "left";
|
private static final String POSITION_LEFT = "left";
|
||||||
@ -54,36 +53,36 @@ public class FreemindImporter
|
|||||||
private List<RelationshipType> relationships = null;
|
private List<RelationshipType> relationships = null;
|
||||||
private int currentId;
|
private int currentId;
|
||||||
|
|
||||||
public MindMap importMap(String mapName,String description,InputStream input) throws ImporterException {
|
public MindMap importMap(String mapName, String description, InputStream input) throws ImporterException {
|
||||||
|
|
||||||
final MindMap map;
|
final MindMap map;
|
||||||
mindmapObjectFactory = new com.wisemapping.xml.mindmap.ObjectFactory();
|
mindmapObjectFactory = new com.wisemapping.xml.mindmap.ObjectFactory();
|
||||||
try {
|
try {
|
||||||
final Map freemindMap = (Map) JAXBUtils.getMapObject(input,"com.wisemapping.xml.freemind");
|
final Map freemindMap = (Map) JAXBUtils.getMapObject(input, "com.wisemapping.xml.freemind");
|
||||||
|
|
||||||
final com.wisemapping.xml.mindmap.Map mindmapMap = mindmapObjectFactory.createMap();
|
final com.wisemapping.xml.mindmap.Map mindmapMap = mindmapObjectFactory.createMap();
|
||||||
mindmapMap.setVersion("pela");
|
mindmapMap.setVersion("pela");
|
||||||
currentId=0;
|
currentId = 0;
|
||||||
|
|
||||||
final Node centralNode = freemindMap.getNode();
|
final Node centralNode = freemindMap.getNode();
|
||||||
final TopicType centralTopic = mindmapObjectFactory.createTopicType();
|
final TopicType centralTopic = mindmapObjectFactory.createTopicType();
|
||||||
centralTopic.setId(String.valueOf(currentId++));
|
centralTopic.setId(String.valueOf(currentId++));
|
||||||
centralTopic.setCentral(true);
|
centralTopic.setCentral(true);
|
||||||
|
|
||||||
setNodePropertiesToTopic(centralTopic,centralNode);
|
setNodePropertiesToTopic(centralTopic, centralNode);
|
||||||
centralTopic.setShape(ShapeStyle.ELIPSE.getStyle());
|
centralTopic.setShape(ShapeStyle.ELIPSE.getStyle());
|
||||||
mindmapMap.getTopic().add(centralTopic);
|
mindmapMap.getTopic().add(centralTopic);
|
||||||
mindmapMap.setName(mapName);
|
mindmapMap.setName(mapName);
|
||||||
nodesMap = new HashMap<String, TopicType>();
|
nodesMap = new HashMap<String, TopicType>();
|
||||||
relationships = new ArrayList<RelationshipType>();
|
relationships = new ArrayList<RelationshipType>();
|
||||||
nodesMap.put(centralNode.getID(), centralTopic);
|
nodesMap.put(centralNode.getID(), centralTopic);
|
||||||
addTopicFromNode(centralNode,centralTopic);
|
addTopicFromNode(centralNode, centralTopic);
|
||||||
fixCentralTopicChildOrder(centralTopic);
|
fixCentralTopicChildOrder(centralTopic);
|
||||||
|
|
||||||
addRelationships(mindmapMap);
|
addRelationships(mindmapMap);
|
||||||
|
|
||||||
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
ByteArrayOutputStream out = new ByteArrayOutputStream();
|
||||||
JAXBUtils.saveMap(mindmapMap,out,"com.wisemapping.xml.mindmap");
|
JAXBUtils.saveMap(mindmapMap, out, "com.wisemapping.xml.mindmap");
|
||||||
|
|
||||||
map = new MindMap();
|
map = new MindMap();
|
||||||
map.setNativeXml(new String(out.toByteArray(), Charset.forName("UTF-8")));
|
map.setNativeXml(new String(out.toByteArray(), Charset.forName("UTF-8")));
|
||||||
@ -102,7 +101,7 @@ public class FreemindImporter
|
|||||||
|
|
||||||
private void addRelationships(com.wisemapping.xml.mindmap.Map mindmapMap) {
|
private void addRelationships(com.wisemapping.xml.mindmap.Map mindmapMap) {
|
||||||
List<RelationshipType> mapRelationships = mindmapMap.getRelationship();
|
List<RelationshipType> mapRelationships = mindmapMap.getRelationship();
|
||||||
for(RelationshipType relationship : relationships){
|
for (RelationshipType relationship : relationships) {
|
||||||
relationship.setId(String.valueOf(currentId++));
|
relationship.setId(String.valueOf(currentId++));
|
||||||
|
|
||||||
fixRelationshipControlPoints(relationship);
|
fixRelationshipControlPoints(relationship);
|
||||||
@ -126,97 +125,97 @@ public class FreemindImporter
|
|||||||
TopicType destTopicType = nodesMap.get(relationship.getDestTopicId());
|
TopicType destTopicType = nodesMap.get(relationship.getDestTopicId());
|
||||||
|
|
||||||
//Fix x coord
|
//Fix x coord
|
||||||
if(isOnLeftSide(srcTopic)){
|
if (isOnLeftSide(srcTopic)) {
|
||||||
String[] srcCtrlPoint = relationship.getSrcCtrlPoint().split(",");
|
String[] srcCtrlPoint = relationship.getSrcCtrlPoint().split(",");
|
||||||
int x = Integer.valueOf(srcCtrlPoint[0]) * -1;
|
int x = Integer.valueOf(srcCtrlPoint[0]) * -1;
|
||||||
relationship.setSrcCtrlPoint(x+","+srcCtrlPoint[1]);
|
relationship.setSrcCtrlPoint(x + "," + srcCtrlPoint[1]);
|
||||||
}
|
}
|
||||||
if(isOnLeftSide(destTopicType)){
|
if (isOnLeftSide(destTopicType)) {
|
||||||
String[] destCtrlPoint = relationship.getDestCtrlPoint().split(",");
|
String[] destCtrlPoint = relationship.getDestCtrlPoint().split(",");
|
||||||
int x = Integer.valueOf(destCtrlPoint[0]) * -1;
|
int x = Integer.valueOf(destCtrlPoint[0]) * -1;
|
||||||
relationship.setDestCtrlPoint(x+","+destCtrlPoint[1]);
|
relationship.setDestCtrlPoint(x + "," + destCtrlPoint[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
//Fix y coord
|
//Fix y coord
|
||||||
if(srcTopic.getOrder()%2!=0){ //Odd order.
|
if (srcTopic.getOrder() % 2 != 0) { //Odd order.
|
||||||
String[] srcCtrlPoint = relationship.getSrcCtrlPoint().split(",");
|
String[] srcCtrlPoint = relationship.getSrcCtrlPoint().split(",");
|
||||||
int y = Integer.valueOf(srcCtrlPoint[1]) * -1;
|
int y = Integer.valueOf(srcCtrlPoint[1]) * -1;
|
||||||
relationship.setSrcCtrlPoint(srcCtrlPoint[0]+","+y);
|
relationship.setSrcCtrlPoint(srcCtrlPoint[0] + "," + y);
|
||||||
}
|
}
|
||||||
if(destTopicType.getOrder()%2!=0){ //Odd order.
|
if (destTopicType.getOrder() % 2 != 0) { //Odd order.
|
||||||
String[] destCtrlPoint = relationship.getDestCtrlPoint().split(",");
|
String[] destCtrlPoint = relationship.getDestCtrlPoint().split(",");
|
||||||
int y = Integer.valueOf(destCtrlPoint[1]) * -1;
|
int y = Integer.valueOf(destCtrlPoint[1]) * -1;
|
||||||
relationship.setDestCtrlPoint(destCtrlPoint[0]+","+y);
|
relationship.setDestCtrlPoint(destCtrlPoint[0] + "," + y);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void fixCentralTopicChildOrder(TopicType centralTopic){
|
private void fixCentralTopicChildOrder(TopicType centralTopic) {
|
||||||
List<TopicType> topics = centralTopic.getTopic();
|
List<TopicType> topics = centralTopic.getTopic();
|
||||||
List<TopicType> leftTopics = new ArrayList<TopicType>();
|
List<TopicType> leftTopics = new ArrayList<TopicType>();
|
||||||
List<TopicType> rightTopics = new ArrayList<TopicType>();
|
List<TopicType> rightTopics = new ArrayList<TopicType>();
|
||||||
|
|
||||||
for (TopicType topic : topics){
|
for (TopicType topic : topics) {
|
||||||
if(isOnLeftSide(topic)){
|
if (isOnLeftSide(topic)) {
|
||||||
leftTopics.add(topic);
|
leftTopics.add(topic);
|
||||||
} else {
|
} else {
|
||||||
rightTopics.add(topic);
|
rightTopics.add(topic);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(leftTopics.size()>0){
|
if (leftTopics.size() > 0) {
|
||||||
int size = leftTopics.size();
|
int size = leftTopics.size();
|
||||||
int index = 0;
|
int index = 0;
|
||||||
int center = size/2;
|
int center = size / 2;
|
||||||
if(size %2==0){ //Even number, then place middle point in 1 index
|
if (size % 2 == 0) { //Even number, then place middle point in 1 index
|
||||||
index = 1;
|
index = 1;
|
||||||
center--;
|
center--;
|
||||||
}
|
}
|
||||||
int index2=index;
|
int index2 = index;
|
||||||
|
|
||||||
leftTopics.get(center).setOrder(index);
|
leftTopics.get(center).setOrder(index);
|
||||||
for(int i = center-1; i>=0; i--){
|
for (int i = center - 1; i >= 0; i--) {
|
||||||
if(index==0){
|
if (index == 0) {
|
||||||
index++;
|
index++;
|
||||||
}else{
|
} else {
|
||||||
index+=2;
|
index += 2;
|
||||||
}
|
}
|
||||||
leftTopics.get(i).setOrder(index);
|
leftTopics.get(i).setOrder(index);
|
||||||
}
|
}
|
||||||
index=index2;
|
index = index2;
|
||||||
for(int i = center+1; i<size; i++){
|
for (int i = center + 1; i < size; i++) {
|
||||||
if(index==1){
|
if (index == 1) {
|
||||||
index++;
|
index++;
|
||||||
}else{
|
} else {
|
||||||
index+=2;
|
index += 2;
|
||||||
}
|
}
|
||||||
leftTopics.get(i).setOrder(index);
|
leftTopics.get(i).setOrder(index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(rightTopics.size()>0){
|
if (rightTopics.size() > 0) {
|
||||||
int size = rightTopics.size();
|
int size = rightTopics.size();
|
||||||
int index = 0;
|
int index = 0;
|
||||||
int center = size/2;
|
int center = size / 2;
|
||||||
if(size %2==0){ //Even number, then place middle point in 1 index
|
if (size % 2 == 0) { //Even number, then place middle point in 1 index
|
||||||
index = 1;
|
index = 1;
|
||||||
center--;
|
center--;
|
||||||
}
|
}
|
||||||
int index2=index;
|
int index2 = index;
|
||||||
rightTopics.get(center).setOrder(index);
|
rightTopics.get(center).setOrder(index);
|
||||||
for(int i = center-1; i>=0; i--){
|
for (int i = center - 1; i >= 0; i--) {
|
||||||
if(index==0){
|
if (index == 0) {
|
||||||
index++;
|
index++;
|
||||||
}else{
|
} else {
|
||||||
index+=2;
|
index += 2;
|
||||||
}
|
}
|
||||||
rightTopics.get(i).setOrder(index);
|
rightTopics.get(i).setOrder(index);
|
||||||
}
|
}
|
||||||
index=index2;
|
index = index2;
|
||||||
for(int i = center+1; i<size; i++){
|
for (int i = center + 1; i < size; i++) {
|
||||||
if(index==1){
|
if (index == 1) {
|
||||||
index++;
|
index++;
|
||||||
}else{
|
} else {
|
||||||
index+=2;
|
index += 2;
|
||||||
}
|
}
|
||||||
rightTopics.get(i).setOrder(index);
|
rightTopics.get(i).setOrder(index);
|
||||||
}
|
}
|
||||||
@ -226,102 +225,88 @@ public class FreemindImporter
|
|||||||
private boolean isOnLeftSide(TopicType topic) {
|
private boolean isOnLeftSide(TopicType topic) {
|
||||||
String[] position = topic.getPosition().split(",");
|
String[] position = topic.getPosition().split(",");
|
||||||
int x = Integer.parseInt(position[0]);
|
int x = Integer.parseInt(position[0]);
|
||||||
return x<0;
|
return x < 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addTopicFromNode(Node mainNode, TopicType topic)
|
private void addTopicFromNode(Node mainNode, TopicType topic) {
|
||||||
{
|
|
||||||
final List<Object> freemindNodes = mainNode.getArrowlinkOrCloudOrEdge();
|
final List<Object> freemindNodes = mainNode.getArrowlinkOrCloudOrEdge();
|
||||||
TopicType currentTopic = topic;
|
TopicType currentTopic = topic;
|
||||||
int order = 0;
|
int order = 0;
|
||||||
for (Object freemindNode : freemindNodes) {
|
for (Object freemindNode : freemindNodes) {
|
||||||
|
|
||||||
if (freemindNode instanceof Node)
|
if (freemindNode instanceof Node) {
|
||||||
{
|
|
||||||
final Node node = (Node) freemindNode;
|
final Node node = (Node) freemindNode;
|
||||||
TopicType newTopic = mindmapObjectFactory.createTopicType();
|
TopicType newTopic = mindmapObjectFactory.createTopicType();
|
||||||
newTopic.setId(String.valueOf(currentId++));
|
newTopic.setId(String.valueOf(currentId++));
|
||||||
nodesMap.put(node.getID(), newTopic); //Lets use freemind id temporarily. This will be fixed when adding relationship to the map.
|
nodesMap.put(node.getID(), newTopic); //Lets use freemind id temporarily. This will be fixed when adding relationship to the map.
|
||||||
newTopic.setOrder(order++);
|
newTopic.setOrder(order++);
|
||||||
String url = node.getLINK();
|
String url = node.getLINK();
|
||||||
if (url != null)
|
if (url != null) {
|
||||||
{
|
|
||||||
final Link link = new Link();
|
final Link link = new Link();
|
||||||
link.setUrl(url);
|
link.setUrl(url);
|
||||||
newTopic.setLink(link);
|
newTopic.setLink(link);
|
||||||
}
|
}
|
||||||
if(POSITION_LEFT.equals(mainNode.getPOSITION())){
|
if (POSITION_LEFT.equals(mainNode.getPOSITION())) {
|
||||||
node.setPOSITION(POSITION_LEFT);
|
node.setPOSITION(POSITION_LEFT);
|
||||||
}
|
}
|
||||||
setNodePropertiesToTopic(newTopic, node);
|
setNodePropertiesToTopic(newTopic, node);
|
||||||
addTopicFromNode(node,newTopic);
|
addTopicFromNode(node, newTopic);
|
||||||
if (!newTopic.equals(topic))
|
if (!newTopic.equals(topic)) {
|
||||||
{
|
|
||||||
topic.getTopic().add(newTopic);
|
topic.getTopic().add(newTopic);
|
||||||
}
|
}
|
||||||
currentTopic = newTopic;
|
currentTopic = newTopic;
|
||||||
}
|
} else if (freemindNode instanceof Font) {
|
||||||
else if (freemindNode instanceof Font)
|
final Font font = (Font) freemindNode;
|
||||||
{
|
|
||||||
final Font font = (Font)freemindNode;
|
|
||||||
final String fontStyle = generateFontStyle(mainNode, font);
|
final String fontStyle = generateFontStyle(mainNode, font);
|
||||||
currentTopic.setFontStyle(fontStyle);
|
if (!fontStyle.isEmpty()) {
|
||||||
}
|
currentTopic.setFontStyle(fontStyle);
|
||||||
else if (freemindNode instanceof Edge)
|
}
|
||||||
{
|
} else if (freemindNode instanceof Edge) {
|
||||||
final Edge edge = (Edge)freemindNode;
|
final Edge edge = (Edge) freemindNode;
|
||||||
currentTopic.setBrColor(edge.getCOLOR());
|
currentTopic.setBrColor(edge.getCOLOR());
|
||||||
}
|
} else if (freemindNode instanceof Icon) {
|
||||||
else if (freemindNode instanceof Icon)
|
final Icon freemindIcon = (Icon) freemindNode;
|
||||||
{
|
|
||||||
final Icon freemindIcon = (Icon)freemindNode;
|
|
||||||
final com.wisemapping.xml.mindmap.Icon mindmapIcon = new com.wisemapping.xml.mindmap.Icon();
|
final com.wisemapping.xml.mindmap.Icon mindmapIcon = new com.wisemapping.xml.mindmap.Icon();
|
||||||
final String mindmapIconId = FreemindIconMapper.getMindmapIcon(freemindIcon.getBUILTIN());
|
final String mindmapIconId = FreemindIconMapper.getMindmapIcon(freemindIcon.getBUILTIN());
|
||||||
mindmapIcon.setId(mindmapIconId);
|
mindmapIcon.setId(mindmapIconId);
|
||||||
currentTopic.getIcon().add(mindmapIcon);
|
currentTopic.getIcon().add(mindmapIcon);
|
||||||
}
|
} else if (freemindNode instanceof Hook) {
|
||||||
else if (freemindNode instanceof Hook)
|
final Hook hook = (Hook) freemindNode;
|
||||||
{
|
|
||||||
final Hook hook = (Hook)freemindNode;
|
|
||||||
final com.wisemapping.xml.mindmap.Note mindmapNote = new com.wisemapping.xml.mindmap.Note();
|
final com.wisemapping.xml.mindmap.Note mindmapNote = new com.wisemapping.xml.mindmap.Note();
|
||||||
String textNote = hook.getText();
|
String textNote = hook.getText();
|
||||||
if (textNote == null) // It is not a note is a BlinkingNodeHook or AutomaticLayout Hook
|
if (textNote == null) // It is not a note is a BlinkingNodeHook or AutomaticLayout Hook
|
||||||
{
|
{
|
||||||
textNote = textNote != null ? textNote.replaceAll("\n","%0A") : EMPTY_NOTE;
|
textNote = textNote != null ? textNote.replaceAll("\n", "%0A") : EMPTY_NOTE;
|
||||||
mindmapNote.setText(textNote);
|
mindmapNote.setText(textNote);
|
||||||
currentTopic.setNote(mindmapNote);
|
currentTopic.setNote(mindmapNote);
|
||||||
}
|
}
|
||||||
}
|
} else if (freemindNode instanceof Richcontent) {
|
||||||
else if (freemindNode instanceof Richcontent)
|
|
||||||
{
|
|
||||||
final Richcontent content = (Richcontent) freemindNode;
|
final Richcontent content = (Richcontent) freemindNode;
|
||||||
final String type = content.getTYPE();
|
final String type = content.getTYPE();
|
||||||
|
|
||||||
if(type.equals("NODE")){
|
if (type.equals("NODE")) {
|
||||||
final String text = getText(content);
|
final String text = getText(content);
|
||||||
text.replaceAll("\n","");
|
text.replaceAll("\n", "");
|
||||||
text.trim();
|
text.trim();
|
||||||
currentTopic.setText(text);
|
currentTopic.setText(text);
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
String text = getRichContent(content);
|
String text = getRichContent(content);
|
||||||
final com.wisemapping.xml.mindmap.Note mindmapNote = new com.wisemapping.xml.mindmap.Note();
|
final com.wisemapping.xml.mindmap.Note mindmapNote = new com.wisemapping.xml.mindmap.Note();
|
||||||
text = text!= null ? text.replaceAll("\n","%0A") : EMPTY_NOTE;
|
text = text != null ? text.replaceAll("\n", "%0A") : EMPTY_NOTE;
|
||||||
mindmapNote.setText(text);
|
mindmapNote.setText(text);
|
||||||
currentTopic.setNote(mindmapNote);
|
currentTopic.setNote(mindmapNote);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
} else if (freemindNode instanceof Arrowlink) {
|
||||||
else if (freemindNode instanceof Arrowlink){
|
|
||||||
final Arrowlink arrow = (Arrowlink) freemindNode;
|
final Arrowlink arrow = (Arrowlink) freemindNode;
|
||||||
RelationshipType relationship = mindmapObjectFactory.createRelationshipType();
|
RelationshipType relationship = mindmapObjectFactory.createRelationshipType();
|
||||||
String destId = arrow.getDESTINATION();
|
String destId = arrow.getDESTINATION();
|
||||||
relationship.setSrcTopicId(mainNode.getID());
|
relationship.setSrcTopicId(mainNode.getID());
|
||||||
relationship.setDestTopicId(destId);
|
relationship.setDestTopicId(destId);
|
||||||
String[] inclination = arrow.getENDINCLINATION().split(";");
|
String[] inclination = arrow.getENDINCLINATION().split(";");
|
||||||
relationship.setDestCtrlPoint(inclination[0]+","+inclination[1]);
|
relationship.setDestCtrlPoint(inclination[0] + "," + inclination[1]);
|
||||||
inclination = arrow.getSTARTINCLINATION().split(";");
|
inclination = arrow.getSTARTINCLINATION().split(";");
|
||||||
relationship.setSrcCtrlPoint(inclination[0]+","+inclination[1]);
|
relationship.setSrcCtrlPoint(inclination[0] + "," + inclination[1]);
|
||||||
//relationship.setCtrlPointRelative(true);
|
//relationship.setCtrlPointRelative(true);
|
||||||
relationship.setEndArrow(!arrow.getENDARROW().toLowerCase().equals("none"));
|
relationship.setEndArrow(!arrow.getENDARROW().toLowerCase().equals("none"));
|
||||||
relationship.setStartArrow(!arrow.getSTARTARROW().toLowerCase().equals("none"));
|
relationship.setStartArrow(!arrow.getSTARTARROW().toLowerCase().equals("none"));
|
||||||
@ -336,13 +321,13 @@ public class FreemindImporter
|
|||||||
List<Element> elementList = content.getHtml().getAny();
|
List<Element> elementList = content.getHtml().getAny();
|
||||||
|
|
||||||
Element body = null;
|
Element body = null;
|
||||||
for(Element elem : elementList){
|
for (Element elem : elementList) {
|
||||||
if(elem.getNodeName().equals("body")){
|
if (elem.getNodeName().equals("body")) {
|
||||||
body = elem;
|
body = elem;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(body != null){
|
if (body != null) {
|
||||||
result = body.getTextContent();
|
result = body.getTextContent();
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
@ -353,33 +338,32 @@ public class FreemindImporter
|
|||||||
List<Element> elementList = content.getHtml().getAny();
|
List<Element> elementList = content.getHtml().getAny();
|
||||||
|
|
||||||
Element body = null;
|
Element body = null;
|
||||||
for(Element elem : elementList){
|
for (Element elem : elementList) {
|
||||||
if(elem.getNodeName().equals("body")){
|
if (elem.getNodeName().equals("body")) {
|
||||||
body = elem;
|
body = elem;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(body != null){
|
if (body != null) {
|
||||||
String textNode = buildTextFromChildren(body);
|
String textNode = buildTextFromChildren(body);
|
||||||
if(textNode!= null)
|
if (textNode != null)
|
||||||
result = textNode.trim();
|
result = textNode.trim();
|
||||||
|
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String buildTextFromChildren(org.w3c.dom.Node body) {
|
private String buildTextFromChildren(org.w3c.dom.Node body) {
|
||||||
StringBuilder text = new StringBuilder();
|
StringBuilder text = new StringBuilder();
|
||||||
NodeList childNodes = body.getChildNodes();
|
NodeList childNodes = body.getChildNodes();
|
||||||
for(int i=0; i< childNodes.getLength(); i++){
|
for (int i = 0; i < childNodes.getLength(); i++) {
|
||||||
org.w3c.dom.Node child = childNodes.item(i);
|
org.w3c.dom.Node child = childNodes.item(i);
|
||||||
if(child instanceof TextImpl){
|
if (child instanceof TextImpl) {
|
||||||
text.append(" ");
|
text.append(" ");
|
||||||
text.append(child.getTextContent());
|
text.append(child.getTextContent());
|
||||||
}
|
} else {
|
||||||
else{
|
|
||||||
String textElem = buildTextFromChildren(child);
|
String textElem = buildTextFromChildren(child);
|
||||||
if(textElem!=null && !textElem.equals("")){
|
if (textElem != null && !textElem.equals("")) {
|
||||||
text.append(textElem);
|
text.append(textElem);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -387,48 +371,45 @@ public class FreemindImporter
|
|||||||
return text.toString();
|
return text.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setNodePropertiesToTopic( com.wisemapping.xml.mindmap.TopicType mindmapTopic,com.wisemapping.xml.freemind.Node freemindNode)
|
private void setNodePropertiesToTopic(com.wisemapping.xml.mindmap.TopicType mindmapTopic, com.wisemapping.xml.freemind.Node freemindNode) {
|
||||||
{
|
|
||||||
mindmapTopic.setText(freemindNode.getTEXT());
|
mindmapTopic.setText(freemindNode.getTEXT());
|
||||||
mindmapTopic.setBgColor(freemindNode.getBACKGROUNDCOLOR());
|
mindmapTopic.setBgColor(freemindNode.getBACKGROUNDCOLOR());
|
||||||
|
|
||||||
final String shape = getShapeFormFromNode(freemindNode);
|
final String shape = getShapeFormFromNode(freemindNode);
|
||||||
mindmapTopic.setShape(shape);
|
mindmapTopic.setShape(shape);
|
||||||
int pos = 1;
|
int pos = 1;
|
||||||
if (POSITION_LEFT.equals(freemindNode.getPOSITION()))
|
if (POSITION_LEFT.equals(freemindNode.getPOSITION())) {
|
||||||
{
|
|
||||||
pos = -1;
|
pos = -1;
|
||||||
}
|
}
|
||||||
Integer orderPosition = mindmapTopic.getOrder() != null ? mindmapTopic.getOrder() : 0;
|
Integer orderPosition = mindmapTopic.getOrder() != null ? mindmapTopic.getOrder() : 0;
|
||||||
int position = pos * 200 + (orderPosition +1)*10;
|
int position = pos * 200 + (orderPosition + 1) * 10;
|
||||||
|
|
||||||
mindmapTopic.setPosition( position+","+200 * orderPosition);
|
mindmapTopic.setPosition(position + "," + 200 * orderPosition);
|
||||||
String fontStyle = generateFontStyle(freemindNode,null);
|
String fontStyle = generateFontStyle(freemindNode, null);
|
||||||
mindmapTopic.setFontStyle(fontStyle);
|
if (!fontStyle.isEmpty()) {
|
||||||
|
mindmapTopic.setFontStyle(fontStyle);
|
||||||
|
}
|
||||||
Boolean folded = Boolean.valueOf(freemindNode.getFOLDED());
|
Boolean folded = Boolean.valueOf(freemindNode.getFOLDED());
|
||||||
if(folded){
|
if (folded) {
|
||||||
mindmapTopic.setShrink(folded);
|
mindmapTopic.setShrink(folded);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private String generateFontStyle(Node node,Font font)
|
private String generateFontStyle(Node node, Font font) {
|
||||||
{
|
|
||||||
/*
|
/*
|
||||||
* MindmapFont format : fontName ; size ; color ; bold; italic;
|
* MindmapFont format : fontName ; size ; color ; bold; italic;
|
||||||
* eg: Verdana;10;#ffffff;bold;italic;
|
* eg: Verdana;10;#ffffff;bold;italic;
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
StringBuilder fontStyle = new StringBuilder();
|
final StringBuilder fontStyle = new StringBuilder();
|
||||||
if (font != null)
|
if (font != null) {
|
||||||
{
|
|
||||||
fontStyle.append(fixFontName(font));
|
fontStyle.append(fixFontName(font));
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
BigInteger bigInteger = (font.getSIZE()==null || font.getSIZE().intValue() < 8) ? BigInteger.valueOf(8) : font.getSIZE();
|
BigInteger bigInteger = (font.getSIZE() == null || font.getSIZE().intValue() < 8) ? BigInteger.valueOf(8) : font.getSIZE();
|
||||||
fontStyle.append(bigInteger);
|
fontStyle.append(bigInteger);
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
String color = node.getCOLOR();
|
String color = node.getCOLOR();
|
||||||
if(color!=null && !color.equals(""))
|
if (color != null && !color.equals("")) {
|
||||||
{
|
|
||||||
fontStyle.append(color);
|
fontStyle.append(color);
|
||||||
}
|
}
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
@ -442,44 +423,25 @@ public class FreemindImporter
|
|||||||
fontStyle.append(hasItalic ? ITALIC : null);
|
fontStyle.append(hasItalic ? ITALIC : null);
|
||||||
fontStyle.append(";");
|
fontStyle.append(";");
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
fontStyle.append(";");
|
|
||||||
fontStyle.append(";");
|
|
||||||
String color = node.getCOLOR();
|
|
||||||
if(color!=null && !color.equals(""))
|
|
||||||
{
|
|
||||||
fontStyle.append(color);
|
|
||||||
}
|
|
||||||
fontStyle.append(";");
|
|
||||||
fontStyle.append(";");
|
|
||||||
fontStyle.append(";");
|
|
||||||
}
|
|
||||||
|
|
||||||
return fontStyle.toString();
|
return fontStyle.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private String fixFontName(Font font)
|
private String fixFontName(Font font) {
|
||||||
{
|
|
||||||
String fontName = com.wisemapping.model.Font.ARIAL.getFontName(); // Default Font
|
String fontName = com.wisemapping.model.Font.ARIAL.getFontName(); // Default Font
|
||||||
if (com.wisemapping.model.Font.isValidFont(font.getNAME()))
|
if (com.wisemapping.model.Font.isValidFont(font.getNAME())) {
|
||||||
{
|
|
||||||
fontName = font.getNAME();
|
fontName = font.getNAME();
|
||||||
}
|
}
|
||||||
return fontName;
|
return fontName;
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getShapeFormFromNode(Node node)
|
private String getShapeFormFromNode(Node node) {
|
||||||
{
|
|
||||||
String shape = node.getSTYLE();
|
String shape = node.getSTYLE();
|
||||||
// In freemind a node without style is a line
|
// In freemind a node without style is a line
|
||||||
if ("bubble".equals(shape))
|
if ("bubble".equals(shape)) {
|
||||||
{
|
shape = ShapeStyle.ROUNDED_RETAGLE.getStyle();
|
||||||
shape= ShapeStyle.ROUNDED_RETAGLE.getStyle();
|
} else {
|
||||||
}
|
shape = ShapeStyle.LINE.getStyle();
|
||||||
else
|
|
||||||
{
|
|
||||||
shape=ShapeStyle.LINE.getStyle();
|
|
||||||
}
|
}
|
||||||
return shape;
|
return shape;
|
||||||
}
|
}
|
||||||
|
@ -55,7 +55,7 @@ PNG_EXPORT_FORMAT=Portable Network Graphics (PNG)
|
|||||||
SVG_EXPORT_FORMAT=Scalable Vector Graphics (SVG)
|
SVG_EXPORT_FORMAT=Scalable Vector Graphics (SVG)
|
||||||
PDF_EXPORT_FORMAT=Portable Document Format (PDF)
|
PDF_EXPORT_FORMAT=Portable Document Format (PDF)
|
||||||
IMG_EXPORT_FORMAT=Image File
|
IMG_EXPORT_FORMAT=Image File
|
||||||
FREEMIND_EXPORT_FORMAT = Freemind (version 0.8.0)
|
FREEMIND_EXPORT_FORMAT = Freemind (version 0.9.0)
|
||||||
|
|
||||||
FILE=File
|
FILE=File
|
||||||
FILE_URL=File URL
|
FILE_URL=File URL
|
||||||
|
@ -15,10 +15,3 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%--
|
|
||||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
_uacct = "UA-2347723-1";
|
|
||||||
urchinTracker();
|
|
||||||
</script>--%>
|
|
||||||
|
@ -1,15 +1,19 @@
|
|||||||
<map version="0.9.0">
|
<map version="0.9.0">
|
||||||
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
|
<!-- To view this file, download free mind mapping software FreeMind from http://freemind.sourceforge.net -->
|
||||||
<node CREATED="1299957724614" ID="ID_1257555991" MODIFIED="1299957854045" TEXT="This is the root node">
|
<node CREATED="1299957724614" ID="ID_1257555991" MODIFIED="1299957854045" TEXT="This is the root node">
|
||||||
<node CREATED="1299957744918" ID="ID_1422930763" MODIFIED="1299957853173" POSITION="right" TEXT="Child Level 1 Right 1"/>
|
<node CREATED="1299957744918" ID="ID_1422930763" MODIFIED="1299957853173" POSITION="right"
|
||||||
<node CREATED="1299957780229" ID="ID_144311076" MODIFIED="1299957963408" POSITION="left" TEXT="Child Level 1 Left 1">
|
TEXT="Child Level 1 Right 1"/>
|
||||||
<node CREATED="1299957789533" ID="ID_1332317829" MODIFIED="1299957906469" TEXT="Child Level 2 Left 11"/>
|
<node CREATED="1299957780229" ID="ID_144311076" MODIFIED="1299957963408" POSITION="left"
|
||||||
<node CREATED="1299957813629" ID="ID_655171350" MODIFIED="1299957910302" TEXT="Child Level 2 Left 12"/>
|
TEXT="Child Level 1 Left 1">
|
||||||
</node>
|
<node CREATED="1299957789533" ID="ID_1332317829" MODIFIED="1299957906469" TEXT="Child Level 2 Left 11"/>
|
||||||
<node CREATED="1299957842218" ID="ID_217430375" MODIFIED="1299957850272" POSITION="right" TEXT="Child Level 1 Right 2"/>
|
<node CREATED="1299957813629" ID="ID_655171350" MODIFIED="1299957910302" TEXT="Child Level 2 Left 12"/>
|
||||||
<node CREATED="1299957854506" ID="ID_1895272648" MODIFIED="1299957934625" POSITION="left" TEXT="Child Level 1 Left 2">
|
</node>
|
||||||
<node CREATED="1299957875229" ID="ID_1628175442" MODIFIED="1299957927173" TEXT="Child Level 2 Left 21 "/>
|
<node CREATED="1299957842218" ID="ID_217430375" MODIFIED="1299957850272" POSITION="right"
|
||||||
<node CREATED="1299957940222" ID="ID_1406492242" MODIFIED="1299957958013" TEXT="Child Level 2 Left 22"/>
|
TEXT="Child Level 1 Right 2"/>
|
||||||
</node>
|
<node CREATED="1299957854506" ID="ID_1895272648" MODIFIED="1299957934625" POSITION="left"
|
||||||
</node>
|
TEXT="Child Level 1 Left 2">
|
||||||
|
<node CREATED="1299957875229" ID="ID_1628175442" MODIFIED="1299957927173" TEXT="Child Level 2 Left 21 "/>
|
||||||
|
<node CREATED="1299957940222" ID="ID_1406492242" MODIFIED="1299957958013" TEXT="Child Level 2 Left 22"/>
|
||||||
|
</node>
|
||||||
|
</node>
|
||||||
</map>
|
</map>
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
||||||
<map version="0.9.0">
|
|
||||||
<node TEXT="This is the root node" STYLE="line" ID="ID_0">
|
|
||||||
<node TEXT="Child Level 1 Right 1" STYLE="line" ID="ID_1"/>
|
|
||||||
<node TEXT="Child Level 1 Left 1" STYLE="line" ID="ID_2">
|
|
||||||
<node TEXT="Child Level 2 Left 11" STYLE="line" ID="ID_3"/>
|
|
||||||
<node TEXT="Child Level 2 Left 12" STYLE="line" ID="ID_4"/>
|
|
||||||
</node>
|
|
||||||
<node TEXT="Child Level 1 Right 2" STYLE="line" ID="ID_5"/>
|
|
||||||
<node TEXT="Child Level 1 Left 2" STYLE="line" ID="ID_6">
|
|
||||||
<node TEXT="Child Level 2 Left 21 " STYLE="line" ID="ID_7"/>
|
|
||||||
<node TEXT="Child Level 2 Left 22" STYLE="line" ID="ID_8"/>
|
|
||||||
</node>
|
|
||||||
</node>
|
|
||||||
</map>
|
|
9
wise-webapp/src/test/data/freemind/test.xml
Normal file
9
wise-webapp/src/test/data/freemind/test.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<map version="pela" name="basic">
|
||||||
|
<topic id="0" central="true" position="210,0" shape="elipse" text="This is the root node">
|
||||||
|
<topic id="1" position="210,0" order="1" shape="line" text="Child Level 1 Right 1"/>
|
||||||
|
<topic id="2" position="-180,200" order="1" shape="line" text="Child Level 1 Left 1">
|
||||||
|
<topic id="5" position="230,400" order="2" shape="line" text="Child Level 1 Right 2"/>
|
||||||
|
<topic id="6" position="-160,600" order="2" shape="line" text="Child Level 1 Left 2">
|
||||||
|
</topic>
|
||||||
|
</map>
|
@ -1,4 +1,4 @@
|
|||||||
package wisemapping.test.freemind;
|
package com.wisemapping.test.freemind;
|
||||||
|
|
||||||
import com.wisemapping.exporter.ExportException;
|
import com.wisemapping.exporter.ExportException;
|
||||||
import com.wisemapping.exporter.freemind.FreemindExporter;
|
import com.wisemapping.exporter.freemind.FreemindExporter;
|
||||||
@ -12,8 +12,9 @@ import org.testng.annotations.Test;
|
|||||||
|
|
||||||
import java.io.*;
|
import java.io.*;
|
||||||
|
|
||||||
|
@Test
|
||||||
public class FreeMindExportTest {
|
public class FreeMindExportTest {
|
||||||
private static final String DATA_DIR_PATH = "wise-webapp/src/test/data/freemind/";
|
private static final String DATA_DIR_PATH = "src/test/data/freemind/";
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void exportImportExportTest() throws ImporterException, IOException, ExportException {
|
public void exportImportExportTest() throws ImporterException, IOException, ExportException {
|
||||||
@ -24,12 +25,13 @@ public class FreeMindExportTest {
|
|||||||
FileInputStream fileInputStream = new FileInputStream(new File(DATA_DIR_PATH, "basic.mm").getAbsolutePath());
|
FileInputStream fileInputStream = new FileInputStream(new File(DATA_DIR_PATH, "basic.mm").getAbsolutePath());
|
||||||
final MindMap mindMap = importer.importMap("basic", "basic", fileInputStream);
|
final MindMap mindMap = importer.importMap("basic", "basic", fileInputStream);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
final FreemindExporter freemindExporter = new FreemindExporter();
|
final FreemindExporter freemindExporter = new FreemindExporter();
|
||||||
FileOutputStream fos = new FileOutputStream(new File("wise-webapp/src/test/data/freemind/","basice.mm"));
|
FileOutputStream fos = new FileOutputStream(new File(DATA_DIR_PATH,"basice.mm"));
|
||||||
freemindExporter.export(mindMap,fos);
|
freemindExporter.export(mindMap,fos);
|
||||||
fos.close();
|
fos.close();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
10
wise-webapp/testng.xml
Normal file
10
wise-webapp/testng.xml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
|
||||||
|
|
||||||
|
<suite name="WiseMapping Java Tests" verbose="1">
|
||||||
|
|
||||||
|
<test name="FreeMind Import Export Tests">
|
||||||
|
<packages>
|
||||||
|
<package name="com.wisemapping.test.freemind"/>
|
||||||
|
</packages>
|
||||||
|
</test>
|
||||||
|
</suite>
|
704
wise-webapp/wisemapping.log
Normal file
704
wise-webapp/wisemapping.log
Normal file
@ -0,0 +1,704 @@
|
|||||||
|
2011-03-11 18:44:19,801 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.exceptions.MapFileCouldNotBeOpenedException: Map name can not opened:/Users/paulo/wise/wise-branchs/wise-webapp/src/test/keyboard.htm.mm
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:65)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 18:44:19,801 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.exceptions.MapFileCouldNotBeOpenedException: Map name can not opened:/Users/paulo/wise/wise-branchs/wise-webapp/src/test/keyboard.htm.mm
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:65)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 18:44:24,779 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.exceptions.MapFileCouldNotBeOpenedException: Map name can not opened:/Users/paulo/wise/wise-branchs/wise-webapp/src/test/firststeps.htm.mm
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:65)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 18:44:24,779 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.exceptions.MapFileCouldNotBeOpenedException: Map name can not opened:/Users/paulo/wise/wise-branchs/wise-webapp/src/test/firststeps.htm.mm
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:65)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 18:53:14,153 WARN org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/wise-webapp/c/home.htm] in DispatcherServlet with name 'wisemapping'
|
||||||
|
2011-03-11 20:42:30,819 WARN org.directwebremoting.impl.DefaultRemoter - Method execution failed:
|
||||||
|
java.lang.IllegalArgumentException: No Map could be found with id:-1488206157
|
||||||
|
at com.wisemapping.service.FreeMindFileToMapId.idToFile(FreeMindFileToMapId.java:33)
|
||||||
|
at com.wisemapping.dwr.MapEditorService.saveMap(MapEditorService.java:77)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:597)
|
||||||
|
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
|
||||||
|
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
|
||||||
|
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
|
||||||
|
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 20:42:30,918 WARN org.directwebremoting.dwrp.BaseCallMarshaller - --Erroring: batchId[0] message[java.lang.IllegalArgumentException: No Map could be found with id:-1488206157]
|
||||||
|
2011-03-11 20:42:30,927 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:42:30,927 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:42:30,933 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:42:30,933 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:42:30,934 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:42:30,934 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:42:32,037 WARN org.directwebremoting.impl.DefaultRemoter - Method execution failed:
|
||||||
|
java.lang.IllegalArgumentException: No Map could be found with id:-1488206157
|
||||||
|
at com.wisemapping.service.FreeMindFileToMapId.idToFile(FreeMindFileToMapId.java:33)
|
||||||
|
at com.wisemapping.dwr.MapEditorService.saveMap(MapEditorService.java:77)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:597)
|
||||||
|
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
|
||||||
|
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
|
||||||
|
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
|
||||||
|
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 20:42:32,038 WARN org.directwebremoting.dwrp.BaseCallMarshaller - --Erroring: batchId[2] message[java.lang.IllegalArgumentException: No Map could be found with id:-1488206157]
|
||||||
|
2011-03-11 20:42:32,046 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:42:32,046 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:42:32,049 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:42:32,049 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:42:32,049 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:42:32,049 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:46:55,880 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.exceptions.MapFileCouldNotBeOpenedException: Map file '/Users/paulo/wise/wise-branchs/wise-webapp/src/test/data/freemind/simple.mm' does not exists.
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:73)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 20:46:55,880 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.exceptions.MapFileCouldNotBeOpenedException: Map file '/Users/paulo/wise/wise-branchs/wise-webapp/src/test/data/freemind/simple.mm' does not exists.
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:73)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
2011-03-11 20:47:20,410 WARN org.directwebremoting.impl.DefaultRemoter - Method execution failed:
|
||||||
|
com.wisemapping.exporter.ExportException: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at com.wisemapping.exporter.freemind.FreemindExporter.export(FreemindExporter.java:109)
|
||||||
|
at com.wisemapping.dwr.MapEditorService.saveMap(MapEditorService.java:80)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:597)
|
||||||
|
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
|
||||||
|
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
|
||||||
|
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
|
||||||
|
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
Caused by: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:503)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
|
||||||
|
at com.wisemapping.util.JAXBUtils.getMapObject(JAXBUtils.java:35)
|
||||||
|
at com.wisemapping.exporter.freemind.FreemindExporter.export(FreemindExporter.java:62)
|
||||||
|
... 35 more
|
||||||
|
Caused by: org.xml.sax.SAXParseException: Premature end of file.
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
|
||||||
|
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
|
||||||
|
... 40 more
|
||||||
|
2011-03-11 20:47:20,424 WARN org.directwebremoting.dwrp.BaseCallMarshaller - --Erroring: batchId[0] message[com.wisemapping.exporter.ExportException: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]]
|
||||||
|
2011-03-11 20:47:20,439 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:47:20,439 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:47:20,439 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:47:20,439 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:47:20,440 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:47:20,440 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:48:56,827 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.importer.ImporterException: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:95)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.loadMindmap(MindmapFileLoaderController.java:95)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:77)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
Caused by: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:503)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
|
||||||
|
at com.wisemapping.util.JAXBUtils.getMapObject(JAXBUtils.java:35)
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:62)
|
||||||
|
... 31 more
|
||||||
|
Caused by: org.xml.sax.SAXParseException: Premature end of file.
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
|
||||||
|
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
|
||||||
|
... 36 more
|
||||||
|
2011-03-11 20:48:56,827 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.importer.ImporterException: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:95)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.loadMindmap(MindmapFileLoaderController.java:95)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:77)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
Caused by: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:503)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
|
||||||
|
at com.wisemapping.util.JAXBUtils.getMapObject(JAXBUtils.java:35)
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:62)
|
||||||
|
... 31 more
|
||||||
|
Caused by: org.xml.sax.SAXParseException: Premature end of file.
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
|
||||||
|
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
|
||||||
|
... 36 more
|
||||||
|
2011-03-11 20:56:46,312 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.importer.ImporterException: /Users/paulo/wise/wise-branchs/wise-webapp/src/test/data/freemind/basic.mm could not be imported.
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.loadMindmap(MindmapFileLoaderController.java:107)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:79)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
Caused by: com.wisemapping.importer.ImporterException: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:95)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.loadMindmap(MindmapFileLoaderController.java:97)
|
||||||
|
... 30 more
|
||||||
|
Caused by: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:503)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
|
||||||
|
at com.wisemapping.util.JAXBUtils.getMapObject(JAXBUtils.java:35)
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:62)
|
||||||
|
... 31 more
|
||||||
|
Caused by: org.xml.sax.SAXParseException: Premature end of file.
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
|
||||||
|
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
|
||||||
|
... 36 more
|
||||||
|
2011-03-11 20:56:46,312 ERROR com.wisemapping - Unexpected error on user 'anonymous ':
|
||||||
|
com.wisemapping.importer.ImporterException: /Users/paulo/wise/wise-branchs/wise-webapp/src/test/data/freemind/basic.mm could not be imported.
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.loadMindmap(MindmapFileLoaderController.java:107)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.handleRequestInternal(MindmapFileLoaderController.java:79)
|
||||||
|
at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
|
||||||
|
at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
|
||||||
|
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
|
||||||
|
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:928)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:549)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
Caused by: com.wisemapping.importer.ImporterException: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:95)
|
||||||
|
at com.wisemapping.controller.MindmapFileLoaderController.loadMindmap(MindmapFileLoaderController.java:97)
|
||||||
|
... 30 more
|
||||||
|
Caused by: javax.xml.bind.UnmarshalException
|
||||||
|
- with linked exception:
|
||||||
|
[org.xml.sax.SAXParseException: Premature end of file.]
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.createUnmarshalException(AbstractUnmarshallerImpl.java:315)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.createUnmarshalException(UnmarshallerImpl.java:503)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:204)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
|
||||||
|
at com.wisemapping.util.JAXBUtils.getMapObject(JAXBUtils.java:35)
|
||||||
|
at com.wisemapping.importer.freemind.FreemindImporter.importMap(FreemindImporter.java:62)
|
||||||
|
... 31 more
|
||||||
|
Caused by: org.xml.sax.SAXParseException: Premature end of file.
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:195)
|
||||||
|
at com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:174)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:388)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1414)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:1059)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
|
||||||
|
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
|
||||||
|
... 36 more
|
||||||
|
2011-03-11 20:58:45,133 WARN org.directwebremoting.impl.DefaultRemoter - Method execution failed:
|
||||||
|
com.wisemapping.exporter.ExportException: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"svg"). Expected elements are <{}map>,<{}relationship>,<{}topic>
|
||||||
|
at com.wisemapping.exporter.freemind.FreemindExporter.export(FreemindExporter.java:109)
|
||||||
|
at com.wisemapping.dwr.MapEditorService.saveMap(MapEditorService.java:77)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
||||||
|
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
|
||||||
|
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
|
||||||
|
at java.lang.reflect.Method.invoke(Method.java:597)
|
||||||
|
at org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
|
||||||
|
at org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
|
||||||
|
at org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
|
||||||
|
at org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
|
||||||
|
at org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
|
||||||
|
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1221)
|
||||||
|
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
|
||||||
|
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212)
|
||||||
|
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399)
|
||||||
|
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
|
||||||
|
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
|
||||||
|
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450)
|
||||||
|
at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
|
||||||
|
at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
|
||||||
|
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
|
||||||
|
at org.mortbay.jetty.Server.handle(Server.java:326)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
|
||||||
|
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756)
|
||||||
|
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
|
||||||
|
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
|
||||||
|
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:410)
|
||||||
|
at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
|
||||||
|
Caused by: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"svg"). Expected elements are <{}map>,<{}relationship>,<{}topic>
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.handleEvent(UnmarshallingContext.java:631)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:236)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportError(Loader.java:231)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.Loader.reportUnexpectedChildElement(Loader.java:105)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext$DefaultRootLoader.childElement(UnmarshallingContext.java:1038)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext._startElement(UnmarshallingContext.java:467)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallingContext.startElement(UnmarshallingContext.java:448)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.SAXConnector.startElement(SAXConnector.java:137)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:400)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl$NSContentDriver.scanRootElementHook(XMLNSDocumentScannerImpl.java:626)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:3103)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$PrologDriver.next(XMLDocumentScannerImpl.java:922)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
|
||||||
|
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
|
||||||
|
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
|
||||||
|
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal0(UnmarshallerImpl.java:200)
|
||||||
|
at com.sun.xml.internal.bind.v2.runtime.unmarshaller.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:173)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:137)
|
||||||
|
at javax.xml.bind.helpers.AbstractUnmarshallerImpl.unmarshal(AbstractUnmarshallerImpl.java:184)
|
||||||
|
at com.wisemapping.util.JAXBUtils.getMapObject(JAXBUtils.java:35)
|
||||||
|
at com.wisemapping.exporter.freemind.FreemindExporter.export(FreemindExporter.java:62)
|
||||||
|
... 35 more
|
||||||
|
2011-03-11 20:58:45,163 WARN org.directwebremoting.dwrp.BaseCallMarshaller - --Erroring: batchId[0] message[com.wisemapping.exporter.ExportException: javax.xml.bind.UnmarshalException: unexpected element (uri:"", local:"svg"). Expected elements are <{}map>,<{}relationship>,<{}topic>]
|
||||||
|
2011-03-11 20:58:45,171 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:58:45,171 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Anonymous user
|
||||||
|
2011-03-11 20:58:45,173 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:58:45,173 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - Browser:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
|
||||||
|
2011-03-11 20:58:45,173 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
||||||
|
2011-03-11 20:58:45,173 ERROR com.wisemapping.dwr.JavaScriptErrorLoggerService - ERROR - Error
|
||||||
|
|
1118
wise-webapp/wisemapping.log.1
Normal file
1118
wise-webapp/wisemapping.log.1
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user